Skip to main content
12-Amethyst
December 18, 2013
Question

Using OOTB import export framework

  • December 18, 2013
  • 0 replies
  • 1005 views

I'm doing export and import of Objects between two windchill systems by extending the default `ApplicationExportHandler` class.I'm using out of the box import export framework,by using `STANDARD_DTD` file.

The IX is happening without any issue.But apart from the OOTB options I need to export the comments for the iterated objects also.The method `obj.getIterationNote()` is giving me the comments written while iterating the object.How to pass those comments in the `newExporter` method?

Right now I have like this

IxbHelper.newExporter (this,container, IxbHelper.STANDARD_DTD,clientSettingsElement, null, actionName );

//gen set of items to export

WTHashSet objects = (WTHashSet) ObjectSetHelper.computeObjectSetForGivenGeneratorsAndFilters(generatorIds,generatorParams,filterIds,filterParams,container);

I have passed `policyFile` as null.Is there anything to add with policyFile?Also I tested the default import export management from GUI,it also not exporting comments.Can't find comments tag inside the exported xml file.Any suggestions for how to do this?Or Is there any other way to export the comments?