Version comments for a Documentum object
Retrieving the version comments of a Documentum SysObject is an easy task:
private static string GetVersionsComment(IDfSysObject dfObj)
{
StringBuilder sb = new StringBuilder();
if (dfObj.getVersionLabelCount() > 0)
{
for (int i = 0; i < dfObj.getVersionLabelCount(); i++)
{
string versionLabel = dfObj.getVersionLabel(i);
sb.AppendLine(versionLabel);
}
sb.AppendLine(dfObj.getLogEntry());
}
return sb.ToString().Trim();
}
Labels: .net, development, Documentum
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home