cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Unable to set target path to document links while importing file to IBM Doors Database in JAVA API

MichaelPantke
3-Newcomer

Unable to set target path to document links while importing file to IBM Doors Database in JAVA API

In Remote API  reference document page 17 topic 'Define path to document and links'. here

I am using PTC Integrity Requirements Connector (IRC) v 3.4
While importing document ( xml and reqif files into doors database) I am trying to set Target-Path for links (of document). 

// check document in the configuration and set the target path
IRemoteImportDocument[] docs = configuration.getImportDocuments();
for (IRemoteImportDocument doc : docs){
doc.setTargetPath(targetPath);
doc.getRelationGroups()[0].setTargetPath(targetPath);   // here I am not able to set the path , I am getting error :
Exception : com.atego.exerpt.exchange.remote.communication.core.DisabledException: The option 'target path' of import relation group 'DOORS Links' is disabled and cannot be changed.
2020-03-03 11:26:00 ERROR - Failed to import documents.

}


0 REPLIES 0
Announcements


Top Tags