<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RE: How to export XML-file including data in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/How-to-export-XML-file-including-data/m-p/69540#M22145</link>
    <description>I don't really understand the question, but I assume you're trying to output the collection as XML. If so you can loop over the collection and use a multicalc to generate the desired XML.&lt;BR /&gt;&lt;BR /&gt;OR you can use code stage with&amp;nbsp;collInput (collection) as input and&amp;nbsp;xmlResult (text) as output.&amp;nbsp;
&lt;PRE class="language-markup"&gt;Dim sw as Object
sw = new StringWriter() 
collInput.WriteXml(sw)
xmlResult = sw.ToString()​&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Gopal Bhaire&lt;BR /&gt;Analyst&lt;BR /&gt;Accenture&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Sat, 31 Aug 2019 10:48:00 GMT</pubDate>
    <dc:creator>GopalBhaire</dc:creator>
    <dc:date>2019-08-31T10:48:00Z</dc:date>
    <item>
      <title>How to export XML-file including data</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-export-XML-file-including-data/m-p/69536#M22141</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;
&lt;P&gt;I need to export a XML-file containing all field names and rows from a specific collection.&lt;BR /&gt; So far I exported the page using File&amp;gt;Export&amp;gt;Page/Object. However, it does not contain the data from the collections.&lt;BR /&gt; Therefore my developer will not be able to help me out writing a code stage, that will help me fix my original problem.&lt;BR /&gt; &lt;BR /&gt; The XML utility does not seem to be helpful in this situation either.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;BR /&gt;Any suggestions?&lt;BR /&gt;&lt;BR /&gt;Best regards&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;/Christian&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Christian Brandt Larsen&lt;BR /&gt;RPA Developer &lt;BR /&gt;Forca A/S&lt;BR /&gt;Europe/Copenhagen&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Aug 2019 08:33:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-export-XML-file-including-data/m-p/69536#M22141</guid>
      <dc:creator>Christian_Brand</dc:creator>
      <dc:date>2019-08-30T08:33:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to export XML-file including data</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-export-XML-file-including-data/m-p/69537#M22142</link>
      <description>Hi Christian,&lt;BR /&gt;&lt;BR /&gt;if its a user defined collection that has fields and values&amp;nbsp;prepopulated all of these will be&amp;nbsp;will be part of the xml file exported using File&amp;gt;Export&amp;gt;Page/Object.&amp;nbsp; however if the collection​ is getting value when a process/object is excecated those values will not be part of the export.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Jerin Jose&lt;BR /&gt;RPA Product SME&lt;BR /&gt;EY&lt;BR /&gt;Asia/Kolkata&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Aug 2019 09:09:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-export-XML-file-including-data/m-p/69537#M22142</guid>
      <dc:creator>JerinJose</dc:creator>
      <dc:date>2019-08-30T09:09:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to export XML-file including data</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-export-XML-file-including-data/m-p/69538#M22143</link>
      <description>Hi Jerin&lt;BR /&gt;&lt;BR /&gt;The collection is populated by data retrieved from a queue using VBO Queue Reports ´Get data from queue´. I suppose that means that those values will not be part of the export.&lt;BR /&gt;&lt;BR /&gt;In that case, maybe I can create a dummy collection containing the same fields and values as the collection and make my export on the basic of that.&lt;BR /&gt;&lt;BR /&gt;I´ll try.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Christian Brandt Larsen&lt;BR /&gt;RPA&lt;BR /&gt;Forca A/S&lt;BR /&gt;Europe/Copenhagen&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Aug 2019 09:26:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-export-XML-file-including-data/m-p/69538#M22143</guid>
      <dc:creator>Christian_Brand</dc:creator>
      <dc:date>2019-08-30T09:26:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to export XML-file including data</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-export-XML-file-including-data/m-p/69539#M22144</link>
      <description>Have you tried Utility - XML?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ionut Cohen&lt;BR /&gt;RPA Developer&lt;BR /&gt;Luxoft Romania&lt;BR /&gt;Europe\Bucharest&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Aug 2019 09:56:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-export-XML-file-including-data/m-p/69539#M22144</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-30T09:56:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to export XML-file including data</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-export-XML-file-including-data/m-p/69540#M22145</link>
      <description>I don't really understand the question, but I assume you're trying to output the collection as XML. If so you can loop over the collection and use a multicalc to generate the desired XML.&lt;BR /&gt;&lt;BR /&gt;OR you can use code stage with&amp;nbsp;collInput (collection) as input and&amp;nbsp;xmlResult (text) as output.&amp;nbsp;
&lt;PRE class="language-markup"&gt;Dim sw as Object
sw = new StringWriter() 
collInput.WriteXml(sw)
xmlResult = sw.ToString()​&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Gopal Bhaire&lt;BR /&gt;Analyst&lt;BR /&gt;Accenture&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Sat, 31 Aug 2019 10:48:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-export-XML-file-including-data/m-p/69540#M22145</guid>
      <dc:creator>GopalBhaire</dc:creator>
      <dc:date>2019-08-31T10:48:00Z</dc:date>
    </item>
  </channel>
</rss>

