Skip to main content
1-Visitor
September 3, 2014
Question

Version Control

  • September 3, 2014
  • 3 replies
  • 5202 views

Hi,

Does Thingworx have any version control capabilities or what would be the recommended way of backing up different versions of content and restoring?

Thanks.

    3 replies

    5-Regular Member
    September 5, 2014

    Hi Victor,

    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,

    Import/Export

     →

    Source Control Entities

    . This functionality is similar to a standard export, however it will create directories for each entity type (e.g.

    Things

    ,

    ThingTemplates

    , etc.) and a file for each entity. The files are exported to a

    FileRepository

     and from there, you'll need to decide how you want to get them into a version control system.


    Regards,

    Adam



    victorgan1-VisitorAuthor
    1-Visitor
    September 8, 2014

    Hi Adam,

    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?

    5-Regular Member
    September 8, 2014

    Victor,

    Are you using a 5.0 SP2? I've confirmed this menu item is available in 5.0 SP2. If you're unable to upgrade at the moment, you can access this functionality as Services (available from the Snippets tab under SourceControlFunctions) to programmatically export entities for source control.

    1-Visitor
    August 5, 2016

    we have been using TW 6 and we want maintain TW code (services code) into version control.Could you please help us.

    1-Visitor
    September 29, 2016

    ThingWorx Applications Version Controlling with SVN can be done by using attached document.