I don't know they we've settled on a recommended method of putting ThingWorx applications under source control, but we've introduced functionality in 5.0 to make this possible. From Composer,
Source Control Entities. This functionality is similar to a standard export, however it will create directories for each entity type (e.g.
ThingTemplates, etc.) and a file for each entity. The files are exported to a
FileRepositoryand from there, you'll need to decide how you want to get them into a version control system.
I'm using version 5.0, but I don't see the option "Source Control Entities". The options I have are the "To File" and "To ThingworxStorage". Do I need to import an extension to see this option?
I recommend you upgrade to SP2 which has this available from the menu.
Hi Adam and Pai,
Thanks for your response, I must not have SP2, which is why I don't see it in the menu. I did find it under the SourceControlFunctions like you've both mentioned and it appears to be working that way.
Todd, 'Export to ThingworxStorage' would be your best option (with checking 'Include Data'). That would create an export under ThingworxStorage\exports\YYYY-MM-DD-TIME with your entities and data. Entities that use the persistence provider, like Streams, ValueStreams, DataTables etc. will have their own individual folder as well.