Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
Hello,
I am using stream to store values.
It's working but the problem is after every single record I need to manually press the execute button in ThingWorx service to store the data into Stream.
Eg. I capture record1 then need to manually press execute button of ThingWorx InspectionAddData service.
Capture record2 again manually press the execute button in ThingWorx InspectionAddData service.
Capture record3 again manually press the execute button in ThingWorx InspectionAddData service.
Now the problem is, how can I trigger execute button of ThingWorx InspectionAddData Service from Vuforia Studio?
Thanks & Best Regards,
Aditya Gupta.
Solved! Go to Solution.
Why don't you use the triggerDataService as described in the Help? https://support.ptc.com/help/vuforia/studio/en/#page/Studio_Help_Center%2Fcoding_twx.html%23
Hi,
I have written a function to call the service in Vuforia Studio and I am calling it on the click event of a button widget but it is still not working. '
I have attached the reference image.
Also note that the service I want to call has no inputs & outputs, its just a service to enter the data into ThingWorx Stream.
In you other post you wrote you enter the data using the service InspectionStep. https://community.ptc.com/t5/ThingWorx-Developers/Property-values-are-repeating-while-using-QueryPropertyHistory/m-p/940291/highlight/true#M66168
Why don't you call InspectionAddData from inside of InspectionStep?
Hi
I am using Inspection Service to fetch data from vuforia studio to thingworx & using InspectionAddData service of thingworx to enter data into stream.
Can you guide be how to call InspectionAddData service inside InspectionStep?
Hello,
Can anyone help me out?
add the line
me.InspectionAddData();
to your service InspectionStep