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

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

how to display xml content ?

向郭
1-Newbie

how to display xml content ?

when test with getxml(), the thingworx output *XML*,how to display xml content?

5 REPLIES 5
supandey
19-Tanzanite
(To:向郭)

Xiang, have you already tested with the ThingWorx Marketplace Extension called Universal Converter Extension ?

No,I don't know it's usage.

jamesm1
5-Regular Member
(To:向郭)

You can't display XML content in the composer. You can view it either by creating a mashup and binding the result to a widget such as the textbox, or via the rest API.

If you want to display XML content on the composer, set Result type to String, and do var result = ""+yourXMLObject;

aahmed1
1-Newbie
(To:向郭)

if you want to test the service, just set the base type in "Inpu/output" to info table. From snippet call GetXML(), set the url in double quotes.

that should work

Top Tags