<?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: How to access user modified Schema in @Producer method of input Component in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-access-user-modified-Schema-in-Producer-method-of-input/m-p/2331166#M100175</link>
    <description>&lt;P&gt;Hi @Emmanuel GALLOIS​, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It works like a charm &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regars,&lt;/P&gt;&lt;P&gt;Safus&lt;/P&gt;</description>
    <pubDate>Fri, 12 Mar 2021 17:16:49 GMT</pubDate>
    <dc:creator>Safus</dc:creator>
    <dc:date>2021-03-12T17:16:49Z</dc:date>
    <item>
      <title>How to access user modified Schema in @Producer method of input Component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-access-user-modified-Schema-in-Producer-method-of-input/m-p/2331164#M100173</link>
      <description>&lt;P&gt;Hi all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that accessing schema when it's a processor component is quite simple because schema is in the Record Object parameter. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I am developing an input component and I have implemented a @DiscoverSchema method which works fine, and it retrieves the schema. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my @Producer method of my source class. I have to retrieve the schema set by the user (it can me modified after he clicks "Guess Schema" ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am thinking about this scenario : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1- User clicks 'Guess Schema" and the @DiscoverSchema method is triggered so "Default" schema is fixed. &lt;/P&gt;&lt;P&gt;2- User chooses to modify this schema before executing component &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Question is where is the Schema structure stored ? How to access it  ? Is it possible to access it in my service or source classes ? Is it possible to detect schema that was modified by user before executing component ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that the @DiscoverSchema has a return type of Schema and calling it my source class would only retrieve the default schema and not the modified one. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Safus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:27:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-access-user-modified-Schema-in-Producer-method-of-input/m-p/2331164#M100173</guid>
      <dc:creator>Safus</dc:creator>
      <dc:date>2024-11-16T00:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to access user modified Schema in @Producer method of input Component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-access-user-modified-Schema-in-Producer-method-of-input/m-p/2331165#M100174</link>
      <description>&lt;P&gt;Hi @safouane BEN MANSOUR​&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please, have a look at https://talend.github.io/component-runtime/main/1.31.0/studio-schema.html#_accessing_columns_metadata&lt;/P&gt;&lt;P&gt;for accessing to designed schema.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-- &lt;/P&gt;&lt;P&gt;Emmanuel&lt;/P&gt;</description>
      <pubDate>Fri, 12 Mar 2021 11:39:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-access-user-modified-Schema-in-Producer-method-of-input/m-p/2331165#M100174</guid>
      <dc:creator>undx</dc:creator>
      <dc:date>2021-03-12T11:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to access user modified Schema in @Producer method of input Component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-access-user-modified-Schema-in-Producer-method-of-input/m-p/2331166#M100175</link>
      <description>&lt;P&gt;Hi @Emmanuel GALLOIS​, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It works like a charm &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regars,&lt;/P&gt;&lt;P&gt;Safus&lt;/P&gt;</description>
      <pubDate>Fri, 12 Mar 2021 17:16:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-access-user-modified-Schema-in-Producer-method-of-input/m-p/2331166#M100175</guid>
      <dc:creator>Safus</dc:creator>
      <dc:date>2021-03-12T17:16:49Z</dc:date>
    </item>
  </channel>
</rss>

