<?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: Access TDI Custom Code Routine(s) from with TDM (Mapper) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Access-TDI-Custom-Code-Routine-s-from-with-TDM-Mapper/m-p/2323223#M93096</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will clarify.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can call a routine from TDM with java function.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For instance, in class name you can enter routines.StringHandliung and in method name LEFT.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To be able to run a map from mapping perespective, you will have to add the routines.jar as in the video.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To create this jar:&lt;BR /&gt;1-Create a dummy job with just a tJava component.&lt;BR /&gt;2-Build this job&lt;BR /&gt;2-Unzip the zip created at last step and pick up the jar routines.jar&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To run the map from a job, this jar is not required.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See also &lt;A href="https://jira.talendforge.org/browse/TDM-5382" target="_blank" rel="nofollow noopener noreferrer"&gt;https://jira.talendforge.org/browse/TDM-5382&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Eric&lt;/P&gt;</description>
    <pubDate>Thu, 09 Nov 2017 19:02:13 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-11-09T19:02:13Z</dc:date>
    <item>
      <title>Access TDI Custom Code Routine(s) from with TDM (Mapper)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Access-TDI-Custom-Code-Routine-s-from-with-TDM-Mapper/m-p/2323220#M93093</link>
      <description>&lt;P&gt;I am using version 6.2.1 presently.&lt;/P&gt; 
&lt;P&gt;I have a generic TDI Custom Code Routine;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 283px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LrfN.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152034i48E29C71B7FB23E1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LrfN.png" alt="0683p000009LrfN.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;that I would like to be able to access from within my TDM Mapper Map.&lt;BR /&gt;&lt;BR /&gt;Is this possible?&lt;BR /&gt;&lt;BR /&gt;I am aware of how to build your own custom jars; and load them so that the mapper can use them; but in this situation; I am wanting to access&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;already existing TDI Code Routines; in the same manner you can do within TDI tJava/tJavaRow components.&lt;BR /&gt;&lt;BR /&gt;Has anyone found a way to access existing TDI Code Routines from within a Map?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2017 15:50:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Access-TDI-Custom-Code-Routine-s-from-with-TDM-Mapper/m-p/2323220#M93093</guid>
      <dc:creator>DaveTaylor</dc:creator>
      <dc:date>2017-11-09T15:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: Access TDI Custom Code Routine(s) from with TDM (Mapper)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Access-TDI-Custom-Code-Routine-s-from-with-TDM-Mapper/m-p/2323221#M93094</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, it is possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a tutorial&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=sO8cCY_-Vos" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.youtube.com/watch?v=sO8cCY_-Vos&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2017 16:19:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Access-TDI-Custom-Code-Routine-s-from-with-TDM-Mapper/m-p/2323221#M93094</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-09T16:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: Access TDI Custom Code Routine(s) from with TDM (Mapper)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Access-TDI-Custom-Code-Routine-s-from-with-TDM-Mapper/m-p/2323222#M93095</link>
      <description>&lt;P&gt;Hi Eric, thanks for your reply; but either I misunderstood; or your answer didn't answer my question.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have seen that video.&lt;BR /&gt;I am aware of how to create your own custom Jar files; and make them available to the Mapper via the mapper Java function.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;However, I am not wanting to create a custom jar; nor load a custom jar into the mapper.&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;Rahter, I am wanting to use some of the static custom TDI Code-Routines that have been built.&lt;BR /&gt;&lt;BR /&gt;They already exist; and can be callable via any TDI tJava or tJavaRow component without loading any external jars.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Is it possible to reference those TDI Code-Routines from the Mapper?&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;These static routines here below:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 283px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LqwI.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129688i8389DA96CD2766ED/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LqwI.png" alt="0683p000009LqwI.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;So for example; in TDI; in a tJavaRow component; I could write this:&lt;BR /&gt;String test = Base_65_enc.getResult(inputParam);&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is it also possible inside of Mapper; to access that same TDI-Code-Routines-Base_64_enc static function?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2017 16:56:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Access-TDI-Custom-Code-Routine-s-from-with-TDM-Mapper/m-p/2323222#M93095</guid>
      <dc:creator>DaveTaylor</dc:creator>
      <dc:date>2017-11-09T16:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: Access TDI Custom Code Routine(s) from with TDM (Mapper)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Access-TDI-Custom-Code-Routine-s-from-with-TDM-Mapper/m-p/2323223#M93096</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will clarify.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can call a routine from TDM with java function.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For instance, in class name you can enter routines.StringHandliung and in method name LEFT.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To be able to run a map from mapping perespective, you will have to add the routines.jar as in the video.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To create this jar:&lt;BR /&gt;1-Create a dummy job with just a tJava component.&lt;BR /&gt;2-Build this job&lt;BR /&gt;2-Unzip the zip created at last step and pick up the jar routines.jar&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To run the map from a job, this jar is not required.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See also &lt;A href="https://jira.talendforge.org/browse/TDM-5382" target="_blank" rel="nofollow noopener noreferrer"&gt;https://jira.talendforge.org/browse/TDM-5382&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Eric&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2017 19:02:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Access-TDI-Custom-Code-Routine-s-from-with-TDM-Mapper/m-p/2323223#M93096</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-09T19:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: Access TDI Custom Code Routine(s) from with TDM (Mapper)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Access-TDI-Custom-Code-Routine-s-from-with-TDM-Mapper/m-p/2323224#M93097</link>
      <description>&lt;P&gt;Thanks Eric; that is exactly what I needed.&lt;BR /&gt;&lt;BR /&gt;Just really needed to see the format of what the mapper was expecting.&lt;BR /&gt;&lt;BR /&gt;The the Repository has it Code.Routines camelcase, and mapper java function was wanting it as just routines(lowercase) .functionname&lt;/P&gt;
&lt;P&gt;is what was throwing it off.&lt;BR /&gt;All is good now.&lt;BR /&gt;Much appreciated!&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2017 21:33:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Access-TDI-Custom-Code-Routine-s-from-with-TDM-Mapper/m-p/2323224#M93097</guid>
      <dc:creator>DaveTaylor</dc:creator>
      <dc:date>2017-11-09T21:33:57Z</dc:date>
    </item>
  </channel>
</rss>

