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 :
Finance | Project Operations, Human Resources, ...
Unanswered

Is it mandatory to do Hookable(True) for the Private and Protected method in Event handlers

(0) ShareShare
ReportReport
Posted on by 436
Dear team,
 
Is it mandatory to do Hookable(True) for the Private and Protected method in Event handlers.
 
Kindly provide me any one example , how I can do the approach , if I need to add some code for Private or Protected method with event handlers.
 
Thanks in advance.
Categories:
I have the same question (0)
  • Layan Jwei Profile Picture
    8,001 Super User 2025 Season 2 on at
    Is it mandatory to do Hookable(True) for the Private and Protected method in Event handlers
    Hi,
     
    Yes as André said it's not mandatory.
    You use it to allow protected and private methods to have post/pre event handlers
     

    Thanks,
    Layan Jweihan
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future.

  • André Arnaud de Calavon Profile Picture
    297,830 Super User 2025 Season 2 on at
    Is it mandatory to do Hookable(True) for the Private and Protected method in Event handlers
    Assuming your question is about Dynamics 365, like your other recent question, then the Hookable(true) is not mandatory. This is only useful when you want to override the standard behavior of pre- and post events.
  • André Arnaud de Calavon Profile Picture
    297,830 Super User 2025 Season 2 on at
    Is it mandatory to do Hookable(True) for the Private and Protected method in Event handlers
    Hi,

    You used the category tag Microsoft Dynamics AX. Is your question about AX2012 or Dynamics 365 Finance and Operations?

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Sohaib Cheema Profile Picture

Sohaib Cheema 841 User Group Leader

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 753 Super User 2025 Season 2

#3
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 566

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans