<?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: Setting Boolean UI fields with context variables - HOW-TO in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Setting-Boolean-UI-fields-with-context-variables-HOW-TO/m-p/2328431#M97716</link>
    <description>Thank you. not very elegant but functional. It would work.</description>
    <pubDate>Wed, 31 Aug 2016 17:08:26 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-08-31T17:08:26Z</dc:date>
    <item>
      <title>Setting Boolean UI fields with context variables - HOW-TO</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Setting-Boolean-UI-fields-with-context-variables-HOW-TO/m-p/2328429#M97714</link>
      <description>&lt;P&gt;Hi there;&lt;BR /&gt;In most components we can set the value of a field by using context variables. So for example in a DB component we can replace&amp;nbsp; host "myhost" by host context.myHost after having set the myHost environment variable. This works great.&lt;BR /&gt;&lt;BR /&gt;My issue is with the tFileCopy component. There is a series of "check mark" (Boolean" fields in the component UI. One specific one "Remove Source File". This effectively change a copy behavior to a move.&lt;BR /&gt;I want to change the value of this "Remove Source File" Boolean check mark but at run time based on my environment variable which tells me I'm in Prod or Dev.&lt;BR /&gt;Basically I want something like this&lt;BR /&gt;if (context.Environment == "Prod") then set "Remove Source File" to true&lt;BR /&gt;So my question is how to I access those Boolean type variables in the UI?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2016 16:26:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Setting-Boolean-UI-fields-with-context-variables-HOW-TO/m-p/2328429#M97714</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-23T16:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Boolean UI fields with context variables - HOW-TO</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Setting-Boolean-UI-fields-with-context-variables-HOW-TO/m-p/2328430#M97715</link>
      <description>Hi,
&lt;BR /&gt;Have you tried to use "Run If" trigger in your job design and s
&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;et condition as:&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;&amp;nbsp;if (context.Environment == "Prod") then trigger tfilecopy with "&lt;/FONT&gt;&lt;/FONT&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;Remove Source File&lt;/FONT&gt;&lt;/FONT&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;" option.&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;if (context.Environment == "Dev") then triiger tfilecopy_2 without&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;"&lt;/FONT&gt;&lt;/FONT&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;Remove Source File&lt;/FONT&gt;&lt;/FONT&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;" option?&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;Sabrina&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Thu, 25 Aug 2016 04:37:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Setting-Boolean-UI-fields-with-context-variables-HOW-TO/m-p/2328430#M97715</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-25T04:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Boolean UI fields with context variables - HOW-TO</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Setting-Boolean-UI-fields-with-context-variables-HOW-TO/m-p/2328431#M97716</link>
      <description>Thank you. not very elegant but functional. It would work.</description>
      <pubDate>Wed, 31 Aug 2016 17:08:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Setting-Boolean-UI-fields-with-context-variables-HOW-TO/m-p/2328431#M97716</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-31T17:08:26Z</dc:date>
    </item>
  </channel>
</rss>

