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

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

How to send parameter data from Vuforia studio to Thinqworx platform?

lundha
7-Bedrock

How to send parameter data from Vuforia studio to Thinqworx platform?

I want to change parameter values in the app made in vuforia studio. How do I send values from vuforia to the thingwors platform? 

 

thank you

ACCEPTED SOLUTION

Accepted Solutions
ytella
17-Peridot
(To:pathorse)

Have you applied the Run time permissions for the es-public-access user to the properties, events and services of the entity?

  1. From ThingWorx composer, open the entity whose data must be accessed by a public experience
  2. Click the Permissions icon in the last column of the row containing the entity
  3. Click Run Time under Permissions
  4. Under All Properties, Events, Services, use the search box to find and add the es-public-access user
  5. Click green dot under the appropriate permissions columnsScreenshot_31.png

     

  6. Click Save

View solution in original post

4 REPLIES 4
ytella
17-Peridot
(To:lundha)

Hi @lundha ,

I see that you would like to update the Thing property in ThingWorx through Vuforia Studio. One simple example could be as follows:

  • Create a test Thing and a test property for the Thing in ThingWorx as follows:1.jpg

     

  • Create a service for the Thing with text input parameter(Test) and add the below code to update the TestProperty value:2.jpg

     

  • Click Done and Save the Thing
  • In Vuforia Studio, Add a Text Input widget and a Button widget in 2D canvas
  • Add the service of the Thing in the External data Panel
  • Now, bind the Text property of the ‘Text Input’ widget to the Test Parameter of the service as shown below:3.jpg

     

  • Bind the Click event of the Button widget to the Service to update the value of Thing property in ThingWorx4.jpg

     

  • Test the experience by clicking Preview. Enter the text in the Text Input widget and click the button. The value gets updated for the Thing property

Hope this helps!

pathorse
6-Contributor
(To:ytella)

Hi @ytella,

 

Your solution worked fine as long as we used preview, but once we tried to do it on the iPad with Vuforia View the thingworx property does not seem to update.

We preform the same actions in both preview and in the Vuforia View app so i find it strange that the first updates the property and the latter doesnt. 

Any suggestions to fix this?

 

Thanks

ytella
17-Peridot
(To:pathorse)

Have you applied the Run time permissions for the es-public-access user to the properties, events and services of the entity?

  1. From ThingWorx composer, open the entity whose data must be accessed by a public experience
  2. Click the Permissions icon in the last column of the row containing the entity
  3. Click Run Time under Permissions
  4. Under All Properties, Events, Services, use the search box to find and add the es-public-access user
  5. Click green dot under the appropriate permissions columnsScreenshot_31.png

     

  6. Click Save
pathorse
6-Contributor
(To:ytella)

This worked, thanks.

Announcements

Top Tags