<?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 can I retreive the label text from option set data type with tMicrosoftCrmInput? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-can-I-retreive-the-label-text-from-option-set-data-type-with/m-p/2323728#M93524</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;What's CRM version and Authentication are you using? Could you please post your component setting screenshot on community?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
    <pubDate>Mon, 08 Feb 2021 05:33:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-02-08T05:33:39Z</dc:date>
    <item>
      <title>How can I retreive the label text from option set data type with tMicrosoftCrmInput?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-can-I-retreive-the-label-text-from-option-set-data-type-with/m-p/2323727#M93523</link>
      <description>&lt;P&gt;In Talend I receive the value (864640000) instead of the label (Not to plan) by using schema name (hso_salesstatus):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000BWrYLAA1.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143355iD4AD16A904A219E7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000BWrYLAA1.png" alt="0693p00000BWrYLAA1.png" /&gt;&lt;/span&gt;I also tried the following schama names for this field, but it did work:&lt;/P&gt;&lt;P&gt;_hso_salesstatus&lt;/P&gt;&lt;P&gt;_hso_salesstatus_formatted&lt;/P&gt;&lt;P&gt;_hso_salesstatus_label&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;_hso_salesstatus_value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My setup in CRM:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000BWrZsAAL.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140410i5783247027ED307C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000BWrZsAAL.png" alt="0693p00000BWrZsAAL.png" /&gt;&lt;/span&gt;How can i get the label text instead of the value?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:40:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-can-I-retreive-the-label-text-from-option-set-data-type-with/m-p/2323727#M93523</guid>
      <dc:creator>Elmar010</dc:creator>
      <dc:date>2024-11-16T00:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: How can I retreive the label text from option set data type with tMicrosoftCrmInput?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-can-I-retreive-the-label-text-from-option-set-data-type-with/m-p/2323728#M93524</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;What's CRM version and Authentication are you using? Could you please post your component setting screenshot on community?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2021 05:33:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-can-I-retreive-the-label-text-from-option-set-data-type-with/m-p/2323728#M93524</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-02-08T05:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: How can I retreive the label text from option set data type with tMicrosoftCrmInput?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-can-I-retreive-the-label-text-from-option-set-data-type-with/m-p/2323729#M93525</link>
      <description>&lt;P&gt;Hello Sabrina,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My tMicrosoftCrmInput settings are:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Authentication Type: ONLINE&lt;/LI&gt;&lt;LI&gt;API Version v2016 (odata)&lt;/LI&gt;&lt;LI&gt;Registered application type: Native App&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Mon, 08 Feb 2021 14:32:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-can-I-retreive-the-label-text-from-option-set-data-type-with/m-p/2323729#M93525</guid>
      <dc:creator>Elmar010</dc:creator>
      <dc:date>2021-02-08T14:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: How can I retreive the label text from option set data type with tMicrosoftCrmInput?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-can-I-retreive-the-label-text-from-option-set-data-type-with/m-p/2323730#M93526</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We were confronted to the same problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We finally found a workaround. We use a tRestClient component to generate a Bearer token and then perform a Get request to retrieve from metadata entity a JSON mapping between value and label for the different optionset fields.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000F7Q8QAAV.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154133iF7983F9F201B8B76/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000F7Q8QAAV.png" alt="0695b00000F7Q8QAAV.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;B&gt;URL for the token generation (POST) : &lt;/B&gt;&lt;A href="https://login.microsoftonline.com/XXX/oauth2/v2.0/token" alt="https://login.microsoftonline.com/XXX/oauth2/v2.0/token" target="_blank"&gt;https://login.microsoftonline.com/XXX/oauth2/v2.0/token&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;B&gt;URL to get JSON mapping (GET) : &lt;/B&gt;&lt;A href="https://XXX/api/data/v9.1/EntityDefinitions" alt="https://XXX/api/data/v9.1/EntityDefinitions" target="_blank"&gt;https://XXX/api/data/v9.1/EntityDefinitions&lt;/A&gt;(LogicalName='xxx')/Attributes/Microsoft.Dynamics.CRM.PicklistAttributeMetadata?$select=LogicalName&amp;amp;$expand=OptionSet($select=Options),GlobalOptionSet($select=Options)"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this can help you and other users.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 07:03:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-can-I-retreive-the-label-text-from-option-set-data-type-with/m-p/2323730#M93526</guid>
      <dc:creator>EricMoss</dc:creator>
      <dc:date>2021-05-18T07:03:13Z</dc:date>
    </item>
  </channel>
</rss>

