Skip to main content
February 21, 2017
Solved

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

  • February 21, 2017
  • 1 reply
  • 16966 views

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

Best answer by jamesm1

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

1 reply

jamesm15-Regular MemberAnswer
5-Regular Member
February 21, 2017

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

February 21, 2017

Thanks !