<?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 use a context variable in a tMap in Installing and Upgrading</title>
    <link>https://community.qlik.com/t5/Installing-and-Upgrading/How-to-use-a-context-variable-in-a-tMap/m-p/2399098#M9133</link>
    <description>Can you take a screenshot of what you are doing in the tMap? It should work, but without seeing it we can't let you know what is wrong. Also, are you sure you have created the context variable in your job and not created it in a Context Group? If it is in the Context Group then it will need adding to your job.</description>
    <pubDate>Wed, 19 Aug 2015 09:15:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-08-19T09:15:36Z</dc:date>
    <item>
      <title>How to use a context variable in a tMap</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/How-to-use-a-context-variable-in-a-tMap/m-p/2399097#M9132</link>
      <description>I have a context variable, that is context.fixed_hours = 10&lt;BR /&gt;In a tMap I want to create a new field "New_Hours" using the formula &amp;nbsp; &amp;nbsp;"row12.Hours - context.fixed_hours"&lt;BR /&gt;But if I try to run the job, I get an error &lt;I&gt;"fixed_hours cannnot be resolved or is not a field"&lt;/I&gt;&lt;BR /&gt;How can I use my context variable inside a tMap?&lt;BR /&gt;Thanks!</description>
      <pubDate>Sat, 16 Nov 2024 11:05:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/How-to-use-a-context-variable-in-a-tMap/m-p/2399097#M9132</guid>
      <dc:creator>czuriaga</dc:creator>
      <dc:date>2024-11-16T11:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a context variable in a tMap</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/How-to-use-a-context-variable-in-a-tMap/m-p/2399098#M9133</link>
      <description>Can you take a screenshot of what you are doing in the tMap? It should work, but without seeing it we can't let you know what is wrong. Also, are you sure you have created the context variable in your job and not created it in a Context Group? If it is in the Context Group then it will need adding to your job.</description>
      <pubDate>Wed, 19 Aug 2015 09:15:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/How-to-use-a-context-variable-in-a-tMap/m-p/2399098#M9133</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-19T09:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a context variable in a tMap</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/How-to-use-a-context-variable-in-a-tMap/m-p/2399099#M9134</link>
      <description>I was completely sure the variable had been added to the context group of the job, but the auto-complete tool in the expression builder didn't offer that variable as option.
&lt;BR /&gt;While preparing the example to capture the screenshots, I noticed the variable was an option to choose after writing "context.", then I tried in my production job and worked!!
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;row12.Hours - context.fixed_hours&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;Thanks, everything is solved, context variables can be used in tMaps (adding the variable to the context group of the job, of course)
&lt;BR /&gt;Thanks!</description>
      <pubDate>Wed, 19 Aug 2015 10:35:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/How-to-use-a-context-variable-in-a-tMap/m-p/2399099#M9134</guid>
      <dc:creator>czuriaga</dc:creator>
      <dc:date>2015-08-19T10:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a context variable in a tMap</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/How-to-use-a-context-variable-in-a-tMap/m-p/2399100#M9135</link>
      <description>&lt;P&gt;Hi Everyone!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've encountered an issue with using context variables in tMap expression builder. When I push a&amp;nbsp;test button it gives me an error. Please find the screen attached.&lt;/P&gt;
&lt;P&gt;I would be really appreciated for any suggestions!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance!&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Ltpg"&gt;ContextVarTestInExpressionBuilder.PNG&lt;/A&gt;</description>
      <pubDate>Fri, 23 Nov 2018 16:41:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/How-to-use-a-context-variable-in-a-tMap/m-p/2399100#M9135</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-23T16:41:32Z</dc:date>
    </item>
  </channel>
</rss>

