Hi All,
I am invoking the dfs service from standard Java call. I want to checkout the document and after checking it out the document should get opened for editing purposes as default operation of Edit.
I have written following code. Following code checks out the document succefully but dosen't open the document for editing. Please sugest the way out here!
ObjectIdentitySet objIdSet =
new ObjectIdentitySet(); objIdSet.getIdentities().add(objIdentity);
OperationOptions operationOptions =
new OperationOptions(); ContentProfile contentProfile =
new ContentProfile(FormatFilter.ANY, null, PageFilter.ANY, -1, PageModifierFilter.ANY, null); contentProfile.setPostTransferAction(
"dfs:edit"); operationOptions.setContentProfile(contentProfile);
operationOptions.setProfile(contentProfile);
resultDp =
versionControlService.checkout(objIdSet, operationOptions);
Regards,Nilesh