开发者

Include Version Labels when exporting via DFC (Documentum)

开发者 https://www.devze.com 2023-04-01 10:26 出处:网络
I am exporting a document that has the following version labels: \"V1, CURRENT, 1.2\" But my exported XML document only includes this text: dctm:version_label=\"CURRENT\".

I am exporting a document that has the following version labels: "V1, CURRENT, 1.2"

But my exported XML document only includes this text: dctm:version_label="CURRENT".

Anyone know how I can export all of the version labels into the XML? I am using the following code:

IDfExportOperation exportOperation = clientx.getExportOperation();
exportOperation.setDestinationDirectory(exportDirectory);
IDf开发者_如何转开发ExportNode node = (IDfExportNode) exportOperation.add(myVirtDoc.asVirtualDocument("CURRENT",false));



exportOperation.setIncludeDCTMAttrsInXML(true);


node.setFormat("");
exportOperation.execute();

Thank you.


There is no OOTB feature for this. I had to grab the attributes then open up the exported XML and stick them in.

0

精彩评论

暂无评论...
验证码 换一张
取 消