I need load a content from xml doc in composer to vuforia studio
I aM exploring a new option to load content(possibly a xml file) from thingworx composer to vuforia studio. I want a specific description of tag from xml to be depicted as a label in vuforia studio. Can i get some help on this if above use case is possible.
I am not sure what is the exact goal in your application case.
So far you can pass a xml file (or any files) from a Thingworx repository witht the methods Load XML but also LoadJSON (json) LoadText (ascii chars), LoadImage (pictures) and LoadBinary (for any file format)
So this means if you have e.g. an xml file in a Thingworx repository you can sent it to Vuforia Studio and received it into memory variable.
When the data is not in repository you can:
- save the data first there e.g. for xml format SaveXML (mehtod of a Thing which is inheriting the FileRepository Template) or SaveBinary (for any file format ... also xml)
Another option to define your own service which output xml - e.g. picture below:
So we can see that there are some options to sent the xml data to vuforia Studio - it will be received in the ServiceName-complete event --> example:
We can see that there are some options to sent the xml data to Vuforia Studio - the xml data will be received in the ServiceName-complete event --> example:
Re: I need load a content from xml doc in composer to vuforia studio
I need one of the tags description to come over as a text of 3d label in VR and as in label in 2d panel for AR. If it is possible . can you help me with the script with sample xml? I am new to this xml. Thanks for considering.