cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Unable To Convert From org.mozilla.javascript.UniqueTag to INFOTABLE

cpanelli1
1-Visitor

Unable To Convert From org.mozilla.javascript.UniqueTag to INFOTABLE

Hello,

I'm trying, from a service, to run this code:

var params = {
containerUfid: undefined /* STRING */,
criteria: "name=32344444" /* STRING */,
type: "wt.part.WTPart" /* STRING */,
dataShape: demo.wt.part.WTPart" /* DATASHAPENAME */
};

// result: INFOTABLE
var Result = Things["ptc-windchill-demo-thing"].Query(params);

The error message I receive is: "Unable To Convert From org.mozilla.javascript.UniqueTag to INFOTABLE".

I defined as service's output

base type: INFOTABLE

data shape: demo.wt.part.WTPart

What am I doing wrong ?

Thanks

ACCEPTED SOLUTION

Accepted Solutions
jamesm1
12-Amethyst
(To:cpanelli1)

Change Result to use a lower case r, this should resolve the issue.

View solution in original post

2 REPLIES 2
jamesm1
12-Amethyst
(To:cpanelli1)

Change Result to use a lower case r, this should resolve the issue.

Thanks !

Announcements


Top Tags