4 Replies Latest reply on Feb 6, 2017 10:31 PM by lwei RSS
    lwei Explorer

    Data export

    Hi everyone,

      My Thingworx server is not on my local PC, it is located in somewhere else.

    Is there any methods that I can save those data in DataTable and Stream into files?

      • Re: Data export
        Ankit Gupta Ninja

        Hi Lee Wei, Yes, you can take an export of the ThingWorx data by just accessing the URL.

        If you are looking for export of single DataTable or Stream. You can download the export to local System Directly.

        If you are looking to Export multiple files; you can first export the files to repository and then create a Mashup to download the files from Repository to your local system.


        I Hope it Helps.



        Ankit Gupta

        • Re: Data export
          supandey Collaborator

          Hi Lee,


          Is it correct understanding that you kind of want to "download" all the data that you have created/stored in DataTable and Streams locally from the ThingWorx Server? What kind of Database is used as Persistence Provider for ThingWorx?

          • Re: Data export
            aanjan Heavyweight Champ

            Lee, if you are trying to export DataTables, Streams or ValueStreams, the standard export (on that entity) will only give you the entity itself, and not the data.


            If you want the data to be downloadable as well, what you need to do is do an 'Export to File' (for data) via Import/ Export, save that to your File Repository, open that File Repository Thing, run the 'CreateZipArchive' to create a zip of the folder that just got created, and then download it with a service like 'GetFileListingWithLinks'.