Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi!
I'm trying to build a custom data connector to the data source through it's API. The problem is that I don't know exactly how many tables are there, what are their names etc. So I need to see all the tables when I connect to the API. With OData.Feed you have it by default, but with Web.Contents I have to use Table.ToNavigationTable function. But to use it I have to create a table with a required structure. What I don't understand is how to create this structure without knowing names of the tables. And if one day new table is added, how to get it automatically? Any ideas, links?
Solved! Go to Solution.
If you don't have a list of tables, simply add a text field in the connector for the user to manually type it in. Then just skip the navigation table and return the requested table.
If you don't have a list of tables, simply add a text field in the connector for the user to manually type it in. Then just skip the navigation table and return the requested table.
Thank you! So, in general, there is no way to get all the tables without knowing them in advance.
Hi @Igorpole ,
In other words, when you use the Web.Contents connect to the API, there is no navigation bar as follows?
This is because the API returns data in JSON format, so there is no navigation bar.
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi! To be precise there is no navigation table in the case of Web.Contents as there is no metadata returned as in the case of OData. Feed.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
12 | |
2 | |
1 | |
1 | |
1 |