<?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: Dealing with nested data items, possible? in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Dealing-with-nested-data-items-possible/m-p/61711#M14967</link>
    <description>Hi &lt;A id="MainCopy_ctl10_ucMessageList_rptMessageList_ProfileImageDisplay_0_NameLink_0" biobubblekey="f0af290f-16f1-4e39-b62f-49028fce480f" href="https://community.blueprism.com/network/profile?UserKey=f0af290f-16f1-4e39-b62f-49028fce480f" target="_blank" rel="noopener"&gt;Shankul&lt;SPAN&gt; ,&lt;/SPAN&gt;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Might be i am not understand your question but trying to provide ans as per my understand.&lt;BR /&gt;&lt;BR /&gt;Q - &lt;SPAN&gt;Now ABC contains value&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;[Collection 1.A]&amp;amp;[Collection 1.B]&lt;/EM&gt;&lt;SPAN&gt;. I wanted to use this value inside ABC to fetch the data from "Collection 1.A" and "Collection 1.B". Is there a way to do that?&lt;BR /&gt;A - &lt;BR /&gt;1.Drag and drop calculation stage&lt;BR /&gt;2.In calculation expression write &lt;EM&gt;[Collection 1.A]&amp;amp;[Collection 1.B] &amp;amp; Drag and drop data ABC item in store result.&lt;BR /&gt;&lt;BR /&gt;Q.- Also I cannot fetch the value directly using the statement inside ABC because the variable is populated using an external user. So today he wants to use A and B columns and tomorrow he may need B and C or A and B and C or just B. Therefore the value inside ABC is dynamic.&lt;BR /&gt;A - Suppose requirement is for EFG column which you are getting from data item (You have to extract data using left and len - to get column name)&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;1.If column requirement is changing then use get collection fields,it will provide you collection header name and you have to validate this column&amp;nbsp;name with requested column name.&lt;BR /&gt;2.If column name match then you can direct use [Collection 1.A] ( Extracted column name from point A )&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Nilesh Jadhav &lt;BR /&gt;Senior RPA Specialist&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Mon, 19 Oct 2020 21:07:00 GMT</pubDate>
    <dc:creator>NileshJadhavBP</dc:creator>
    <dc:date>2020-10-19T21:07:00Z</dc:date>
    <item>
      <title>Dealing with nested data items, possible?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Dealing-with-nested-data-items-possible/m-p/61710#M14966</link>
      <description>Hi All.&lt;BR /&gt;&lt;BR /&gt;I wanted to know if there is any way we can deal with nested data items. I have a data items of text type which has value inside it which is also query statement. So instead of passing on the variables name I wanted to pass the value of the data item directly.&lt;BR /&gt;&lt;BR /&gt;Example : Consider a data item of text type named as "&lt;STRONG&gt;ABC&lt;/STRONG&gt;" and consider a collection named as "&lt;STRONG&gt;Collection 1&lt;/STRONG&gt;" with columns A,B and C&lt;BR /&gt;&lt;BR /&gt;Now ABC contains value &lt;EM&gt;[Collection 1.A]&amp;amp;[Collection 1.B]&lt;/EM&gt;. I wanted to use this value inside ABC to fetch the data from "Collection 1.A" and "Collection 1.B". Is there a way to do that?&lt;BR /&gt;&lt;BR /&gt;Also I cannot fetch the value directly using the statement inside ABC because the variable is populated using an external user. So today he wants to use A and B columns and tomorrow he may need B and C or A and B and C or just B. Therefore the value inside ABC is dynamic.&lt;BR /&gt;&lt;BR /&gt;Is there a way to do this?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Shankul Jain&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Oct 2020 07:23:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Dealing-with-nested-data-items-possible/m-p/61710#M14966</guid>
      <dc:creator>ShankulJain</dc:creator>
      <dc:date>2020-10-16T07:23:00Z</dc:date>
    </item>
    <item>
      <title>RE: Dealing with nested data items, possible?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Dealing-with-nested-data-items-possible/m-p/61711#M14967</link>
      <description>Hi &lt;A id="MainCopy_ctl10_ucMessageList_rptMessageList_ProfileImageDisplay_0_NameLink_0" biobubblekey="f0af290f-16f1-4e39-b62f-49028fce480f" href="https://community.blueprism.com/network/profile?UserKey=f0af290f-16f1-4e39-b62f-49028fce480f" target="_blank" rel="noopener"&gt;Shankul&lt;SPAN&gt; ,&lt;/SPAN&gt;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Might be i am not understand your question but trying to provide ans as per my understand.&lt;BR /&gt;&lt;BR /&gt;Q - &lt;SPAN&gt;Now ABC contains value&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;[Collection 1.A]&amp;amp;[Collection 1.B]&lt;/EM&gt;&lt;SPAN&gt;. I wanted to use this value inside ABC to fetch the data from "Collection 1.A" and "Collection 1.B". Is there a way to do that?&lt;BR /&gt;A - &lt;BR /&gt;1.Drag and drop calculation stage&lt;BR /&gt;2.In calculation expression write &lt;EM&gt;[Collection 1.A]&amp;amp;[Collection 1.B] &amp;amp; Drag and drop data ABC item in store result.&lt;BR /&gt;&lt;BR /&gt;Q.- Also I cannot fetch the value directly using the statement inside ABC because the variable is populated using an external user. So today he wants to use A and B columns and tomorrow he may need B and C or A and B and C or just B. Therefore the value inside ABC is dynamic.&lt;BR /&gt;A - Suppose requirement is for EFG column which you are getting from data item (You have to extract data using left and len - to get column name)&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;1.If column requirement is changing then use get collection fields,it will provide you collection header name and you have to validate this column&amp;nbsp;name with requested column name.&lt;BR /&gt;2.If column name match then you can direct use [Collection 1.A] ( Extracted column name from point A )&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Nilesh Jadhav &lt;BR /&gt;Senior RPA Specialist&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Oct 2020 21:07:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Dealing-with-nested-data-items-possible/m-p/61711#M14967</guid>
      <dc:creator>NileshJadhavBP</dc:creator>
      <dc:date>2020-10-19T21:07:00Z</dc:date>
    </item>
    <item>
      <title>RE: Dealing with nested data items, possible?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Dealing-with-nested-data-items-possible/m-p/61712#M14968</link>
      <description>So you basically want Eval(ABC)?&lt;BR /&gt;In general it depends on specifics of your task, but let's say you have a collection dt with any fields (let's say a,b,c,d..) and they are all of type string and you have data item ABC with a text value like a+b+c that you need to apply to all rows, then you can create a code stage​:&lt;BR /&gt;&lt;BR /&gt;in: dt([Collection 1]), expr([ABC])&lt;BR /&gt;out: dt_out([Collection 2])&lt;BR /&gt;Code:&lt;BR /&gt;&lt;CODE&gt;DataColumn exprColumn = new DataColumn();&lt;/CODE&gt;&lt;BR /&gt;&lt;CODE&gt;exprColumn.DataType = System.Type.GetType("System.String");&lt;/CODE&gt;&lt;BR /&gt;&lt;CODE&gt;exprColumn.ColumnName = "eval";&lt;/CODE&gt;&lt;BR /&gt;&lt;CODE&gt;exprColumn.Expression = expr;&lt;/CODE&gt;&lt;BR /&gt;&lt;CODE&gt;dt.Columns.Add(exprColumn);&lt;/CODE&gt;&lt;BR /&gt;&lt;CODE&gt;dt_out = dt;&lt;BR /&gt;&lt;BR /&gt;&lt;/CODE&gt;You'll have result in [Collection 2.eval].&lt;BR /&gt;&lt;BR /&gt;There are other ways to do this, but it's hard to guess without more details. Maybe even use &lt;A href="https://eval-expression.net/" target="_blank" rel="noopener"&gt;https://eval-expression.net/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;p.s. Full featured eval() if often a bad thing, because if you eval everything user gives you, he might as well send you "format c:" &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Andrey Kudinov&lt;BR /&gt;Project Manager&lt;BR /&gt;MobileTelesystems PJSC&lt;BR /&gt;Europe/Moscow&lt;BR /&gt;------------------------------&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------</description>
      <pubDate>Thu, 22 Oct 2020 13:42:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Dealing-with-nested-data-items-possible/m-p/61712#M14968</guid>
      <dc:creator>AndreyKudinov</dc:creator>
      <dc:date>2020-10-22T13:42:00Z</dc:date>
    </item>
  </channel>
</rss>

