0 Replies Latest reply on Jun 16, 2017 6:17 AM by cpanelli RSS
    cpanelli Newbie

    Infotable for GetVersionHistory

    Hi,

     

    Starting from a wt part's ufid I want to get the other versions of it.

    I thought to use the GetVersionHistory.

    Here is the snippet code I found:

     

    var params = {
     ufids: undefined /* INFOTABLE */,
     dataShape: undefined /* DATASHAPENAME */
    };
    // result: INFOTABLE
    var Result = Things["ptc-windchill-demo-thing"].GetVersionHistory(params);
    

     

    How the ufids infotable have to be build ?

    I mean, is it ok an infotable called generically UfidsInfoTable containing only one field where I'll insert the wt part's ufid ?

     

    Thanks and Regards,