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 am currentely trying to build a custom connector to an API using pagination. I have understood that I need to use Table.GenerateByPage(), however there are not any examples on how to do this for APIs that are not OData-ready.
I receive the folowing metadata when the current page is not the current page:
And this if I am on the last page:
So how do refer to the url marked <Link rel="next"?
The code when dealing with OData.Nextlink would typically begin like this:
Page = (url as text) as nullable table => let response = Web.Contents(url, [ Headers = BuildHeader()]), body = Json.Document(response), nextLink = GetNextLink(body), data = Table.FromRecords(body[next]) in data meta [next = nextLink];
But what can I write instead of GetNextLink()?
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 |
---|---|
13 | |
2 | |
2 | |
1 | |
1 |