web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

How to add a "Reload" button to my page action bar?

(0) ShareShare
ReportReport
Posted on by 25

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:

pastedimage1678406354401v1.png

I would like to add an additional "Reload" button to this bar, like exists on the Web Services page:

pastedimage1678406482946v2.png

This will be faster than reloading the entire browser tab. How can this be achieved?

I have the same question (0)
  • Suggested answer
    Marco Mels Profile Picture
    on at

    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.

    www.yammer.com/dynamicsnavdev

    www.dynamicsuser.net/.../14

    I will open this up to the community in case they have something to add.

    Thanks.

  • Suggested answer
    Nitin Verma Profile Picture
    21,708 Moderator on at

    Hi,

    Just be on that page and Press F5 key it will refresh that page only not the entire browser tab

  • Verified answer
    Govinda Kumar Profile Picture
    2,304 Moderator on at

    Hi Ibu,

    For the Web service page, there is custom Reload action added

    pastedimage1678459789827v2.png
    pastedimage1678459721643v1.png

    like Nitin said... you can just press F5 and it will automatically reload the grid without refreshing the entire page..


    Regards

  • Ibu Profile Picture
    25 on at

    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.

    pastedimage1678469239974v1.png

    pastedimage1678469403325v2.png

  • Suggested answer
    Govinda Kumar Profile Picture
    2,304 Moderator on at

    Hi Ibu,

    Try adding FindFirst() in your reload action.

    You can just write it as
    pastedimage1678692586134v1.png

    It will automatically move you to the first record of the grid.

    Regards.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,917

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,161 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,025 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans