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 :
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

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 74 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 31 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans