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 :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

Fetch OnClick event of Lookup field

(0) ShareShare
ReportReport
Posted on by 74

Hello,

I am trying to fetch an OnClick event of Lookup Field since I have to pass variables having field name while calling a function when NEW record is created.

I tried using PreSearch event handler but it is working only when a search icon is clicked. 

pastedimage1654064906916v1.png

I would rather want to capture the click event of field and call a function on that.

All suggestions are welcomed.

Thank you in advance.

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Mansi M,

    Unfortunately, there is no onclick event on lookup fields. Here is the list of client-side events and no event can achieve your requirement:

    docs.microsoft.com/.../events

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 > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 73 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 42 Most Valuable Professional

#3
Scott Jackson UK Profile Picture

Scott Jackson UK 22

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans