Skip to main content
7-Bedrock
November 26, 2019
Solved

FROM XML snippet reg...

  • November 26, 2019
  • 1 reply
  • 1165 views

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 

Best answer by raluca_edu

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

17-Peridot
January 20, 2020

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