Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Open lookup record trough view

(0) ShareShare
ReportReport
Posted on by 5

I have an entity A that has a lookup field to entity B and a lookup field to entity C.

On the main view of entity A, the users see these lookup fields and can click on it. If they do this, i want a specific tab open on these records. How do I do this?

Remember, when the user  opens a record on entity B or C trough the main view of those entities, the default first tab must open.

I found this to set the focus of the tab:

https://docs.microsoft.com/en-us/power-apps/developer/model-driven-apps/clientapi/reference/formcontext-ui-tabs/setfocus

and the event OnLookupTagClick (but i think i can only use this in a webresource on the form itself, not on the view)

https://docs.microsoft.com/en-us/power-apps/developer/model-driven-apps/clientapi/reference/events/onlookuptagclick

  • Olav1880 Profile Picture
    5 on at
    RE: Open lookup record trough view

    Thank you for your reply, but i assume you can only set the handler on the form of entity A, not on a view.

  • a33ik Profile Picture
    84,331 Most Valuable Professional on at
    RE: Open lookup record trough view

    Hello,

    You might try the following approach:

    1. Add a custom parameter to the form - www.inogic.com/.../

    2. Add a script to the form that checks if the parameter is available and sets focus to the proper tab.

    3. Add a handler to OnLookupTagClick to open a proper form passing the parameter to the opening form.

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 225 Super User 2025 Season 1

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 106 Most Valuable Professional

#3
Eugen Podkorytov Profile Picture

Eugen Podkorytov 87

Overall leaderboard

Product updates

Dynamics 365 release plans