<?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 with tMap to define constants in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/how-to-with-tMap-to-define-constants/m-p/2224133#M16963</link>
    <description>hello, 
&lt;BR /&gt;thanks for yours feedback. 
&lt;BR /&gt;So I have used them like this, but I'm not sure that syntax is wrong because CTRL+space doesn't give me my variables in list. 
&lt;BR /&gt;The job contains now a t_SetGlobalVar which have two variables definitions. 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;BR /&gt;In My Map, I have update the variables with CTRL+Space 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;BR /&gt;But when I run job, I have an error that mapping fields cannot be null. 
&lt;BR /&gt;So, My mapping is wrong, I suppose that my variables declarations is wrong, but I can't see why. 
&lt;BR /&gt;Does someone can help a newbie? 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Best regards</description>
    <pubDate>Mon, 01 Sep 2008 12:52:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2008-09-01T12:52:33Z</dc:date>
    <item>
      <title>how to with tMap to define constants</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-with-tMap-to-define-constants/m-p/2224127#M16957</link>
      <description>Hello everbody, 
&lt;BR /&gt; 
&lt;BR /&gt;I'm in front off a problem that I don't find how to solve to: I'm fetchning from an oracle database a field value. this value must be updated in an mysql database throw an update with two constants in a where row: UPDATE my_table SET my_field = oraclevalue WHERE field = 'firstField' AND secondField = 'secondField'; 
&lt;BR /&gt;So my batch is based like the following one: 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;BR /&gt;But from and to field are not variables but must be static values. How can I define their values ? Does I need to update the model? Does I need to update job to fetch the row matching from Mysql Database server and update it? 
&lt;BR /&gt;Best</description>
      <pubDate>Sat, 16 Nov 2024 14:14:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-with-tMap-to-define-constants/m-p/2224127#M16957</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to with tMap to define constants</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-with-tMap-to-define-constants/m-p/2224128#M16958</link>
      <description>Hi, 
&lt;BR /&gt; 
&lt;BR /&gt;your image is not linked 
&lt;BR /&gt; 
&lt;BR /&gt;you can use a look up (small file delimited) with and dooble inner join 
&lt;BR /&gt;or create global variables in a tJava / tSetGloblavariable and use filter the output 
&lt;BR /&gt;or create two context variable and use filteron the output. 
&lt;BR /&gt; 
&lt;BR /&gt;some idea 
&lt;BR /&gt; 
&lt;BR /&gt;Jeremie</description>
      <pubDate>Mon, 01 Sep 2008 10:30:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-with-tMap-to-define-constants/m-p/2224128#M16958</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-09-01T10:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: how to with tMap to define constants</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-with-tMap-to-define-constants/m-p/2224129#M16959</link>
      <description>If you are using external image provider you may block out people from helping you. Some companies have extreme restrictive firewall rules. I can not get your picture if you don?t attach them to your post.&lt;BR /&gt;If you need a constant value you can use a global variable. A global variable, you can set from any place in your job (like with tPrejob) and then use in your tMap. I?m usually using a context Variable for global Variables because I like the CTRL+Space functionality.</description>
      <pubDate>Mon, 01 Sep 2008 10:37:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-with-tMap-to-define-constants/m-p/2224129#M16959</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-09-01T10:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: how to with tMap to define constants</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-with-tMap-to-define-constants/m-p/2224130#M16960</link>
      <description>please accept my apologises for picture, I have post a bad link url.</description>
      <pubDate>Mon, 01 Sep 2008 10:45:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-with-tMap-to-define-constants/m-p/2224130#M16960</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-09-01T10:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: how to with tMap to define constants</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-with-tMap-to-define-constants/m-p/2224131#M16961</link>
      <description>Hello, 
&lt;BR /&gt;thanks for your feedback. 
&lt;BR /&gt;So I have add a t_SetGlobalVar with two variables: Var1 with value firstField, Var2 with value secondField. 
&lt;BR /&gt;But I'm sorry but can't found how to use them in t_Map? 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9p6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134116iFBD5D7F21624A744/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9p6.png" alt="0683p000009M9p6.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Best regards</description>
      <pubDate>Mon, 01 Sep 2008 11:06:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-with-tMap-to-define-constants/m-p/2224131#M16961</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-09-01T11:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: how to with tMap to define constants</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-with-tMap-to-define-constants/m-p/2224132#M16962</link>
      <description>You can use with ctrl+space in the expression builder (clic on the ...) 
&lt;BR /&gt; 
&lt;BR /&gt;jeremie</description>
      <pubDate>Mon, 01 Sep 2008 11:19:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-with-tMap-to-define-constants/m-p/2224132#M16962</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-09-01T11:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: how to with tMap to define constants</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-with-tMap-to-define-constants/m-p/2224133#M16963</link>
      <description>hello, 
&lt;BR /&gt;thanks for yours feedback. 
&lt;BR /&gt;So I have used them like this, but I'm not sure that syntax is wrong because CTRL+space doesn't give me my variables in list. 
&lt;BR /&gt;The job contains now a t_SetGlobalVar which have two variables definitions. 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;BR /&gt;In My Map, I have update the variables with CTRL+Space 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;BR /&gt;But when I run job, I have an error that mapping fields cannot be null. 
&lt;BR /&gt;So, My mapping is wrong, I suppose that my variables declarations is wrong, but I can't see why. 
&lt;BR /&gt;Does someone can help a newbie? 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Best regards</description>
      <pubDate>Mon, 01 Sep 2008 12:52:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-with-tMap-to-define-constants/m-p/2224133#M16963</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-09-01T12:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: how to with tMap to define constants</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-with-tMap-to-define-constants/m-p/2224134#M16964</link>
      <description>I don't no, I think it's the schema of your data
&lt;BR /&gt;Perhaps put an onsubjobOk after the tSetGlobalVariables
&lt;BR /&gt;
&lt;BR /&gt;Jeremie</description>
      <pubDate>Mon, 01 Sep 2008 13:30:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-with-tMap-to-define-constants/m-p/2224134#M16964</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-09-01T13:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: how to with tMap to define constants</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-with-tMap-to-define-constants/m-p/2224135#M16965</link>
      <description>As I said, if you don?t attach the picture to the post, I will not be able see them. If variables are not available, then you did not declare them before.</description>
      <pubDate>Mon, 01 Sep 2008 13:55:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-with-tMap-to-define-constants/m-p/2224135#M16965</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-09-01T13:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to with tMap to define constants</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-with-tMap-to-define-constants/m-p/2224136#M16966</link>
      <description>Well,
&lt;BR /&gt;I have put a subjobok on the variable declaration, but variables are always unavailable in the tMap.
&lt;BR /&gt;Here's a screenshot.
&lt;BR /&gt;
&lt;IMG src="https://community.qlik.com/" /&gt;</description>
      <pubDate>Mon, 01 Sep 2008 15:29:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-with-tMap-to-define-constants/m-p/2224136#M16966</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-09-01T15:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to with tMap to define constants</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-with-tMap-to-define-constants/m-p/2224137#M16967</link>
      <description>When I was talking about the CTRL+Space I?m talking about variables declared in the Contexts (second tab, between Job and Component). Did you declare your variables there?&lt;BR /&gt;Using context variables is only one way to deal with the situation but it is the way with the CTRL+Space.</description>
      <pubDate>Mon, 01 Sep 2008 17:04:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-with-tMap-to-define-constants/m-p/2224137#M16967</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-09-01T17:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: how to with tMap to define constants</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-with-tMap-to-define-constants/m-p/2224138#M16968</link>
      <description>Hello,
&lt;BR /&gt;well I've tried this way too. I have defined in a conversion 1.0 context variable in left menu two variables, FROM and TO. But in this case too, I can"t see them in ctrl+space context.
&lt;BR /&gt;
&lt;IMG src="https://community.qlik.com/" /&gt;
&lt;BR /&gt;Perhaps could you post me a screenshot on the way to define theses variables, I'm sure I'm passed next something ...
&lt;BR /&gt;Best regards,</description>
      <pubDate>Tue, 02 Sep 2008 13:47:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-with-tMap-to-define-constants/m-p/2224138#M16968</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-09-02T13:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: how to with tMap to define constants</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-with-tMap-to-define-constants/m-p/2224139#M16969</link>
      <description>.</description>
      <pubDate>Tue, 02 Sep 2008 19:35:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-with-tMap-to-define-constants/m-p/2224139#M16969</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-09-02T19:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to with tMap to define constants</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-with-tMap-to-define-constants/m-p/2224140#M16970</link>
      <description>really thanks you for your help&lt;BR /&gt;just one last question: what is the difference between global variables defined in t_globalvar, context, and these kind of variables?</description>
      <pubDate>Wed, 03 Sep 2008 08:23:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-with-tMap-to-define-constants/m-p/2224140#M16970</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-09-03T08:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: how to with tMap to define constants</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-with-tMap-to-define-constants/m-p/2224141#M16971</link>
      <description>Hi,
&lt;BR /&gt;
&lt;BR /&gt;in t_globalvar you define global variable for the job
&lt;BR /&gt;in context you can create differente situation (prod,dev) with different value for the context variable. When you generate scriptjob you can choose the context (and the values of the context variable) to execute the job on the server.
&lt;BR /&gt;After you can use "implicite tConextLoad" in the wiev job&amp;gt;extra : we load values of context variable from a files or data base (key;value)
&lt;BR /&gt;For me, It's the unique interacrtion between user and job script on the server.  
&lt;BR /&gt;
&lt;BR /&gt;best regards
&lt;BR /&gt;
&lt;BR /&gt;jeremie</description>
      <pubDate>Wed, 03 Sep 2008 08:44:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-with-tMap-to-define-constants/m-p/2224141#M16971</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-09-03T08:44:45Z</dc:date>
    </item>
  </channel>
</rss>

