<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>appending a data from one dictionary to other</title><link>https://community.appian.com/discussions/f/general/20290/appending-a-data-from-one-dictionary-to-other</link><description>i need to append the dictionary in the left pic with the list of text strings mentioned in the right pic. First dictionary should have title:task Name appended after id and 2nd dictionary should have title:Due Date after id. once when first 7 in the dictionary</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: appending a data from one dictionary to other</title><link>https://community.appian.com/thread/79183?ContentTypeID=1</link><pubDate>Wed, 27 Jan 2021 15:07:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1e9b7de4-e5ef-423c-802b-3b096e950eb1</guid><dc:creator>Danny Verb</dc:creator><description>&lt;p&gt;First thing to do is include the Dictionary manipulation plugin functions&amp;nbsp;&lt;a href="/b/appmarket/posts/cdt-manipulation"&gt;https://community.appian.com/b/appmarket/posts/cdt-manipulation&lt;/a&gt;&amp;nbsp;you can do this from the admin console on your site. Then you&amp;#39;ll still each a forEach loop&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="java"&gt;a!localVariables(
   local!dictionaryList: {
      {
        displayValue: &amp;quot;hello&amp;quot;,
        id: 1
      },
      {
        displayValue: &amp;quot;world&amp;quot;,
        id: 2
      },
      {
        displayValue: &amp;quot;earth&amp;quot;,
        id: 3
      }
   },
   local!titles: {
     &amp;quot;titleOne&amp;quot;,
     &amp;quot;titleTwo&amp;quot;,
     &amp;quot;titleThree&amp;quot;
   },
   a!foreach(
     local!dictionaryList,
     updateDictionary(
       fv!item,
       {
         title: index(local!titles, fv!index, null)
       }
     )
   )
)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you don&amp;#39;t want to use the dictionary plugins (But you should) then you can also recreate the dictionary in the&amp;nbsp;forEach&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>