<?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 Collapse `Advanced options` record on custom connector in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Collapse-Advanced-options-record-on-custom-connector/m-p/2639481#M37353</link>
    <description>&lt;P&gt;hi all - I've got a custom connector the function for which supports an options record as per &lt;A href="https://docs.microsoft.com/en-us/power-query/odbc#data-source-function-guidelines" target="_self"&gt;guidelines.&lt;/A&gt;&amp;nbsp;There are some areas I would like to improve though with regards the new data source dialog UX.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Primarily, by default the options record is expanded when creating a new data source. This does not appear to be the case with (at least some, e.g. ODBC) built in connectors but I can't find any documentation on how to govern the expanded state.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The options record parameter on my function typelooks like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;&lt;SPAN&gt;optional options as (type&lt;BR /&gt;&amp;nbsp; [&lt;BR /&gt;&amp;nbsp; optional CommandTimeout = (&lt;BR /&gt;&amp;nbsp; type number meta [&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Documentation.FieldCaption = "Command timeout (seconds)",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Documentation.FieldDescription = "Timeout for individual queries. If unspecified platform defaults will apply.",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Documentation.SampleValues = {"120"}&lt;BR /&gt;&amp;nbsp; ]),&lt;BR /&gt;&amp;nbsp; optional MaxCellsPerPage = (&lt;BR /&gt;&amp;nbsp; type number meta [&lt;BR /&gt;&amp;nbsp; &amp;nbsp;Documentation.FieldCaption = "Maximum cells per response page",&lt;BR /&gt;&amp;nbsp; &amp;nbsp;Documentation.FieldDescription = "Maximum number of cells in a single query response page.",&lt;BR /&gt;&amp;nbsp; &amp;nbsp;Documentation.SampleValues = {"3000"}&lt;BR /&gt;&amp;nbsp; ])&lt;BR /&gt;] meta [&lt;BR /&gt;&amp;nbsp; Documentation.FieldCaption = "Advanced options"&lt;BR /&gt;])&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any advice/pointers on how to adjust the UX much appreciated. What I'm aiming for is something that defaults like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="odbc_advanced_options.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/748424i2F5924AB7A13DD15/image-size/large?v=v2&amp;amp;px=999" role="button" title="odbc_advanced_options.png" alt="odbc_advanced_options.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Jul 2022 17:54:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-07-14T17:54:38Z</dc:date>
    <item>
      <title>Collapse `Advanced options` record on custom connector</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Collapse-Advanced-options-record-on-custom-connector/m-p/2639481#M37353</link>
      <description>&lt;P&gt;hi all - I've got a custom connector the function for which supports an options record as per &lt;A href="https://docs.microsoft.com/en-us/power-query/odbc#data-source-function-guidelines" target="_self"&gt;guidelines.&lt;/A&gt;&amp;nbsp;There are some areas I would like to improve though with regards the new data source dialog UX.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Primarily, by default the options record is expanded when creating a new data source. This does not appear to be the case with (at least some, e.g. ODBC) built in connectors but I can't find any documentation on how to govern the expanded state.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The options record parameter on my function typelooks like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;&lt;SPAN&gt;optional options as (type&lt;BR /&gt;&amp;nbsp; [&lt;BR /&gt;&amp;nbsp; optional CommandTimeout = (&lt;BR /&gt;&amp;nbsp; type number meta [&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Documentation.FieldCaption = "Command timeout (seconds)",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Documentation.FieldDescription = "Timeout for individual queries. If unspecified platform defaults will apply.",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Documentation.SampleValues = {"120"}&lt;BR /&gt;&amp;nbsp; ]),&lt;BR /&gt;&amp;nbsp; optional MaxCellsPerPage = (&lt;BR /&gt;&amp;nbsp; type number meta [&lt;BR /&gt;&amp;nbsp; &amp;nbsp;Documentation.FieldCaption = "Maximum cells per response page",&lt;BR /&gt;&amp;nbsp; &amp;nbsp;Documentation.FieldDescription = "Maximum number of cells in a single query response page.",&lt;BR /&gt;&amp;nbsp; &amp;nbsp;Documentation.SampleValues = {"3000"}&lt;BR /&gt;&amp;nbsp; ])&lt;BR /&gt;] meta [&lt;BR /&gt;&amp;nbsp; Documentation.FieldCaption = "Advanced options"&lt;BR /&gt;])&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any advice/pointers on how to adjust the UX much appreciated. What I'm aiming for is something that defaults like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="odbc_advanced_options.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/748424i2F5924AB7A13DD15/image-size/large?v=v2&amp;amp;px=999" role="button" title="odbc_advanced_options.png" alt="odbc_advanced_options.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2022 17:54:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Collapse-Advanced-options-record-on-custom-connector/m-p/2639481#M37353</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-07-14T17:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: Collapse `Advanced options` record on custom connector</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Collapse-Advanced-options-record-on-custom-connector/m-p/2644665#M37414</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please review the following links, hope they can help you.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-query/connectors/essbase#connect-using-advanced-options" target="_self"&gt;Connect using advanced options&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-query/additional-connector-functionality#native-database-query-support" target="_self"&gt;Additional connector functionality&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-query/samplesdirectory" target="_self"&gt;List of Samples&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 11:06:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Collapse-Advanced-options-record-on-custom-connector/m-p/2644665#M37414</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-07-18T11:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: Collapse `Advanced options` record on custom connector</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Collapse-Advanced-options-record-on-custom-connector/m-p/2645281#M37420</link>
      <description>&lt;P&gt;Thanks for taking the time to respond and the pointers&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Essbase connector you cite does show some of the more advanced UX patterns I'd like to acheive but I don't think the source is available for this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Of the samples only HelloWorld covers some basic documentation. It feels like there is posiibly an undocumented area of the SDK here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are a number of UI choices I see on other connectors which don't appear to be acheivable using the function documentation options I am aware of (&lt;FONT face="courier new,courier"&gt;Documentation.&lt;/FONT&gt; and &lt;FONT face="courier new,courier"&gt;Formatting.&lt;/FONT&gt;&amp;nbsp;fields).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My connector is functioning as I want and I can surface any settings I need but it seems like I am missing something wrt to how to tweak what UI Power BI will show on adding a data source. To include some additional examples:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;(as per this post) I can't find the option which would cause the UX associated with the&lt;EM&gt; Advanced options&lt;/EM&gt; record to resolve to a collapsed rather than expanded section by default.&lt;/LI&gt;&lt;LI&gt;I can enable direct query via&amp;nbsp;&lt;FONT face="courier new,courier"&gt;SupportsDirectQuery&lt;/FONT&gt; on the &lt;FONT face="courier new,courier"&gt;Publish&lt;/FONT&gt; record but the radio buttons associated with this always appear at the bottom of the dialog for me - whereas some connectors (e.g. &lt;A href="https://docs.microsoft.com/en-us/power-query/connectors/essbase#connect-to-essbase-from-power-query-desktop" target="_self"&gt;Essbase&lt;/A&gt;&amp;nbsp;) indicate that this need not always be the case.&lt;/LI&gt;&lt;LI&gt;So far I have not been able to get a field on a record parameter (e.g. an entry under Advanced options) to respect the formatting options (e.g.&amp;nbsp;&lt;FONT face="courier new,courier"&gt;Formatting.IsMultiLine&lt;/FONT&gt;) whereas the&amp;nbsp;&lt;FONT face="courier new,courier"&gt;Documentation.&lt;/FONT&gt; metadata is respected. Again I see this in other connectors (typically multiline SQL entry fields under advanced options) so it must be possible.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Mon, 18 Jul 2022 15:07:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Collapse-Advanced-options-record-on-custom-connector/m-p/2645281#M37420</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-07-18T15:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: Collapse `Advanced options` record on custom connector</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Collapse-Advanced-options-record-on-custom-connector/m-p/3543015#M45427</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Did you found a solution?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Francesca&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 17:38:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Collapse-Advanced-options-record-on-custom-connector/m-p/3543015#M45427</guid>
      <dc:creator>FrancescaBatt</dc:creator>
      <dc:date>2023-11-20T17:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: Collapse `Advanced options` record on custom connector</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Collapse-Advanced-options-record-on-custom-connector/m-p/3545135#M45440</link>
      <description>&lt;P&gt;Afraid not Francesca, I haven't been able to progress this yet.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2023 15:52:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Collapse-Advanced-options-record-on-custom-connector/m-p/3545135#M45440</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-11-21T15:52:00Z</dc:date>
    </item>
  </channel>
</rss>

