AppDB Pagination

Reply
Highlighted
White Belt

AppDB Pagination

Im using AppDB for storing data in my custom Domo app. Wondering how i can do paging with AppDB since i can't find any paging instruction in AppDB documentation: 

https://developer.domo.com/docs/dev-studio-references/appdb#Querying%20Documents

Highlighted
Black Belt

I guess it depends on what you're storing in AppDb vs. what you're pulling from Domo Vault.

 

AppDB won't naturally support pagination b/c it doesn't Domo hasn't built filtering AppDB API.  You'd have to do all the filtering AFTER pulling the data into the app.

 

If you're pulling data from a Vault dataset, you can use the SQL API to filter / paginate the results using LIMIT.

 

So if your data MUST originate from AppDB && you want to paginate data from AppDB, then you should sync the AppDB collection with Vault and then use SQL API to pull data from Vault.

 

SQL API

https://developer.domo.com/docs/dataset-api-reference/dataset

 

Exporting Collections to Vault

https://developer.domo.com/docs/dev-studio-references/appdb#Manually%20Exporting%20Collections


Jae Wilson
Check out my Domo Training YouTube Channel

**Say "Thanks" by clicking the heart in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"
Highlighted
Black Belt

Side note,  I do hang out in the Domo User Group Slack channel, https://join.slack.com/t/domousergroup/shared_invite/zt-dxq99gyf-MBatRTzIbpUAqTCYfDDJZw  If you have questions about getting stuff done in custom apps, I'm working on building up a network of Domo app developers!


Jae Wilson
Check out my Domo Training YouTube Channel

**Say "Thanks" by clicking the heart in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"
Announcements
Domopalooza 2021 Call for Presenters: We want to hear how Domo is revolutionizing the way you do business!

Click here to submit your story.