Cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

SOA - PLMXML Export Format

Experimenter
Experimenter

Hello, 

 

When running the following method I am able to successfully generate a plmxml file. My question is how do I format this file? Using Tc utilities, you can call bomwriter and tell it how to format the exported plmxml file. Looking for an SOA method that can do this as well. Thanks! 

 

Current Code: 

 

ApplicationRef[] refId = new ApplicationRef[]{ new ApplicationRef() };
Configuration conf = new Configuration();

// plmxmlConfig.id = mode;
conf.rulename = "Latest Working";
conf.useDefaultRevisionRule = true;


refId[0].application = "Teamcenter";
refId[0].label = itemID;
refId[0].version = "";



GenerateStructureResponse plmxmlResp = aiService.generateStructure(refId, "ConfiguredDataExportDefault", conf, 4);

fUtility.getTransientFile(plmxmlResp.ticket, "c:/temp/export/"+fileName+".plmxml");

 

1 REPLY 1

Re: SOA - PLMXML Export Format (Solved)

Experimenter
Experimenter

I resolved this issue by updating the transfer type value. Look in Tc. Export a file manually. In there you will see the transfer type options that can be used in this method.