Issue
As an individual, I need to chain queries that run on page load, but I am unsure if this is possible. I would like to know how to create a JavaScript function that can run on page load and chain my queries. Additionally, any resources or documentation on JavaScript Promises that could be helpful would be appreciated.
Resolution
You can create a JS function JS Object that you set to run on page load and chain your queries there.
Here is also our documentation on JavaScript Promises that might be helpful.