<?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: Custom component - setting schema in runtime in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Custom-component-setting-schema-in-runtime/m-p/2247925#M149231</link>
    <description>Hi 
&lt;A href="https://community.qlik.com/s/profile/0053p000007LPfZAAW"&gt;@the_integrator&lt;/A&gt;, 
&lt;BR /&gt; 
&lt;BR /&gt;You cant set a predefined schema because it does not map on any concept in the cloud - there is no design time schema. 
&lt;BR /&gt; 
&lt;BR /&gt;Also, the element listener is a runtime method so not usable for design time. 
&lt;BR /&gt; 
&lt;BR /&gt;However, you can rename the guess schema button normally which would allow you to have a more explicit naming if default one is unsatisfying. 
&lt;BR /&gt;</description>
    <pubDate>Tue, 06 Aug 2019 09:24:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-08-06T09:24:49Z</dc:date>
    <item>
      <title>Custom component - setting schema in runtime</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Custom-component-setting-schema-in-runtime/m-p/2247916#M149222</link>
      <description>&lt;P&gt;Hello good ppl of Talend,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I'm building a custom input component that should, for starters, get some json&amp;nbsp;from my REST endpoint and print its content using tLogRow component. I need to be able to generate a&amp;nbsp;schema of that json&amp;nbsp;so that tLogRow (or some other component in the future) can consume received data.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I found that tSalesforceInput component is really close to my use case. In Salesforce input component I just have to define my user credentials select endpoint and I can print received&amp;nbsp;data using tLogRow without manually setting the schema (or clicking "Guess schema" button). When I checked the&amp;nbsp;code of the Salesforce component I saw they're building their records in @Producer method using&amp;nbsp;&lt;SPAN class="memberNameLink"&gt;&lt;A href="https://talend.github.io/component-runtime/apidocs/1.1.5/api/org/talend/sdk/component/api/service/record/RecordBuilderFactory.html#newRecordBuilder-org.talend.sdk.component.api.record.Schema-" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;newRecordBuilder&lt;/A&gt;&lt;/SPAN&gt;(&lt;A title="interface in org.talend.sdk.component.api.record" href="https://talend.github.io/component-runtime/apidocs/1.1.5/api/org/talend/sdk/component/api/record/Schema.html" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;Schema&lt;/A&gt;&amp;nbsp;schema)&lt;SPAN&gt;&amp;nbsp;constructor, which is available in component-api version 1.1.4. (&lt;A href="https://talend.github.io/component-runtime/apidocs/1.1.5/api/org/talend/sdk/component/api/service/record/RecordBuilderFactory.html" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;https://talend.github.io/component-runtime/apidocs/1.1.5/api/org/talend/sdk/component/api/service/record/RecordBuilderFactory.html&lt;/A&gt;)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;The problem is I have the&amp;nbsp;latest&amp;nbsp;Talend Open Studio for DI, version 7.2.1 milestone 3, which uses component-api&amp;nbsp;version 1.1.2 (&lt;A href="https://talend.github.io/component-runtime/apidocs/1.1.4/api/org/talend/sdk/component/api/service/record/RecordBuilderFactory.html" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;https://talend.github.io/component-runtime/apidocs/1.1.4/api/org/talend/sdk/component/api/service/record/RecordBuilderFactory.html&lt;/A&gt;), so using&amp;nbsp;&lt;SPAN class="memberNameLink"&gt;&lt;A href="https://talend.github.io/component-runtime/apidocs/1.1.5/api/org/talend/sdk/component/api/service/record/RecordBuilderFactory.html#newRecordBuilder-org.talend.sdk.component.api.record.Schema-" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;newRecordBuilder&lt;/A&gt;&lt;/SPAN&gt;(&lt;A title="interface in org.talend.sdk.component.api.record" href="https://talend.github.io/component-runtime/apidocs/1.1.5/api/org/talend/sdk/component/api/record/Schema.html" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;Schema&lt;/A&gt;&amp;nbsp;schema)&amp;nbsp;in my custome&amp;nbsp;component results in&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;PRE&gt;java.lang.NoSuchMethodError:org.talend.sdk.component.api.service.record.RecordBuilderFactory.newRecordBuilder(Lorg/talend/sdk/component/api/record/Schema;)&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My questions would be:&lt;/P&gt; 
&lt;OL&gt; 
 &lt;LI&gt;is there any direct replacement for&amp;nbsp;&lt;SPAN&gt;&lt;SPAN class="memberNameLink"&gt;&lt;A href="https://talend.github.io/component-runtime/apidocs/1.1.5/api/org/talend/sdk/component/api/service/record/RecordBuilderFactory.html#newRecordBuilder-org.talend.sdk.component.api.record.Schema-" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;newRecordBuilder&lt;/A&gt;&lt;/SPAN&gt;(&lt;A title="interface in org.talend.sdk.component.api.record" href="https://talend.github.io/component-runtime/apidocs/1.1.5/api/org/talend/sdk/component/api/record/Schema.html" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;Schema&lt;/A&gt;&amp;nbsp;schema) in component-api&amp;nbsp;1.1.2, how can I programmatically&amp;nbsp;build Schema for my Records in runtime, without the need for a&amp;nbsp;user to click guessSchema button. (something like Salesforce component is doing, like I described above)?&lt;/SPAN&gt;&lt;/LI&gt; 
 &lt;LI&gt;&lt;SPAN&gt;Is it possible to update Talend Open Studio component-runtime .jars to at least 1.1.5 version which contains desired constructor &lt;SPAN class="memberNameLink"&gt;&lt;A href="https://talend.github.io/component-runtime/apidocs/1.1.5/api/org/talend/sdk/component/api/service/record/RecordBuilderFactory.html#newRecordBuilder-org.talend.sdk.component.api.record.Schema-" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;newRecordBuilder&lt;/A&gt;&lt;/SPAN&gt;(&lt;A title="interface in org.talend.sdk.component.api.record" href="https://talend.github.io/component-runtime/apidocs/1.1.5/api/org/talend/sdk/component/api/record/Schema.html" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;Schema&lt;/A&gt;&amp;nbsp;schema)?&lt;/SPAN&gt;&lt;/LI&gt; 
 &lt;LI&gt;&lt;SPAN&gt;If&amp;nbsp;&lt;SPAN class="memberNameLink"&gt;&lt;A href="https://talend.github.io/component-runtime/apidocs/1.1.5/api/org/talend/sdk/component/api/service/record/RecordBuilderFactory.html#newRecordBuilder-org.talend.sdk.component.api.record.Schema-" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;newRecordBuilder&lt;/A&gt;&lt;/SPAN&gt;(&lt;A title="interface in org.talend.sdk.component.api.record" href="https://talend.github.io/component-runtime/apidocs/1.1.5/api/org/talend/sdk/component/api/record/Schema.html" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;Schema&lt;/A&gt;&amp;nbsp;schema) constructor isn't the way to build schema in runtime, can u suggest what is the right way?&lt;/SPAN&gt;&lt;/LI&gt; 
&lt;/OL&gt; 
&lt;P&gt;&lt;SPAN&gt;Please note that I've read and tried to implement all the examples from the docs, like&lt;/SPAN&gt;&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;&lt;A href="https://talend.github.io/component-runtime/main/1.1.4/services-actions.html#_schema" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer"&gt;https://talend.github.io/component-runtime/main/1.1.4/services-actions.html#_schema&lt;/A&gt;&lt;/LI&gt; 
 &lt;LI&gt;&amp;nbsp;&lt;A href="https://talend.github.io/component-runtime/main/1.1.4/component-define-input.html" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;https://talend.github.io/component-runtime/main/1.1.4/component-define-input.html&lt;/A&gt;&lt;/LI&gt; 
 &lt;LI&gt;&lt;A href="https://talend.github.io/component-runtime/main/1.1.4/tutorial-create-components-rest-api.html" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;https://talend.github.io/component-runtime/main/1.1.4/tutorial-create-components-rest-api.html&lt;/A&gt;&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&lt;SPAN&gt;but nothing helps to recreate Salesforce component behaviour&amp;nbsp;(that's why I turned to forums&amp;nbsp;&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; )&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Matija&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jan 2026 14:45:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Custom-component-setting-schema-in-runtime/m-p/2247916#M149222</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2026-01-02T14:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: Custom component - setting schema in runtime</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Custom-component-setting-schema-in-runtime/m-p/2247917#M149223</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPPSAA4"&gt;@matijapetanjek&lt;/A&gt;&amp;nbsp;,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;1. If you don't care about the record data and just want to build a schema there is a dedicated newSchemaBuilder method (see&amp;nbsp;&lt;A href="https://talend.github.io/component-runtime/main/1.1.4/record-types.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://talend.github.io/component-runtime/main/1.1.4/record-types.html&lt;/A&gt;). For records you can just omit the schema in previous versions and it should be fine,&lt;/P&gt; 
&lt;P&gt;2. Our studio team is working on upgrading the framework version for coming releases,&lt;/P&gt; 
&lt;P&gt;3. Guess 1. answers it&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Note that you will still need to click on "guess schema" though to guarantee the data are accurate and not auto-populated which can easily break user work or slow down user workflow so we ensured it was intended and explicit.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Hope it helps,&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2019 08:55:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Custom-component-setting-schema-in-runtime/m-p/2247917#M149223</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-09T08:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Custom component - setting schema in runtime</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Custom-component-setting-schema-in-runtime/m-p/2247918#M149224</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LMHOAA4"&gt;@rmannibucau&lt;/A&gt;&amp;nbsp;,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;thank you very much for the response! Since I posted this question I had some new successes and failures with Talend. Long story short, I cannot trigger my method annotated with&amp;nbsp;@&lt;SPAN class="pl-k"&gt;&lt;SPAN&gt;DiscoverSchema.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="pl-k"&gt;&lt;SPAN&gt;I was following your&amp;nbsp;&lt;A href="https://github.com/rmannibucau/components-sample/blob/master/servicenow/src/main/java/org/talend/components/servicenow/service/ServiceNowTableService.java#L103" target="_self" rel="nofollow noopener noreferrer"&gt;github example&lt;/A&gt;, in my service class I put &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;PRE&gt;@DiscoverSchema(value = "guessTableSchema")
	public Schema guessTableSchema(final DataSet dataSet) {&lt;BR /&gt;&lt;BR /&gt;                 System.out.println("HERE IS BREAKPOINT");
		 ....&lt;BR /&gt;                 //generate schema
	}&lt;/PRE&gt; 
&lt;P&gt;&lt;SPAN class="pl-k"&gt;&lt;SPAN&gt;And in DataSet I have:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;PRE&gt;    @Option
    @Structure(discoverSchema = "guessTableSchema.",type= Structure.Type.IN)
    @Documentation(value = "List of field names.")
    private List&amp;lt;String&amp;gt; fields = new ArrayList&amp;lt;&amp;gt;();&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;When I click "guess schema" button, breakpoint stops in (component-runtime)TaCoKitGuessSchema#guessInputComponentSchema method. For some reason,&amp;nbsp;&lt;EM&gt;action&lt;/EM&gt; field has null value in that class, so&amp;nbsp;&lt;EM&gt;guessSchemaThroughAction()&amp;nbsp;&lt;/EM&gt;always fails, and&amp;nbsp;&lt;EM&gt;guessInputComponentSchemaThroughResult()&amp;nbsp;&lt;/EM&gt;is called (same behavior with TOS 7.2.1 Milestone 3 and TOS 7.1.1). I'm not sure if this is a bug or I'm doing something wrong? Do you see something obviously wrong in my examples? (note I also tried adding @Option annotation to Dataset in guessTableSchema but the result is same).&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thank you!&lt;/P&gt; 
&lt;P&gt;Matija&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2019 15:45:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Custom-component-setting-schema-in-runtime/m-p/2247918#M149224</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-09T15:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Custom component - setting schema in runtime</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Custom-component-setting-schema-in-runtime/m-p/2247919#M149225</link>
      <description>&lt;P&gt;Note that&amp;nbsp;@DiscoverSchema parameter name must match a&amp;nbsp;@DataSet name so this is a first point to check.&lt;/P&gt; 
&lt;P&gt;I also fixed earlier this morning an issue about&amp;nbsp;@DiscoverSchema implementation where the action was very likely ignored - was on 7.2.1M3 - so it can be the case you felt in.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2019 18:34:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Custom-component-setting-schema-in-runtime/m-p/2247919#M149225</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-09T18:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: Custom component - setting schema in runtime</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Custom-component-setting-schema-in-runtime/m-p/2247920#M149226</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;HR /&gt; 
 &lt;A href="https://community.qlik.com/s/profile/0053p000007LMHOAA4"&gt;@rmannibucau&lt;/A&gt;&amp;nbsp;wrote: 
 &lt;P&gt;I also fixed earlier this morning an issue about&amp;nbsp;@DiscoverSchema implementation where the action was very likely ignored - was on 7.2.1M3 - so it can be the case you felt in.&lt;/P&gt; 
 &lt;HR /&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;Hey&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LMHOAA4"&gt;@rmannibucau&lt;/A&gt;&amp;nbsp;, looks to me there is another issue in 7.2.1.M3 TOS. The whole day I was trying to figure out WHY when I run a job in the studio, my discovered schema resets all field types to String, and after that job breaks with&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;javax.json.bind.JsonbException: Unable to parse 0 to class java.lang.String&lt;/PRE&gt; 
&lt;P&gt;In the end, I deployed the same component to 7.1.1 TOS and I finally got data logged with tLog component, and discovered schema stayed the same. Does this issue sounds familiar?&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 09:18:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Custom-component-setting-schema-in-runtime/m-p/2247920#M149226</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-15T09:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Custom component - setting schema in runtime</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Custom-component-setting-schema-in-runtime/m-p/2247921#M149227</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPPSAA4"&gt;@matijapetanjek&lt;/A&gt;&amp;nbsp;,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;yes, it has been fixed on the SNAPSHOT.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 09:41:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Custom-component-setting-schema-in-runtime/m-p/2247921#M149227</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-15T09:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Custom component - setting schema in runtime</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Custom-component-setting-schema-in-runtime/m-p/2247922#M149228</link>
      <description>&lt;P&gt;Dear community,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am also trying to develop a custom component that should get the schema of the previous component, save/hold/clone it in any way and overwrite in with the schema of the following component (tLogRow).&lt;/P&gt; 
&lt;P&gt;Now I have been reading all blog entries (community and development kit documentation) related and I am not making any further progress.&lt;/P&gt; 
&lt;P&gt;Therefore I would like to ask in general, what basic steps have to be followed?&lt;/P&gt; 
&lt;P&gt;I have chosen the processor type of component, I am able to get the schema of the input data, but how do I set the schema of the following component?&lt;/P&gt; 
&lt;P&gt;Which role does the service class play? Do I need any other classes?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thank you for help!&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2019 16:49:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Custom-component-setting-schema-in-runtime/m-p/2247922#M149228</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-05T16:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: Custom component - setting schema in runtime</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Custom-component-setting-schema-in-runtime/m-p/2247923#M149229</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPfZAAW"&gt;@the_integrator&lt;/A&gt;&amp;nbsp;,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The output schema(s) is(are) filled using the "guess schema" button for an automatic mode (manual mode still being functional, i.e. you open the schema editor and fill yourself the columns).&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Services just enable to bypass the evaluation by an actual run of the beginning of the job (all the steps before the current component). But for a processor it is generally ok to actually run it.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2019 16:57:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Custom-component-setting-schema-in-runtime/m-p/2247923#M149229</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-05T16:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: Custom component - setting schema in runtime</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Custom-component-setting-schema-in-runtime/m-p/2247924#M149230</link>
      <description>&lt;P&gt;Thank your for your response&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LMHOAA4"&gt;@rmannibucau&lt;/A&gt;.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Follow up question:&lt;/P&gt; 
&lt;P&gt;What if I wanted to include the logic of the "guess schema" button in the custom component, so that the user does not have to click on it? Does that make sense at all? How can it be achieved?&lt;/P&gt; 
&lt;P&gt;I think this has been asked here but it is not really clear for me.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;In this method I can easily get the schema of the input. In which way would I get/set the schema of the output in this method?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;@ElementListener
    public void onNext(
            @Input final Record defaultInput,
            @Output final OutputEmitter&amp;lt;Record&amp;gt; defaultOutput) {
        // this is the method allowing you to handle the input(s) and emit the output(s)
        // after some custom logic you put here, to send a value to next element you can use an
        // output parameter and call emit(value).&lt;BR /&gt;&lt;BR /&gt;}&lt;/PRE&gt; 
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2019 08:11:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Custom-component-setting-schema-in-runtime/m-p/2247924#M149230</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-06T08:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: Custom component - setting schema in runtime</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Custom-component-setting-schema-in-runtime/m-p/2247925#M149231</link>
      <description>Hi 
&lt;A href="https://community.qlik.com/s/profile/0053p000007LPfZAAW"&gt;@the_integrator&lt;/A&gt;, 
&lt;BR /&gt; 
&lt;BR /&gt;You cant set a predefined schema because it does not map on any concept in the cloud - there is no design time schema. 
&lt;BR /&gt; 
&lt;BR /&gt;Also, the element listener is a runtime method so not usable for design time. 
&lt;BR /&gt; 
&lt;BR /&gt;However, you can rename the guess schema button normally which would allow you to have a more explicit naming if default one is unsatisfying. 
&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Aug 2019 09:24:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Custom-component-setting-schema-in-runtime/m-p/2247925#M149231</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-06T09:24:49Z</dc:date>
    </item>
  </channel>
</rss>

