Skip to main content

Notifications

Dynamics 365 Community / Forums / Field Service forum / Fetch OnClick event of...
Field Service forum
Suggested answer

Fetch OnClick event of Lookup field

Posted on by 72

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.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Fetch OnClick event of Lookup field

    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

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,802 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,133 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,154

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans