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, ...
Answered

create method for a datasource field of a form extension

(0) ShareShare
ReportReport
Posted on by

Hello everyone, I am migrating a code from AX2012 to d365FO, and I find that I have to pass a lookup method to the route

\Forms\VendTable\Data Sources\VendTable\Fields\MyField\Methods\lookup

The form is standard so I extended the form, the field is a custom field, but I can't (or don't know) how to add the method in Finance Operation.
I appreciate your help . Thank you

I have the same question (0)
  • Verified answer
    GirishS Profile Picture
    27,825 Moderator on at
    RE: create method for a datasource field of a form extension

    Hi,

    You need to write an lookup event handler even if its a custom field in standard table.

    Refer to the below blog which explains about how to write lookup event handlers.

    https://dynamics365musings.com/override-an-existing-lookup-method-event-handler/

    Thanks,

    Girish S.

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

#1
André Arnaud de Calavon Profile Picture

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

#2
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 588

#3
Martin Dráb Profile Picture

Martin Dráb 542 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans