<?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 For each key in map in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/For-each-key-in-map/m-p/2109863#M90651</link>
    <description>&lt;P&gt;I have a table with different links and a map like:&lt;/P&gt;
&lt;P&gt;```&lt;/P&gt;
&lt;P&gt;LinkTable:&lt;BR /&gt;load *&lt;BR /&gt;inline&lt;BR /&gt;[Link&lt;BR /&gt;Link1.qvd&lt;BR /&gt;Link2.qvd&lt;BR /&gt;Link3.xlsx&lt;BR /&gt;Link4.txt&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;mapChange:&lt;BR /&gt;mapping&lt;BR /&gt;Load* inline&lt;BR /&gt;[&lt;BR /&gt;Old, New&lt;BR /&gt;Old1, New1&lt;BR /&gt;Old2, New2&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;```&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to create table where I apply the changes in the map to the links in the LinkTable if they match sort of like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;```&lt;/P&gt;
&lt;P&gt;Replaced:&lt;BR /&gt;LOAD&lt;BR /&gt;if(WildMatch(Link, KEY), Replace(Link, KEY, applymap('mapChange', KEY), Link) as NewLinkTable,&lt;BR /&gt;Resident LinkTable;&lt;/P&gt;
&lt;P&gt;```&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The issue is that I want to wrap it in a for loop that tries the WildMatch for all keys in mapChange, and breaks after it's found a match.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 25 Aug 2023 10:55:59 GMT</pubDate>
    <dc:creator>L_VN</dc:creator>
    <dc:date>2023-08-25T10:55:59Z</dc:date>
    <item>
      <title>For each key in map</title>
      <link>https://community.qlik.com/t5/App-Development/For-each-key-in-map/m-p/2109863#M90651</link>
      <description>&lt;P&gt;I have a table with different links and a map like:&lt;/P&gt;
&lt;P&gt;```&lt;/P&gt;
&lt;P&gt;LinkTable:&lt;BR /&gt;load *&lt;BR /&gt;inline&lt;BR /&gt;[Link&lt;BR /&gt;Link1.qvd&lt;BR /&gt;Link2.qvd&lt;BR /&gt;Link3.xlsx&lt;BR /&gt;Link4.txt&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;mapChange:&lt;BR /&gt;mapping&lt;BR /&gt;Load* inline&lt;BR /&gt;[&lt;BR /&gt;Old, New&lt;BR /&gt;Old1, New1&lt;BR /&gt;Old2, New2&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;```&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to create table where I apply the changes in the map to the links in the LinkTable if they match sort of like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;```&lt;/P&gt;
&lt;P&gt;Replaced:&lt;BR /&gt;LOAD&lt;BR /&gt;if(WildMatch(Link, KEY), Replace(Link, KEY, applymap('mapChange', KEY), Link) as NewLinkTable,&lt;BR /&gt;Resident LinkTable;&lt;/P&gt;
&lt;P&gt;```&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The issue is that I want to wrap it in a for loop that tries the WildMatch for all keys in mapChange, and breaks after it's found a match.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 10:55:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/For-each-key-in-map/m-p/2109863#M90651</guid>
      <dc:creator>L_VN</dc:creator>
      <dc:date>2023-08-25T10:55:59Z</dc:date>
    </item>
  </channel>
</rss>

