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

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

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

MichaelPantke
3-Visitor

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
Top Tags