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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Can you BIND ThinkWorx Data to a Model Item Augmentation in Vuforia Studio 3D-eyewear project?

rrzink91
8-Gravel

Can you BIND ThinkWorx Data to a Model Item Augmentation in Vuforia Studio 3D-eyewear project?

So to clarify, I posted something similar before, but the answer was not viable to my use case. The data that's sitting over on ThingWorx is pulling from a JSON array on one of my co-workers personal websites. My goal is to have the data linked to the specific model item (books in this case). Then once they are selected, the data specific to that book will display. I'm able to do a text search from Vuforia and display data, but the data link is too static in nature. It isn't linked to any specific model item studio-id. If anyone knows how to achieve this, info and examples would be appreciated.

2 REPLIES 2

Hi @rrzink91 ,

regarding your statement " The data that's sitting over on ThingWorx is pulling from a JSON array on one of my co-workers personal websites"

- I think this requires further clarification. May be example will be helpful

Where is coming the JSON array - > File or object which is return by service?

The problem is that because of the CORS restriction you may NOT be able to receive data from each possible server which is outside the ES service domain. One possible option if the data is on JSON object you can transfer the data to File repository in your Thgingworx server and get the back to Vuforia Studio via service.

The second point to bind the data to a model item – there are 2 possible ways:

  • To define for each modelitem an extra function which handle only this modelItem and call a service from thingworx
  • Or to use a “userpick” event – which returns the selection data (modelWidget-occurrence PathId) + structure data where you can find what component was selected (this does not require an explicit modelItem widget definitions)

 

The JSON array is less relevant to my question as I am able to get that data to Vuforia just fine and the project it's associated with is a demo to see what Vuforia can do essentially. I would however like to focus in on how to do the two possible solutions you mentioned. Knowing they exist out there as solutions is great, but it means nothing if I don't understand what they are and how to implement them. Would you mind sharing resources or examples? Thank you for replying by the way!

Top Tags