<?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: not able to find user defined routine in list in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/not-able-to-find-user-defined-routine-in-list/m-p/2324662#M94344</link>
    <description>Exactly. The code suggestion function finds routines only by this name. The default name is "User Routine" regardless how your class name actually is. This was for my first time also very confusing. 
&lt;BR /&gt;I forgot in my example to tell you: my routine class name was also StringUtil. I have no clue why Talend make things like this more complex than necessary.</description>
    <pubDate>Wed, 23 Dec 2015 17:59:24 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-12-23T17:59:24Z</dc:date>
    <item>
      <title>not able to find user defined routine in list</title>
      <link>https://community.qlik.com/t5/Talend-Studio/not-able-to-find-user-defined-routine-in-list/m-p/2324659#M94341</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;I've created an user defined routine and named it as a FileCheck.&lt;BR /&gt;When I create a job and put tjava component am not able to find routine I had created using ctrl+space.&lt;BR /&gt;&lt;BR /&gt;Can anyone help ?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Dec 2015 10:42:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/not-able-to-find-user-defined-routine-in-list/m-p/2324659#M94341</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-23T10:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: not able to find user defined routine in list</title>
      <link>https://community.qlik.com/t5/Talend-Studio/not-able-to-find-user-defined-routine-in-list/m-p/2324660#M94342</link>
      <description>User defined routines have very special tags { }. One of the most important think is you have to give your class a name: 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;PRE&gt;/**&lt;BR /&gt; * Specifies a substring consisting of the first n characters of a string.&lt;BR /&gt; *&amp;nbsp;&lt;BR /&gt; * {Category} StringUtil&lt;BR /&gt; *&amp;nbsp;&lt;BR /&gt; * {param} string("hello world!") string: String.&lt;BR /&gt; *&amp;nbsp;&lt;BR /&gt; * {param} int(5) index : index&lt;BR /&gt; *&amp;nbsp;&lt;BR /&gt; * {example} startFrom("hello world!",5) # hello&lt;BR /&gt; */&lt;BR /&gt;public static String startFrom(String string, int index) {&lt;BR /&gt; return string == null ? null : string.substring(0,  Math.min(string.length(), index));&lt;BR /&gt;}&lt;BR /&gt;&lt;/PRE&gt; 
&lt;BR /&gt;Here is an working example. The category tag is essential.</description>
      <pubDate>Wed, 23 Dec 2015 15:22:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/not-able-to-find-user-defined-routine-in-list/m-p/2324660#M94342</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-23T15:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: not able to find user defined routine in list</title>
      <link>https://community.qlik.com/t5/Talend-Studio/not-able-to-find-user-defined-routine-in-list/m-p/2324661#M94343</link>
      <description>Hi jlolling 
&lt;BR /&gt; 
&lt;BR /&gt;My class name is FlieCheck as well but still not able to find routine in tjava component when I press ctrl+space. 
&lt;BR /&gt; 
&lt;BR /&gt;Do I need to mention the text you have mentioned in your post as a comment ?</description>
      <pubDate>Wed, 23 Dec 2015 17:57:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/not-able-to-find-user-defined-routine-in-list/m-p/2324661#M94343</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-23T17:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: not able to find user defined routine in list</title>
      <link>https://community.qlik.com/t5/Talend-Studio/not-able-to-find-user-defined-routine-in-list/m-p/2324662#M94344</link>
      <description>Exactly. The code suggestion function finds routines only by this name. The default name is "User Routine" regardless how your class name actually is. This was for my first time also very confusing. 
&lt;BR /&gt;I forgot in my example to tell you: my routine class name was also StringUtil. I have no clue why Talend make things like this more complex than necessary.</description>
      <pubDate>Wed, 23 Dec 2015 17:59:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/not-able-to-find-user-defined-routine-in-list/m-p/2324662#M94344</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-23T17:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: not able to find user defined routine in list</title>
      <link>https://community.qlik.com/t5/Talend-Studio/not-able-to-find-user-defined-routine-in-list/m-p/2324663#M94345</link>
      <description>Thanks jlolling for this spark !! 
&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;</description>
      <pubDate>Wed, 23 Dec 2015 18:04:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/not-able-to-find-user-defined-routine-in-list/m-p/2324663#M94345</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-23T18:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: not able to find user defined routine in list</title>
      <link>https://community.qlik.com/t5/Talend-Studio/not-able-to-find-user-defined-routine-in-list/m-p/2324664#M94346</link>
      <description>Keep an eye also to the other parts of the comments. Only by using them you will get a useful code completion for your method.&lt;BR /&gt;Because Talend has not documented how these comments are working, I suggest you take a look into the existing once and learn from them.&amp;nbsp;&lt;BR /&gt;I actually do not understand why Talend has introduced its own java-doc format instead of using the existing one and add missing tags to it.&amp;nbsp;</description>
      <pubDate>Wed, 23 Dec 2015 18:08:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/not-able-to-find-user-defined-routine-in-list/m-p/2324664#M94346</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-23T18:08:55Z</dc:date>
    </item>
  </channel>
</rss>

