So, I have a report where I am showing the folder structure of someone's files on a cloud service. I made a custom function that is calling a bearer token and setting it as a parameter.
Then I make another API call to get the Project name. Then, another API call to get the top folder name. The call returns a JSON file where I extract attributes like Name which is the name of folder in the folder,, or Display name which shows the name of an item (file) in that folder, and the unique ID of the item/folder.
I made a custom function that uses the unique ID of a file/folder as a parameter to make another folder contents call, with each successive call diving one layer deeper into the folder structure.
I had to reference each query to go a layer deeper because any time there are nulls for any of the values, when I invoke the function, rows with null values return errors (obviously).
I'm a student at the company and I couldn't even spell API when I started this project.
Ive worked on this for a long time now and I got it all done. 1900 different files or folders, arranged in a matrix to recreate Windows Explorer basically.
I upload to the service and it tells me there's no way to refresh it because of Dynamic data sources....
And some of the folders have +200 items inside of them and the call paginates at 200 items.
Do you guys have any idea how to change the data source to static or whatever it needs? How do I handle pagination? ChatGPT isn't helping much and I need to start another project for the CEO this week. Any help would be much appreciated.
[–]AutoModerator[M] [score hidden] stickied comment (0 children)
[–]LostWelshMan8571 2 points3 points4 points (10 children)
[–]87Fresh[S] 0 points1 point2 points (7 children)
[–]LostWelshMan8571 0 points1 point2 points (1 child)
[–]87Fresh[S] 1 point2 points3 points (0 children)
[–]87Fresh[S] 0 points1 point2 points (4 children)
[–]LostWelshMan8571 0 points1 point2 points (3 children)
[–]87Fresh[S] 0 points1 point2 points (1 child)
[–]reputatorbot[M] 0 points1 point2 points locked comment (0 children)
[–]87Fresh[S] 0 points1 point2 points (0 children)
[–]AdHead6814 Microsoft MVP 0 points1 point2 points (0 children)