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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Modifying/Extending standard code in Form Init() method - Form Extension

(0) ShareShare
ReportReport
Posted on by 80

Hi all, 

I have a standard form. In the init method there is standard if condition as shown in the below screenshot. I need to add additional OR condition with my custom Display menu item. 

How can I extend the standard form to modify the existing standard condition. 

pastedimage1603784397701v1.png

Thoughts on this will be very helpful. 

Regards

Sabarish

I have the same question (0)
  • WillWU Profile Picture
    22,363 on at

    Hi Sabarish,

    I think you can't reach that by yourself.

    But you can create an extensibility request for Microsoft in Lifecycle Services.

    docs.microsoft.com/.../extensibility-requests

  • Verified answer
    Martin Dráb Profile Picture
    238,127 Most Valuable Professional on at

    You can't change the code - but you extend it.

    For example, use CoC to add extra code after the standard init() method. There you check if the menu item is yours, set the variables and call the method.

  • Suggested answer
    Sabarish Profile Picture
    80 on at

    I was able to solve the issue , Thanks for your help.

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

News and Announcements

Season of Giving Solutions is Here!

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 679 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

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

#3
Martin Dráb Profile Picture

Martin Dráb 292 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans