<?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 Update Generic Schema from Map Structure in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Update-Generic-Schema-from-Map-Structure/m-p/2345287#M112833</link>
    <description>&lt;P&gt;During the creation of a new Map, the output structure is created and a generic schema is created for that output structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I continue through development I realized I want to add additional fields to the output structure.&lt;/P&gt;&lt;P&gt;These fields are not based on the input structure but will be derived from information in the input structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already added functions and logic to the output structure so I don't wan to just re-create it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;U&gt;The Ask&lt;/U&gt;: I would like to regenerate the Generic schema from the output structure without having to manually update the schema?&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When finished I will have a great many output structures and maps so a manual-sync is not practical.&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>Fri, 15 Nov 2024 22:08:51 GMT</pubDate>
    <dc:creator>McDon</dc:creator>
    <dc:date>2024-11-15T22:08:51Z</dc:date>
    <item>
      <title>Update Generic Schema from Map Structure</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-Generic-Schema-from-Map-Structure/m-p/2345287#M112833</link>
      <description>&lt;P&gt;During the creation of a new Map, the output structure is created and a generic schema is created for that output structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I continue through development I realized I want to add additional fields to the output structure.&lt;/P&gt;&lt;P&gt;These fields are not based on the input structure but will be derived from information in the input structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already added functions and logic to the output structure so I don't wan to just re-create it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;U&gt;The Ask&lt;/U&gt;: I would like to regenerate the Generic schema from the output structure without having to manually update the schema?&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When finished I will have a great many output structures and maps so a manual-sync is not practical.&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>Fri, 15 Nov 2024 22:08:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-Generic-Schema-from-Map-Structure/m-p/2345287#M112833</guid>
      <dc:creator>McDon</dc:creator>
      <dc:date>2024-11-15T22:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: Update Generic Schema from Map Structure</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-Generic-Schema-from-Map-Structure/m-p/2345288#M112834</link>
      <description>&lt;P&gt;A trick to do this is to do the following. Take a backup of your job first, just in case it goes wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;With your backup, go to output table in the tMap and change your Schema Type from Repository to Built-in. It will remain the same, but will be built-in.&lt;/LI&gt;&lt;LI&gt;Add your new columns manually to this.&lt;/LI&gt;&lt;LI&gt;At the very right at the bottom of the tMap window (underneath where you edit your schema) you will see a blue disk. Click it and follow the steps to save your schema.&lt;/LI&gt;&lt;LI&gt;Go back to the Schema Type and change this from Built-in to Repository. Underneath that, select the new schema you just saved. &lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All of your expressions should remain the same and you will be using your newly updated schema. &lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2023 21:46:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-Generic-Schema-from-Map-Structure/m-p/2345288#M112834</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-01T21:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: Update Generic Schema from Map Structure</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-Generic-Schema-from-Map-Structure/m-p/2345289#M112835</link>
      <description>&lt;P&gt;@Richard Hall​&amp;nbsp;- thank you so much for the quick response - greatly appreciated.&lt;/P&gt;&lt;P&gt;I like this approach and have a follow-up question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm adding to my structures nested inherited structures.&lt;/P&gt;&lt;P&gt;I want them nested so they maintain inheritance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Specifically&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;ADT A01 HL7 Message&lt;UL&gt;&lt;LI&gt;MSH Segment&lt;UL&gt;&lt;LI&gt;edw fields&lt;UL&gt;&lt;LI&gt;edw field 1&lt;/LI&gt;&lt;LI&gt;edw field 2&lt;/LI&gt;&lt;LI&gt;...&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;MSH fields from the thmap creation&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found when I regenerate in the way you mentioned, the edw fields are added but they are not nested and lose their inheritance.&lt;/P&gt;&lt;P&gt;This causes a problem for future maintenance.&lt;/P&gt;&lt;P&gt;My objective was to keep the inheritance and support future modifications to the EDW by only changing the master edw_fields structure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please tell me if I've explained this clearly enough.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2023 22:11:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-Generic-Schema-from-Map-Structure/m-p/2345289#M112835</guid>
      <dc:creator>McDon</dc:creator>
      <dc:date>2023-02-01T22:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: Update Generic Schema from Map Structure</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-Generic-Schema-from-Map-Structure/m-p/2345290#M112836</link>
      <description>&lt;P&gt;Are you talking about XML schemas here? Sorry, I was just thinking about relatively flat schemas. When editing XML schemas you will need to click on the parent element and add your new element as a child of that. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;.....or have I completely misunderstood?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2023 23:30:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-Generic-Schema-from-Map-Structure/m-p/2345290#M112836</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-01T23:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Update Generic Schema from Map Structure</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-Generic-Schema-from-Map-Structure/m-p/2345291#M112837</link>
      <description>&lt;P&gt;@Richard Hall​&amp;nbsp;- I wasn't clear.&lt;/P&gt;&lt;P&gt;I'm reading from a predefined Talend EDI structure and ultimately going to a flat Snowflake strcuture.&lt;/P&gt;&lt;P&gt;However, the output structure from the map I had as structured similar to XML.&lt;/P&gt;&lt;P&gt;This may be my problem in that I'm "crossing the streams".&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 02:41:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-Generic-Schema-from-Map-Structure/m-p/2345291#M112837</guid>
      <dc:creator>McDon</dc:creator>
      <dc:date>2023-02-02T02:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: Update Generic Schema from Map Structure</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-Generic-Schema-from-Map-Structure/m-p/2345292#M112838</link>
      <description>&lt;P&gt;I tell you what, can you post a screenshot of what you are starting with and what happens when you make the change? This will probably be a little easier for me to see the issue and a possible workaround.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 16:30:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-Generic-Schema-from-Map-Structure/m-p/2345292#M112838</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-02T16:30:57Z</dc:date>
    </item>
  </channel>
</rss>

