Generating an XML file with the data present in Variables.

Hi All,

with reference to the below post I was able to successfully extract the data from an XML using torecord() and put the data into an Text variable as an XML data

But now Users wants the data as a download file in XML format.

Can someone suggest me how to do this part.

https://community.appian.com/discussions/f/general/10577/xml-as-input-document-and-xml-as-output-document

 

TIA :)

  Discussion posts and replies are publicly visible

Parents
  • Hi Harsha,

     

       From the post, I understand that the users want to download the xml data as a .xml file , if so . Please find the below Approach 

      

      Firstly Create a .xml document as the below, this will be used as the base template to create an xml document which can be downloaded by the user 

     

     

    The smart service "Text Doc from Template" can be used where the above file is taken considered as a Template (Since it contains ###myValue### , your xml data can be filled in there)

      

     

    in the data tab , capture the file generated into a process variable which can be used as input to the interface

    (this can be downloaded by the user from SAIL using a!documentDownloadLink())

     

     

     

    Hope this is helpful , 

    Please keep this thread updated if you have followed any other approach 

     

    Regards,

    Shashank

      

     

      

       

  • sure let me try it and update the post shashank
Reply Children
No Data