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

Community site session details

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

How do I refresh a page in an OnAfterGetRecord() trigger?

(0) ShareShare
ReportReport
Posted on by 481

Currently working on a page extensions for the Sales Invoice page. After modifying a field on the Sales Header, I want to refresh the Sales Invoice page so that it reflects the change. How do I do this?

I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    94,359 Super User 2025 Season 2 on at
    RE: How do I refresh a page in an OnAfterGetRecord() trigger?

    Hi, I think you can use the following method.

    Page.Update([Boolean]) Method: https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/page/page-update-method

    For example,

    pastedimage1655251876793v1.png

    Hope this helps.

    Thanks.

    ZHU

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,901

#2
YUN ZHU Profile Picture

YUN ZHU 2,079 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 2,041

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans