Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
Hi Team,
Could anybody let me know how to export as well as import entities (single as well as multiple entities) using and PTC script?
Please share the snippet for both import and export (single as well as multiple entities)
Thanks in advance.
Solved! Go to Solution.
Hi @ranjank,
Here are some out-the-box APIs that can be used to import and export entities : ExportSourceControlledEntities, ExportSourceControlledEntitiesToZipFile, ImportSourceControlledEntities. They are available under the SourceControlFucntions resource.
Please refer also to SourceControlFunctions.
Hi @ranjank,
Here are some out-the-box APIs that can be used to import and export entities : ExportSourceControlledEntities, ExportSourceControlledEntitiesToZipFile, ImportSourceControlledEntities. They are available under the SourceControlFucntions resource.
Please refer also to SourceControlFunctions.
Thank you for your response. Appreciated!!
Also, may I know what is the name of api for exporting and importing specific entity both in .xml and .twx format.
Also if you let me know the api for data export and import for datatables, streams and valuestreams.
Hi @ranjank,
The APIs mentioned in my previous email are the ones available in ThingWorx. They do import/export from/to XML only though.
Note that you can also export/import using REST API : Manually Importing and Exporting.
Hi @ranjank.
If you feel your question has been answered, please mark the appropriate response as the Accepted Solution for the benefit of others with the same question.
Regards.
--Sharon