- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi,
Use a js activity with the code from that doc page.
Here's a simplified example from a library I wrote once that managed packaging and vcs:
var selectionExport = xtk.specFile.exportSelection(schema, <where>
<condition expr={condition}/>
</where>);
var f = new File(filepath);
f.open('w');
f.writeln('<package buildNumber="' + buildNumber + '" buildVersion="' + buildVersion + '">');
f.writeln(selectionExport.entities.toXMLString());
f.writeln('</package>');
f.close();The exportSelection() endpoint is in xtk:package.js btw if you want to see how it works.
Thanks,
-Jon
Views
Replies
0 Likes
Total Likes