Skip to main content
Nov 26, 2019 4:35 AM UTC
Solved

FROM XML snippet reg...

Hi,

 

I have got a xml file using "GetXML''. I want to convert it to an infotable, so am using the "FromXML" snippet.But when i execute it , it says "Must have a datashape defined to add rows." How to rectify this?

Also , in GetXML, is it possible to add xml file from local storage instead of adding it from an url?

 

Thanks,

Sadagopan Ponmani 

Jan 20, 2020 8:46 AM UTC

Hi,

 

Please follow this article: https://www.ptc.com/en/support/article?n=CS218242

You need to use a datashape for FromXML service.

Regarding the GetXML question, there is no parameter defined to get XML from a storage.

 

Hope it helps,

Raluca Edu

1 reply

Jan 20, 2020 8:46 AM UTC

Hi,

 

Please follow this article: https://www.ptc.com/en/support/article?n=CS218242

You need to use a datashape for FromXML service.

Regarding the GetXML question, there is no parameter defined to get XML from a storage.

 

Hope it helps,

Raluca Edu