2 Replies Latest reply on Nov 2, 2016 1:12 AM by magrawal RSS
    magrawal Apprentice

    How to Create Data Table Dynamically?

    Hi Everyone,


    I needs to create data table through service. So to perform this I used the createThing snippet of Thingworx as following:


    I added a input parameter "Thing_Name" in my service.


    var params = {

      name: Thing_Name/* STRING */,

      description: undefined /* STRING */,

      thingTemplateName: "DataTable" /* THINGTEMPLATENAME */,

      tags: undefined /* TAGS */




    // no return



    By the above code my Data table is created but What about datashape? How to add it dyamically at the time of Data table creation?

    If anyone has idea about it Please help.