I created a simple page in AL presenting data from a source table. By default, the action bar comes with button to create / search / edit / delete records:
I would like to add an additional "Reload" button to this bar, like exists on the Web Services page:
This will be faster than reloading the entire browser tab. How can this be achieved?
Hi Ibu,
Try adding FindFirst() in your reload action.
You can just write it as
It will automatically move you to the first record of the grid.
Regards.
Several months using Business Central and I did not know F5 behaved this way! :) Still, I prefer having an explicit button as I suspect other users might also be unaware.
Thanks for putting me on the right path. The following code also "promotes" the action button to be rendered directly in the bar.
Would you know how I can also make the list view container scroll all the way to the top? As it currently stands, whether I use this action button or F5, new items appear outside of the view port and manual scrolling to the top is required to notice the effects of the refresh.
Hi Ibu,
For the Web service page, there is custom Reload action added
like Nitin said... you can just press F5 and it will automatically reload the grid without refreshing the entire page..
Regards
Hi,
Just be on that page and Press F5 key it will refresh that page only not the entire browser tab
Hello,
We currently do not have dedicated Dev support via the Dynamics 365 Business Central forums, but I wanted to provide you some additional resources to assist. If you need assistance with debugging or coding I would recommend discussing this on one of our communities.
I will open this up to the community in case they have something to add.
Thanks.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,232 Super User 2024 Season 2
Martin Dráb 230,064 Most Valuable Professional
nmaenpaa 101,156