Saw there was an old post about this from 2021 (now closed) however the answer to that post has since changed
There used to be a "run this query when the app opens" but it looks like that is no longer available
So how do i run a query when the app opens? - for example I need to grab the logged in users details before doing anything else
Thanks
Hello!, you can do the following steps:
- Go to "
Code
" menu - Select the query you want to run on page load (opening the app, refreshing the page or resetting application state)
- Go to "
Advanced
" tab - Check "
Run this query on page load?
" option - Click on "
Save
"
1 Like
Yes, I found that eventually.
When I first create the REST api resource - that wasnt there! Refreshed the browser a couple times and then it appeared. I have raised it as a potential bug
Thanks