<?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 global variables from XML in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/global-variables-from-XML/m-p/2263914#M43923</link>
    <description>&lt;P&gt;All,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have a requirement to read database details from XML file, i was able to create the parameters, but while running the job i'm getting string cannot be resolved to a variable&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="screenshot8.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8Pb.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154602i46C36E36E7D59F16/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8Pb.jpg" alt="0683p000009M8Pb.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 03:30:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T03:30:09Z</dc:date>
    <item>
      <title>global variables from XML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/global-variables-from-XML/m-p/2263914#M43923</link>
      <description>&lt;P&gt;All,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have a requirement to read database details from XML file, i was able to create the parameters, but while running the job i'm getting string cannot be resolved to a variable&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="screenshot8.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8Pb.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154602i46C36E36E7D59F16/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8Pb.jpg" alt="0683p000009M8Pb.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:30:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/global-variables-from-XML/m-p/2263914#M43923</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T03:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: global variables from XML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/global-variables-from-XML/m-p/2263915#M43924</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;possible you try to access variable by a wrong way&lt;/P&gt;
&lt;P&gt;to retrieve stored variable you need to use (Type)globalMap.get("VariableName"),&lt;/P&gt;
&lt;P&gt;as an example:&lt;/P&gt;
&lt;PRE&gt;(String)globalMap.get("db_host_name")&lt;BR /&gt;(Integer)globalMap.get("db_port")&lt;/PRE&gt;
&lt;P&gt;possible you just use a variable name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;regards, Vlad&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2020 00:50:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/global-variables-from-XML/m-p/2263915#M43924</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2020-01-29T00:50:23Z</dc:date>
    </item>
  </channel>
</rss>

