We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
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()?
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |