<?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 Custom Connector - Test Connection - Navigation Pane in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Connector-Test-Connection-Navigation-Pane/m-p/1304084#M25314</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm building a Proof of concept of a custom connector, and I'm having some issues at the moment of displaying the data in the navigation pane. I can retrieve data just fine without navigation pane, the key I'm using, a refresh token, works great if I retrieve a table directly. But because I'm using a TestConnection clause, the navigation pane seems use that method of authentication instead of the "normal" one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently, I'm using this code for "Data Source Kind description".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;PQExtension1 = [
    // TestConnection is required to enable the connector through the Gateway
    TestConnection = (dataSourcePath) =&amp;gt; { "PQExtension1.Contents" },
    Authentication = [
         Key = [Label= "Refresh Token"]
    ],
    Label = "Test Connection"
];&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I'm using the function below to use the refresh token.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Extension.CurrentCredential()[Key]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For demonstration purposes, I've established the name of the table in the navigation pane, as the refresh token.&lt;/P&gt;&lt;P&gt;If I do the call from Visual Studio, I get the refresh token in the name, as the image below&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="acanepa_0-1597753828448.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/335710i7B036AF013B28AA1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="acanepa_0-1597753828448.png" alt="acanepa_0-1597753828448.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But, similarly, if I do the same action on PoweBi the name changes to &lt;STRONG&gt;TestConnection = (datasourcepath) =&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="acanepa_1-1597753900184.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/335711i5D10627F3C9FF1D0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="acanepa_1-1597753900184.png" alt="acanepa_1-1597753900184.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Do you know how to solve this? Do I need to change the definition inside the TestConnection?&lt;/P&gt;&lt;P&gt;I'm using TestConnection for being able to use a Data Gateway. I got the examples from TriPin Github.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/microsoft/DataConnectors/blob/master/samples/TripPin/9-TestConnection/TripPin.pq" target="_blank"&gt;https://github.com/microsoft/DataConnectors/blob/master/samples/TripPin/9-TestConnection/TripPin.pq&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-query/handlinggatewaysupport" target="_blank"&gt;https://docs.microsoft.com/en-us/power-query/handlinggatewaysupport&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
    <pubDate>Tue, 18 Aug 2020 12:34:04 GMT</pubDate>
    <dc:creator>acanepa</dc:creator>
    <dc:date>2020-08-18T12:34:04Z</dc:date>
    <item>
      <title>Custom Connector - Test Connection - Navigation Pane</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Connector-Test-Connection-Navigation-Pane/m-p/1304084#M25314</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm building a Proof of concept of a custom connector, and I'm having some issues at the moment of displaying the data in the navigation pane. I can retrieve data just fine without navigation pane, the key I'm using, a refresh token, works great if I retrieve a table directly. But because I'm using a TestConnection clause, the navigation pane seems use that method of authentication instead of the "normal" one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently, I'm using this code for "Data Source Kind description".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;PQExtension1 = [
    // TestConnection is required to enable the connector through the Gateway
    TestConnection = (dataSourcePath) =&amp;gt; { "PQExtension1.Contents" },
    Authentication = [
         Key = [Label= "Refresh Token"]
    ],
    Label = "Test Connection"
];&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I'm using the function below to use the refresh token.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Extension.CurrentCredential()[Key]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For demonstration purposes, I've established the name of the table in the navigation pane, as the refresh token.&lt;/P&gt;&lt;P&gt;If I do the call from Visual Studio, I get the refresh token in the name, as the image below&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="acanepa_0-1597753828448.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/335710i7B036AF013B28AA1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="acanepa_0-1597753828448.png" alt="acanepa_0-1597753828448.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But, similarly, if I do the same action on PoweBi the name changes to &lt;STRONG&gt;TestConnection = (datasourcepath) =&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="acanepa_1-1597753900184.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/335711i5D10627F3C9FF1D0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="acanepa_1-1597753900184.png" alt="acanepa_1-1597753900184.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Do you know how to solve this? Do I need to change the definition inside the TestConnection?&lt;/P&gt;&lt;P&gt;I'm using TestConnection for being able to use a Data Gateway. I got the examples from TriPin Github.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/microsoft/DataConnectors/blob/master/samples/TripPin/9-TestConnection/TripPin.pq" target="_blank"&gt;https://github.com/microsoft/DataConnectors/blob/master/samples/TripPin/9-TestConnection/TripPin.pq&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-query/handlinggatewaysupport" target="_blank"&gt;https://docs.microsoft.com/en-us/power-query/handlinggatewaysupport&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Tue, 18 Aug 2020 12:34:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Connector-Test-Connection-Navigation-Pane/m-p/1304084#M25314</guid>
      <dc:creator>acanepa</dc:creator>
      <dc:date>2020-08-18T12:34:04Z</dc:date>
    </item>
  </channel>
</rss>

