<?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: Dynamic metadata properties definition (Using context / environment variables or something else) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-metadata-properties-definition-Using-context-environment/m-p/2318092#M88466</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;step1:&lt;BR /&gt;create two excels one in d drive(say excel1) and one for c drive(say excel2)&lt;BR /&gt;and keep some data in&lt;/P&gt;
&lt;P&gt;step2:&lt;BR /&gt;Go to create a new connection in metadata(say connection1) and give the connection name,purpose and&lt;BR /&gt;excel details&lt;/P&gt;
&lt;P&gt;step3:&lt;BR /&gt;select export as context -&amp;gt; create a new repository context -&amp;gt; Give new name and purpose for the context&lt;BR /&gt;-&amp;gt;&lt;/P&gt;
&lt;P&gt;step 4:&lt;BR /&gt;To add a new context, click the context symbol in the upper right corner.&lt;BR /&gt;The window that pops up is used to manage contexts. To create a new context, click New,&lt;BR /&gt;enter the name of the context, in our example context2, and click Ok&lt;BR /&gt;To rename the Default context, select it, click Edit, enter context1&amp;nbsp;&lt;BR /&gt;and click Ok. When you’re done editing, click Ok.&lt;BR /&gt;After the window closes, you’ll see that an extra column appeared. Enter the&lt;BR /&gt;connection data of the 2nd environment(other drive) in the context2 column and click Finish.&lt;/P&gt;
&lt;P&gt;Note: if unable to edit ,click finish go to job-&amp;gt; go to required input or output components on which u want your context to work -&amp;gt; select context variable in context section&lt;BR /&gt;-&amp;gt; select the respective context and say ok -&amp;gt; now go to context, coloumn&lt;BR /&gt;and edit the&amp;nbsp; connection detail&lt;BR /&gt;and say finish&lt;/P&gt;
&lt;P&gt;step5:&lt;BR /&gt;now in components on which u are working in job simply select connection1(by selecting property type&lt;BR /&gt;as repository) and selecting connection1&lt;/P&gt;
&lt;P&gt;step6:&lt;BR /&gt;now in the context tab of the job select the environment context as context1 first&lt;BR /&gt;then u can see the operation being performed in environment which was meant for context1&lt;BR /&gt;similarly in the drop down switch to context2 and we can see data operation&lt;BR /&gt;in context2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Plz mark kudos if u find it helpful.&lt;/P&gt;</description>
    <pubDate>Thu, 10 Oct 2019 12:35:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-10-10T12:35:33Z</dc:date>
    <item>
      <title>Dynamic metadata properties definition (Using context / environment variables or something else)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-metadata-properties-definition-Using-context-environment/m-p/2318091#M88465</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;When creating a file&amp;nbsp;metadata (xml, excel, ...) we must define file's path.&lt;/P&gt; 
&lt;P&gt;My issue is that I work on D drive of my computer while other developers are working on other drives, so metadata file's path properties are different between some developers.&lt;/P&gt; 
&lt;P&gt;One of the things that matters the most to us is the schema generated by metadata which will be used inside jobs. But metadata properties are also useful because even if we set "Property Type" to "Built-In" of components created using metadata, properties of components will keep properties of the metadata and we'll only have to modify the properties that must be updated (to fit our needs) but the others will stay as they are in the metadata.&lt;/P&gt; 
&lt;P&gt;So, if someone wants to update metadata, all the properties including path of developer environment should be set dynamically to prevent re-updating all metadata for each different working environments. But how to do that ?&lt;/P&gt; 
&lt;P&gt;From what I've understand in the following post, it is not possible to do that using context variables: &lt;A href="https://community.qlik.com/s/feed/0D53p00007vCpcFCAS" target="_blank"&gt;https://community.talend.com/t5/Archive/Using-context-variables-in-metadata/m-p/168922&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;(But since this post dates from 2008, I prefer to ask the question again).&lt;/P&gt; 
&lt;P&gt;So, I tried to use environment variables in file's path property, but it doesn't work either.&lt;/P&gt; 
&lt;P&gt;The question here is not whether it's possible to do it using context or environment variables (I doubt that),&amp;nbsp;but how to do it?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2019 16:03:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-metadata-properties-definition-Using-context-environment/m-p/2318091#M88465</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-09T16:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic metadata properties definition (Using context / environment variables or something else)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-metadata-properties-definition-Using-context-environment/m-p/2318092#M88466</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;step1:&lt;BR /&gt;create two excels one in d drive(say excel1) and one for c drive(say excel2)&lt;BR /&gt;and keep some data in&lt;/P&gt;
&lt;P&gt;step2:&lt;BR /&gt;Go to create a new connection in metadata(say connection1) and give the connection name,purpose and&lt;BR /&gt;excel details&lt;/P&gt;
&lt;P&gt;step3:&lt;BR /&gt;select export as context -&amp;gt; create a new repository context -&amp;gt; Give new name and purpose for the context&lt;BR /&gt;-&amp;gt;&lt;/P&gt;
&lt;P&gt;step 4:&lt;BR /&gt;To add a new context, click the context symbol in the upper right corner.&lt;BR /&gt;The window that pops up is used to manage contexts. To create a new context, click New,&lt;BR /&gt;enter the name of the context, in our example context2, and click Ok&lt;BR /&gt;To rename the Default context, select it, click Edit, enter context1&amp;nbsp;&lt;BR /&gt;and click Ok. When you’re done editing, click Ok.&lt;BR /&gt;After the window closes, you’ll see that an extra column appeared. Enter the&lt;BR /&gt;connection data of the 2nd environment(other drive) in the context2 column and click Finish.&lt;/P&gt;
&lt;P&gt;Note: if unable to edit ,click finish go to job-&amp;gt; go to required input or output components on which u want your context to work -&amp;gt; select context variable in context section&lt;BR /&gt;-&amp;gt; select the respective context and say ok -&amp;gt; now go to context, coloumn&lt;BR /&gt;and edit the&amp;nbsp; connection detail&lt;BR /&gt;and say finish&lt;/P&gt;
&lt;P&gt;step5:&lt;BR /&gt;now in components on which u are working in job simply select connection1(by selecting property type&lt;BR /&gt;as repository) and selecting connection1&lt;/P&gt;
&lt;P&gt;step6:&lt;BR /&gt;now in the context tab of the job select the environment context as context1 first&lt;BR /&gt;then u can see the operation being performed in environment which was meant for context1&lt;BR /&gt;similarly in the drop down switch to context2 and we can see data operation&lt;BR /&gt;in context2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Plz mark kudos if u find it helpful.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2019 12:35:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-metadata-properties-definition-Using-context-environment/m-p/2318092#M88466</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-10T12:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic metadata properties definition (Using context / environment variables or something else)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-metadata-properties-definition-Using-context-environment/m-p/2318093#M88467</link>
      <description>Thank you very much for these detailed explanations that helped me to solve this problem.</description>
      <pubDate>Thu, 10 Oct 2019 15:56:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-metadata-properties-definition-Using-context-environment/m-p/2318093#M88467</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-10T15:56:37Z</dc:date>
    </item>
  </channel>
</rss>

