<?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: Custom data connector (SDK) help required in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Custom-data-connector-SDK-help-required/m-p/554402#M17319</link>
    <description>&lt;P&gt;Are you saying that you want to populate a navigation table with a list of databases and, under each database, a list of tables and have it look something like what is described here in the multi-level navigation table section?&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-query/handlingnavigationtables" target="_blank"&gt;https://docs.microsoft.com/en-us/power-query/handlingnavigationtables&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 28 Oct 2018 11:41:16 GMT</pubDate>
    <dc:creator>cwebb</dc:creator>
    <dc:date>2018-10-28T11:41:16Z</dc:date>
    <item>
      <title>Custom data connector (SDK) help required</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-data-connector-SDK-help-required/m-p/547696#M17057</link>
      <description>&lt;P&gt;Dear Forum members,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on a small custom connector, it works fine so far. What I wanted to have it before connecting to the service I would have list of names, once user select this list then I will pass the selected user string to my service as a header value, is this possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want something similar to this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Microsoft/DataConnectors/tree/master/samples/HelloWorldWithDocs" target="_self"&gt;https://github.com/Microsoft/DataConnectors/tree/master/samples/HelloWorldWithDocs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What exactly needed is, I have list of names stored in my table in a database, I pull these names out first and display them as the above forum is showing then when user selects any of the value, I add this to my request header before calling the service. I am scratching my head, it seems possible by looking at the link above but not sure why I am unable to crack it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have to pass database name for variety of databases within SQL server - to do this I need to list all my db names within and then once user selects which database then service will be called which has a header value contains the DB name which then amend the connection string dynamically on the service side which finally pull the data out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please if anyone can shed some light, I am really running out of ideas here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks in advance&lt;/P&gt;</description>
      <pubDate>Sat, 20 Oct 2018 15:16:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-data-connector-SDK-help-required/m-p/547696#M17057</guid>
      <dc:creator>PowerBISDK</dc:creator>
      <dc:date>2018-10-20T15:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: Custom data connector (SDK) help required</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-data-connector-SDK-help-required/m-p/553947#M17286</link>
      <description>&lt;P&gt;If I understand you properly, then yes I think it should be possible. You should return a function in your Navigation table and then do something like this to populate the dropdown lists:&lt;/P&gt;&lt;P&gt;&lt;A href="https://blog.crossjoin.co.uk/2014/11/27/specifying-allowed-values-sample-values-and-descriptions-for-function-parameters-in-power-querypart-1/" target="_blank"&gt;https://blog.crossjoin.co.uk/2014/11/27/specifying-allowed-values-sample-values-and-descriptions-for-function-parameters-in-power-querypart-1/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://blog.crossjoin.co.uk/2014/12/02/specifying-allowed-values-sample-values-and-descriptions-for-function-parameters-in-power-querypart-2/" target="_blank"&gt;https://blog.crossjoin.co.uk/2014/12/02/specifying-allowed-values-sample-values-and-descriptions-for-function-parameters-in-power-querypart-2/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Fri, 26 Oct 2018 19:24:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-data-connector-SDK-help-required/m-p/553947#M17286</guid>
      <dc:creator>cwebb</dc:creator>
      <dc:date>2018-10-26T19:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: Custom data connector (SDK) help required</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-data-connector-SDK-help-required/m-p/554217#M17304</link>
      <description>&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much, appreciated Your response, i did see that but not sure how I am going to work out, infact the link given below from your website has another link within from one of the responses from the&amp;nbsp; "George Qiaos"&lt;SPAN class="says"&gt;&amp;nbsp;to make it dynamic, but his example is within Power BI and uses temporary table within the Power BI.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="says"&gt;I am still trying to make sense of your posts which I did try previously but did not get anywhere, any sample with dynamic list would be great if you ahve otherwise I will try and work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="says"&gt;I am trying to work out other solution, if you can throw some light or share some sample would be really great. What I am thinking to do is instead for the user which is logged on - I bring the complete dataset with all the dbs the user has access to list them with the number of tables, kind of nested tables but within each databases - ItemKind database.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="says"&gt;Is there anyway I can itterate through each database name which I bring from the database first and for each database I will then call my service and create a navigational view something like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="says"&gt;DB1&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;List of tables (probably 4-5 or may be 10 based on restrictions)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="says"&gt;DB2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="says"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;SPAN&gt;List of tables (probably 4-5 or may be 10 based on restrictions)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="says"&gt;DB3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="says"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; List of tables (probably 4-5 or may be 10 based on restrictions)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In simple, I would like to call my service method to provide me list of databases, which then loop through for each of the DB to do a service call with the DB name then bring the relevant tables with the data and create an hierarchical structure based on the database which it belongs to.&lt;/P&gt;</description>
      <pubDate>Sat, 27 Oct 2018 12:16:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-data-connector-SDK-help-required/m-p/554217#M17304</guid>
      <dc:creator>PowerBISDK</dc:creator>
      <dc:date>2018-10-27T12:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: Custom data connector (SDK) help required</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-data-connector-SDK-help-required/m-p/554402#M17319</link>
      <description>&lt;P&gt;Are you saying that you want to populate a navigation table with a list of databases and, under each database, a list of tables and have it look something like what is described here in the multi-level navigation table section?&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-query/handlingnavigationtables" target="_blank"&gt;https://docs.microsoft.com/en-us/power-query/handlingnavigationtables&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Oct 2018 11:41:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-data-connector-SDK-help-required/m-p/554402#M17319</guid>
      <dc:creator>cwebb</dc:creator>
      <dc:date>2018-10-28T11:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: Custom data connector (SDK) help required</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-data-connector-SDK-help-required/m-p/554430#M17320</link>
      <description>&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your response,&amp;nbsp;Yes, exactly, multi-level or nested navigation, I have tried using the hard-coded sample then changed the code to bring databases dynamically in the name part as below, i have tried to create a sample code for what I required, not sure how to loop through each table to pass its name and get the tables relevant to it:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;shared NavigationTable.Nested = (url) as table =&amp;gt; let objects &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;= #table( {"Name", "Key", "Data", "ItemKind", "ItemName", "IsLeaf"},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{ {GetDatabaseName(url), "n1", NavTable(url), "Database", "Database", false}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; }), NavTable = Table.ToNavigationTable(objects, {"Key"}, "Name", "Data", "ItemKind", "ItemName", "IsLeaf") in NavTable; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;GetDatabaseName&lt;/SPAN&gt;= (url as text) as table =&amp;gt;&lt;BR /&gt;let&lt;BR /&gt;&lt;BR /&gt;Source = DataConnector_3.Feed(url &amp;amp; "GetDatabases"),&amp;nbsp;&lt;BR /&gt;json = Json.Document(Source,1252),&lt;BR /&gt;MyJsonTable= Table.FromRecords(json),&lt;BR /&gt;#"Removed Other Columns" = Table.SelectColumns(MyJsonTable,{"DBName"})&lt;/P&gt;&lt;P&gt;in&lt;BR /&gt;#"Removed Other Columns";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NavTable = (url as text) as table =&amp;gt;&lt;BR /&gt;let&lt;BR /&gt;source = #table({"Name", "Data", "ItemKind", "ItemName", "IsLeaf"}, {&lt;BR /&gt;{ "Table1", GetTable1(url), "Table", "Table", true}&lt;BR /&gt;}),&lt;BR /&gt;navTable = Table.ToNavigationTable(source, {"Name"}, "Name", "Data", "ItemKind", "ItemName", "IsLeaf")&lt;BR /&gt;&lt;BR /&gt;in&lt;BR /&gt;navTable;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;GetTable1 &lt;/SPAN&gt;= (url as text,dbname as text) as table =&amp;gt;&lt;BR /&gt;let&lt;BR /&gt;Source = DataConnector.Feed(url &amp;amp; "GetTable1",dbname),&lt;BR /&gt;json = Json.Document(Source,1252),&lt;BR /&gt;MyJsonTable= Table.FromRecords(json)&lt;BR /&gt;in&lt;BR /&gt;MyJsonTable;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;DataConnector.Feed = (url as text, optional dbname as text) =&amp;gt;&lt;BR /&gt;let&lt;BR /&gt;Credential = Extension.CurrentCredential(),&lt;BR /&gt;split=Text.Split(Credential[Username],"#"),&lt;BR /&gt;source = Web.Contents(url, [ Headers = DefaultRequestHeaders, ManualCredentials = true, Query = [&lt;BR /&gt;user_key = split, db_name=dbname]]),&lt;BR /&gt;json = Json.Document(source)&lt;BR /&gt;in&lt;BR /&gt;json;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am not sure, how to itterate the "NavigationTable.Nested" function for each database for which the db name would be pass to CreateNavTable funtion.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have searched internet and still un-able to find any sample which helps me create dynamic navigation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do you know any sample available for dynamic navigation? Would be really helpful.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Oct 2018 14:51:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-data-connector-SDK-help-required/m-p/554430#M17320</guid>
      <dc:creator>PowerBISDK</dc:creator>
      <dc:date>2018-10-28T14:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: Custom data connector (SDK) help required</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-data-connector-SDK-help-required/m-p/882400#M21794</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Were you able to find the solution to this problem, i am also trying to do something like this in my custom connector.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2019 04:52:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-data-connector-SDK-help-required/m-p/882400#M21794</guid>
      <dc:creator>Anuj6</dc:creator>
      <dc:date>2019-12-23T04:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: Custom data connector (SDK) help required</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-data-connector-SDK-help-required/m-p/912953#M22116</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Rather than build a connector in the power query SDK why not build it outside in the cloud?&lt;BR /&gt;&lt;BR /&gt;My course teaches you exactly how to do this and goes through detailed walkthroughs and everything I do is done without writing any code!&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://businessautomator.co.uk/no-code-business-intelligence-connector-development/" target="_blank"&gt;https://businessautomator.co.uk/no-code-business-intelligence-connector-development/&lt;/A&gt;</description>
      <pubDate>Mon, 27 Jan 2020 21:44:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-data-connector-SDK-help-required/m-p/912953#M22116</guid>
      <dc:creator>Jeanesh</dc:creator>
      <dc:date>2020-01-27T21:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: Custom data connector (SDK) help required</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-data-connector-SDK-help-required/m-p/1613372#M27398</link>
      <description>&lt;P&gt;any solutions for the issue so far?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 07:55:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-data-connector-SDK-help-required/m-p/1613372#M27398</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-21T07:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Custom data connector (SDK) help required</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-data-connector-SDK-help-required/m-p/1613407#M27399</link>
      <description>&lt;P&gt;any solutions for this? tried existing, not working.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 08:02:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-data-connector-SDK-help-required/m-p/1613407#M27399</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-21T08:02:48Z</dc:date>
    </item>
  </channel>
</rss>

