Hello - how do i make this related entity unclickable from the event product form? I tried to make it read only and this did not work. I posted this just recently but could not find it so apologies if i've doubled up. Thanks!
Just remove permission from the all Existing products form for normal user. And u need a common form which will have locked fields and act as the fallback form.
Than even if they will click on it. They will see locked limited details.
There are three methods I know you can do it with:
One approach is to use JavaScript to disable the hyperlink for the related entity lookup field. By adding a custom script to the form, you can prevent users from navigating to the related record when they click on the field.
Alternatively, you can hide the Related tab from the form. Open the form in the Power Apps Solution, locate the Related tab, and hide it. This will prevent users from accessing related records through that tab, but be aware that it may also remove other important tabs like Background Processes and Audit History.
Another option is to use classic mode customization. Switch to classic mode in the Power Apps customization interface to get more control over how related entities are displayed and manage which options are visible to users.
I think you cant hide this option completely, however you can get rid of all items shown inside related menu.
Note: This will also include important administrative tabs like Background Processes and Audit History as well. So if you are getting rid of all options it will be good to maintain 2 different forms, one with all the related entities on (for admins) and one without them (for non admins).
You can open your form in power apps solution for customization and then switch to classic mode.
On the classic form customization UI, select Navigation option from top.
Then on the left hand side menu, remove all related entities from navigation. The empty one looks like follows (Navigation options removed from all sections like Common, Sales, Service, Marketing etc.).
My suggestion would be to use JavaScript to disable the hyperlink for the related entity lookup field.
Thanks
Affan
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.