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 fetch Windchill Data in Thingworx Mashup

ssg1
1-Newbie

Unable to fetch Windchill Data in Thingworx Mashup

Hi,

I have configured Thingworx6 with Windchill , using Windchill extension 1.0.0 .

Single Signon is working fine using same as Windchill Login. I have set the url in Windchill connector thing

The problem None of the Windchill mashups are able to fetch the contents even though data exists is Windchill .

PFA files and let me know your inputs

Error:

18:10:19 ERROR - Runtime exception handling data update for binding {"SourceArea":"UI","TargetArea":"UI","TargetSection":"","SourceId":"InfotableSelector-64","SourceSection":"","Id":"a9c28e70-0cba-4d61-9399-d13e9bf20c03","PropertyMaps":[{"SourcePropertyType":"Property","TargetProperty":"SelectRowNumber","TargetPropertyType":"property","SourcePropertyBaseType":"INTEGER","TargetPropertyBaseType":"NUMBER","SourceProperty":"SelectRowNumber"}],"TargetId":"TreeTable-61","isBoundToSelectedRows":false,"SourceDetails":"AllData"} Exception: scope is undefined on line number 41279 in file CombinedExtensions.20160220_165644.js

18:10:19 ERROR - Runtime exception handling data update for binding {"SourceArea":"UI","TargetArea":"UI","TargetSection":"","SourceId":"InfotableSelector-64","SourceSection":"","Id":"3e2ee620-f9e2-4615-a168-9edc5b398c90","PropertyMaps":[{"SourcePropertyType":"Property","TargetProperty":"MultiSelectRowNumbers","TargetPropertyType":"property","SourcePropertyBaseType":"INFOTABLE","TargetPropertyBaseType":"INFOTABLE","SourceProperty":"MultiSelectRowNumbers"}],"SourceDetails":"AllData","TargetId":"TreeTable-61","isBoundToSelectedRows":false} Exception: scope is undefined on line number 41279 in file CombinedExtensions.20160220_165644.js

18:10:19 ERROR - exception executing binding {"SourceArea":"Mashup","TargetArea":"UI","TargetSection":"","SourceId":"mashup-root","SourceSection":"","Id":"47fcbac4-bd2d-45b6-87f7-10b42920237b","PropertyMaps":[{"SourcePropertyType":"Field","TargetProperty":"partName","TargetPropertyType":"property","SourcePropertyBaseType":"STRING","TargetPropertyBaseType":"STRING","SourceProperty":"bomData[SelectedRows].name"}],"SourceDetails":"AllData","TargetId":"Expression-67","isBoundToSelectedRows":false} Exception: rawInfotable.dataShape is undefined on line number 43577 in file Combined.6.0.0-b26.20150324.044236.00785.js

18:10:19 ERROR - exception executing binding {"SourceArea":"Mashup","TargetArea":"UI","TargetSection":"","SourceId":"mashup-root","SourceSection":"","Id":"874019d2-30fa-4dfd-9975-dd53ba616a48","PropertyMaps":[{"SourcePropertyType":"Field","TargetProperty":"partNumberToLoad","TargetPropertyType":"property","SourcePropertyBaseType":"STRING","TargetPropertyBaseType":"STRING","SourceProperty":"bomData[SelectedRows].number"}],"SourceDetails":"AllData","TargetId":"Navigation-68","isBoundToSelectedRows":false} Exception: rawInfotable.dataShape is undefined on line number 43577 in file Combined.6.0.0-b26.20150324.044236.00785.js

18:10:19 ERROR - exception executing binding {"SourceArea":"Mashup","TargetArea":"UI","TargetSection":"","SourceId":"mashup-root","SourceSection":"","Id":"47fcbac4-bd2d-45b6-87f7-10b42920237b","PropertyMaps":[{"SourcePropertyType":"Field","TargetProperty":"partName","TargetPropertyType":"property","SourcePropertyBaseType":"STRING","TargetPropertyBaseType":"STRING","SourceProperty":"bomData[SelectedRows].name"}],"SourceDetails":"AllData","TargetId":"Expression-67","isBoundToSelectedRows":false} Exception: rawInfotable.dataShape is undefined on line number 43577 in file Combined.6.0.0-b26.20150324.044236.00785.js

18:10:19 ERROR - exception executing binding {"SourceArea":"Mashup","TargetArea":"UI","TargetSection":"","SourceId":"mashup-root","SourceSection":"","Id":"874019d2-30fa-4dfd-9975-dd53ba616a48","PropertyMaps":[{"SourcePropertyType":"Field","TargetProperty":"partNumberToLoad","TargetPropertyType":"property","SourcePropertyBaseType":"STRING","TargetPropertyBaseType":"STRING","SourceProperty":"bomData[SelectedRows].number"}],"SourceDetails":"AllData","TargetId":"Navigation-68","isBoundToSelectedRows":false} Exception: rawInfotable.dataShape is undefined on line number 43577 in file Combined.6.0.0-b26.20150324.044236.00785.js

18:10:19 ERROR - exception pupulating parameter for data binding within trigger for dataBinding {"SourceArea":"UI","TargetArea":"Data","TargetSection":"Things_ptc-windchill-demo-thing","SourceId":"CreoView-56","SourceSection":"","Id":"dca9c254-7cd9-40b4-88fa-b900a87370e7","PropertyMaps":[{"TargetProperty":"occurrencePathFilter","TargetPropertyType":"Parameter","SourcePropertyBaseType":"STRING","TargetPropertyBaseType":"STRING","SourceProperty":"selectedOccurrencePath"}],"TargetId":"GetPartStructureByNumber3","isBoundToSelectedRows":false,"SourceDetails":"AllData"} Exception: singleValue is null on line number 43741 in file Combined.6.0.0-b26.20150324.044236.00785.js

18:10:19 ERROR - exception pupulating parameter for data binding within trigger for dataBinding {"SourceArea":"Mashup","TargetArea":"Data","TargetSection":"Things_ptc-windchill-demo-thing","SourceId":"mashup-root","SourceSection":"","Id":"b173db99-941f-4bfc-82f8-77ab1cdd9896","PropertyMaps":[{"TargetProperty":"occurrencePathFilterFromTree","TargetPropertyType":"Parameter","SourcePropertyBaseType":"STRING","TargetPropertyBaseType":"STRING","SourceProperty":"bomData[SelectedRows].treeId"}],"SourceDetails":"AllData","TargetId":"GetPartStructureByNumber3","isBoundToSelectedRows":false} Exception: rawInfotable.dataShape is undefined on line number 43577 in file Combined.6.0.0-b26.20150324.044236.00785.js

18:10:40 WARN - Data Bindings have a loop in them (nEntries:1) ...

18:10:40 WARN - 0: "UI,RadioButton-70,,AllData SelectedValue --> Mashup,,mashup-root tree"

18:10:40 WARN - 1: "Mashup,mashup-root,,AllData tree --> UI,,RadioButton-70 SelectedValue"

18:10:40 WARN - cur: "UI,RadioButton-70,,AllData SelectedValue --> Mashup,,mashup-root tree"

18:10:41 WARN - Data Bindings have a loop in them (nEntries:1) ...

18:10:41 WARN - 0: "UI,RadioButton-70,,AllData SelectedValue --> Mashup,,mashup-root tree"

18:10:41 WARN - 1: "Mashup,mashup-root,,AllData tree --> UI,,RadioButton-70 SelectedValue"

18:10:41 WARN - cur: "UI,RadioButton-70,,AllData SelectedValue --> Mashup,,mashup-root tree"

18:10:42 ERROR - Error in invoking service Things_ptc-windchill-demo-thing, GetPartStructureByNumber, Things, ptc-windchill-demo-thing, Services, GetPartStructureByNumber. Error from the server: "Wrapped com.ptc.connected.plm.thingworx.JSONServerException: JSON Server error HTTP 400 typeId is required Cause: JSON Server error HTTP 400 typeId is required"

18:10:43 ERROR - Error in invoking service Things_ptc-windchill-demo-thing, GetCreoViewDataWrapped, Things, ptc-windchill-demo-thing, Services, GetCreoViewDataWrapped. Error from the server: "Wrapped com.ptc.connected.plm.thingworx.JSONServerException: JSON Server error HTTP 400 typeId is required Cause: JSON Server error HTTP 400 typeId is required"

3 REPLIES 3
ssg1
1-Newbie
(To:ssg1)

I have set the access for users and admin.

mchehaibi
5-Regular Member
(To:ssg1)

Hi Sugunasagar,

What Version of Windchill are you using ?

Also are you using the Demo Thingworx-Windchill connectivity Mashups for you test or Mashups that you have self developed?

To use the sample mashup, you must enter the base URL in the configuration.

From the ThingWorx Composer, complete the following:

1. From the navigation panel on the left, select Things under MODELING.

2. Edit the ptc-windchill-demo-thing.

3. Select Configuration under ENTITY INFORMATION.

4. Set the baseURL value and click Save.

Best Regards,

Amine

RajeshM
2-Guest
(To:ssg1)

Hi

I am also facing the same issue. Did you find the solution.

thanks

rajesh

Top Tags