2 Replies Latest reply on Jun 23, 2016 6:43 PM by pgupta-2 RSS
    pgupta-2 Apprentice

    Update service in Windchill Connector for Thingworx

    Has anyone explored Update service in Windchill connector? I am having hard time finding out how to update an object in Windchill. What syntax would work for modification parameter. Any pointers..

     

     

    var params = {

      modification: undefined /* STRING */,

      dataShape: undefined /* DATASHAPENAME */,

      objects: undefined /* INFOTABLE */

    };

     

     

    // result: INFOTABLE dataShape: "undefined"

    var result = me.Update(params);

      • Re: Update service in Windchill Connector for Thingworx
        ianban Creator

        Hi

         

        If you use the executeTask service, you can create a Windchill task that takes parameters and updates an object accordingly. Your task should be written to perform the whole update process within a single transaction.

         

        For passing the parameters in this case, you use the IEProperty datashape and create one row in the InfoTable for each parameter.

         

        Regards

         

        Ian