I am trying to get user comment from Components in folder using the core service. This should be available something like:
componentData.VersionInfo.UserComment().ToString();
where componentData
is:
XElement componentListElement = client.GetListXml("folderTCM", filter);
foreach (XElement organisationItem in componentListElement.Elements())
{
var data = client.Read(organisationItem.FirstAttribute.Value, new ReadOptions());
var componentData = new ComponentData();
componentData = (ComponentData)data;
}
The UserComment()
function does not exist. Has anyone tried to get the user comments from a component?