0 Replies Latest reply on Dec 1, 2016 7:30 PM by hpark-3 RSS
    hpark-3 Newbie

    how to use Windchill Extension Api (Query)

    Hi Experties.

     

    I am trying to use some of API in Windchill extension like Create, AddContents and Query services on WindchillConnector thing but I coundn't get any related document except the simple WCTWXExtension guide which is not enough to understand it.

    Especially, I am trying to use Query service with sort. u guys know any Idea?

    the snippets shows me fallowing script but  i don't know how to fill in the criteria section for sort. 

     

    var params = {

      containerUfid: undefined /* STRING */,

      criteria: navigationCriteria /* STRING */,  //  ex name = 'xxx*' & comment = 'xxx*' 

      type: "wt.doc.WTDocument" /* STRING */,

      dataShape: "Document Data Shape" /* DATASHAPENAME */

    };

    var result = me.Query(params);

     

    please help me or let me know any document that i could read.

    Many Thanks .

     

    Hee Park.