Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

RegisterOverrideMethod

Posted on by 1,085
Hi,

can we use "register override method" when overriding lookup for reference group? if yes then how?
Categories:
  • .. Profile Picture
    .. 1,085 on at
    RegisterOverrideMethod
    Ok, if I will go with the lookup reference example, they also use resolveReference method with it, do i need it as well? And what does this resolveReference do in the first place?
  • Martin Dráb Profile Picture
    Martin Dráb 230,214 Most Valuable Professional on at
    RegisterOverrideMethod
    I'm not sure, but I always use the method specific to reference groups: lookupReference().
  • .. Profile Picture
    .. 1,085 on at
    RegisterOverrideMethod
    Hi Martin,

    one of your examples uses "formReferenceControl" with "lookupReference" method and "resolveReference" method, like this:



    And the other one uses "formReferenceGroupControl" with "lookup" method

     
    what's the difference between the two??
  • Suggested answer
    Martin Dráb Profile Picture
    Martin Dráb 230,214 Most Valuable Professional on at
    RegisterOverrideMethod
    Yes, it's possible.
     
    You can find several examples in the existing codebase, e.g. in BusinessProcessGenericTaskEditorDialog_PersonnelManagement_Extension or CaseDetailEventHandler class.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans