web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
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

I have the same question (0)
  • a33ik Profile Picture
    84,331 Most Valuable Professional on at

    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.

  • Olav1880 Profile Picture
    5 on at

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

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 73 Super User 2026 Season 1

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

#3
11manish Profile Picture

11manish 50

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans