How to retrieve set lookup record information using addOnLookupTagClick() function

InogicDyn365CE2 years ago10 Views


Introduction:

In this blog, we will check how can we get the entity record information that is set in lookup control without losing the main entity form context.

Problem:

While we are on a record form of an entity, if we want to get the information about the record that is set in a lookup control within that record form, then we need to click on the record link on lookup control. When we click on the link of the lookup control, the respective set record gets opened in the same window and we lose the current entity from context. Let us take an example, suppose we open an Opportunity entity form that has an Account entity lookup control. We want to see the details about the respective account record that is set in lookup control, but the problem here is that when we click on lookup control we are redirected to the Account entity form of the respective set account record as shown in the below screenshot. In this case, we lose the main entity form context i.e Opportunity entity form.

addOnLookupTagClick

addOnLookupTagClick

Source link

Leave a reply

Join Us
  • X Network2.1K
  • LinkedIn3.8k
  • Bluesky0.5K
Support The Site
Events
February 2025
MTWTFSS
      1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28   
« Jan   Mar »
Follow
Sign In/Sign Up Sidebar Search
Popular Now
Loading

Signing-in 3 seconds...

Signing-up 3 seconds...