Skip to main content
1-Visitor
October 16, 2019
Solved

Collection Widget Thingworx 8.3

  • October 16, 2019
  • 2 replies
  • 2137 views

Hello,

 I have used collection widget and mapped info table to collection widget Data. I have mentioned the name of mashup in mashup field. I cannot see the mashup parameter in properties. How can i map info table fields to mashup parameter. As in repeater widget it shows all fields in properties. How can i achieve that using collection widget.

MashupPropertyBinding:{"id":"Projectid","Name":"ProjectName"}.
MashupGlobalPropertyBinding:{"Projectid":"String", "ProjectName":"String"}.

Best answer by zyuan1

You should write your Collection Mapping like this:

 

{  
   "FirstName":"ChildMashupParameterFirstName",
   "MiddleInitial":"ChildMashupParameterMiddleInitial",
   "LastName":"ChildMashupParameterLastName",
   "Age":"ChildMashupParameterAge",
   "Occupation":"ChildMashupParameterOccupation",
   "Deceased":"ChildMashupParameterDeceased"
}

2 replies

Community Manager
October 17, 2019

Hi @isha.

 

Can you provide a screenshot of MashupGlobalPropertyBinding:{"Projectid":"String", "ProjectName":"String"}?

 

Also click the configure bindings button for collection-7 from your screenshot, and send us a screenshot of the new window that opens:

 

InkedScreenshot (15)_LI.jpg

 

Regards.

 

--Sharon

Community Manager
October 28, 2019

Hi @isha.

 

If one of the previous responses allowed you to find a solution to your question, please mark the appropriate one as the Accepted Solution for the benefit of others with the same question.

 

Regards.

 

--Sharon

 

zyuan15-Regular MemberAnswer
5-Regular Member
October 18, 2019

You should write your Collection Mapping like this:

 

{  
   "FirstName":"ChildMashupParameterFirstName",
   "MiddleInitial":"ChildMashupParameterMiddleInitial",
   "LastName":"ChildMashupParameterLastName",
   "Age":"ChildMashupParameterAge",
   "Occupation":"ChildMashupParameterOccupation",
   "Deceased":"ChildMashupParameterDeceased"
}