How can move pdf-relations to a new cabinet
Hello ....
How can move pdf-relations to a new cabinet
Code |
---|
public void TransformationToPDF(string documentumId) jobTicket.Profile = profileService.GetProfileByName(_repository, "optimizePDF_adts"); jobTicket.Profile.Parameters[0].name = "doc_token_PrintType"; jobTicket.Profile.Parameters[0].value = "No"; jobTicket.Profile.Parameters[1].name = "doc_token_NoteIcons"; jobTicket.ParamProperties = jobTicket.Profile.Parameters; jobTicket.sourceObjectId = documentumId; jobId = transformationService.AddJob(jobTicket); bool flag = false; public bool sentinel(ObjectIdentity jobTicket) return false; public void MoveFile(string documentumId, string sourcePath, string targetPath) try
ObjectIdentitySet objectIdentitySet = new ObjectIdentitySet(GetDataPackage(documentumId).DataObjects[0].Identity); ObjectPath sourceObjectPath = new ObjectPath(sourcePath);
ObjectPath targetObjectPath = new ObjectPath(targetPath); OperationOptions operationOptions = null; objectService.Move(objectIdentitySet, sourceObjectLocation, targetObjectLocation, new DataPackage(), operationOptions); <---- here error |
is sent to convert the file to pdf, where the status this "completed", moved pdf-relations to a new cabinet...
Exception |
---|
InnerException = {"\"Move\" operation failed for object: 06000001800196ce."} Message = "Service method \"Move\" invocation failed." StackTrace = "at Emc.Documentum.FS.Runtime.Context.Impl.ClientReflectionServiceInvoker.Invoke(Object proxy, MethodInfo method, Object[] args) at Emc.Documentum.FS.Runtime.Context.Impl.SoapClientInvocationHandler.Invoke(Object proxy, MethodInfo method, Object[] ... |
Categories
- All Categories
- 108 Developer Announcements
- 53 Articles
- 106 General Questions
- 145 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 899 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 120 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management