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...
Unanswered

CurrPage.Update in EventSubscriber

(1) ShareShare
ReportReport
Posted on by 377
Hi,
 
I have created an event subscriber for an OnBefore___AssistEdit integration event and I need to set the IsHandled parameter to true to skip the base code.
However, at the end of the base code there is a CurrPage.Update().
How can I call that from the event subscriber?
Is it even possible? If not, what are my options to replicate the base code as much as possible.
Do I need to hide the base field and create my own?
 
-Julie
I have the same question (0)
  • YUN ZHU Profile Picture
    95,331 Super User 2025 Season 2 on at
    As far as I know, there is no good way. CurrPage is only valid on the current page.
    So for the behavior of the page, it is recommended to use Page extension, and the logic can be skipped by event.
     
    Hope this can give you some hints.
    Thanks.
    ZHU
  • Juliem Profile Picture
    377 on at
    So you are saying to still use the event subscriber with the IsHandled := true and add a page extension and do the currpage.update in the onassistedit trigger of the field?
  • YUN ZHU Profile Picture
    95,331 Super User 2025 Season 2 on at
    Yes, I think this would meet your needs.

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 3,143

#2
Jainam M. Kothari Profile Picture

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

#3
YUN ZHU Profile Picture

YUN ZHU 1,067 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans