Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
Hi Team,
Is it possible export an appkey (or list of appkeys ) programmatically?
I would like to select all the appkeys by Tag and export them, but I didn't find any information
about how to do that.
If possible, how can I do it ?
Thanks in advance.
Solved! Go to Solution.
Hello,
Try this:
Resources["SourceControlFunctions"].ExportSourceControlledEntities( repositoryName: 'SystemRepository', path: 'appkey-export', tags: 'Applications:myTag' });
You'll find your AppKeys on the server filesystem: /ThingworxStorage/repository/SystemRepository/appkey-export/ApplicationKeys
/ Constantine
Hello,
Try this:
Resources["SourceControlFunctions"].ExportSourceControlledEntities( repositoryName: 'SystemRepository', path: 'appkey-export', tags: 'Applications:myTag' });
You'll find your AppKeys on the server filesystem: /ThingworxStorage/repository/SystemRepository/appkey-export/ApplicationKeys
/ Constantine