Eric ehansen4
Just my view, however this is a forum so someone else may have a better thought.
I am going to try and answer this differently first, by taking into Consideration what are the important inputs XPSExplorer would need to create a xcart file.
[A] Traversal Path or Sequence number of the Object.
or
[B] Object Name or XID.
- If we need to script XPSExplorer, one would need to know the Object XID or Sequencing in XPSExplorer menu beforehand, by some form. This in effect means one would need to check this manually beforehand. Hence you would need something manual before executing XPSExplorer script. I would recommend doing the XPSExport feed from XPSExplorer by script and leaving XPSExplorer in manual mode to generate the XCart file input for XPSExport.
- Another reason I wouldn't bother scripting XPSExplorer is by the design of the tool itself. The Menu's on the tool keeps changing with every release. Hence there is no definitive that if 98-AgentGroup would remain 98-AgentGroup in next release. You could check this for yourself by running XPSExplorer between different releases of SM (R12.0 / R12.5 / R12.51 / R12.52).
Lastly I think given the complexities, it may not be possible to fully script it and would incur manual intervention. I'd be better off generating the xcart files manually.
Regards
Hubert