Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Suggested answer

How do I make a related entity field unclickable?

(3) ShareShare
ReportReport
Posted on by 28
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!
  • Suggested answer
    Amit Katariya007 Profile Picture
    Amit Katariya007 8,596 Super User 2024 Season 1 on at
    How do I make a related entity field unclickable?
    Hello User,
     
    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.
     
    Thank you,
    Amit Katariya
     
  • MichaelTorres Profile Picture
    MichaelTorres 58 on at
    How do I make a related entity field unclickable?
    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.
  • Suggested answer
    Yogesh Mulay Profile Picture
    Yogesh Mulay 54 on at
    How do I make a related entity field unclickable?
    Just Open the Form in Solution, click on Related tab and hide it. Publish the Form.
     
    Please mark my answer verified if this is helpful!
  • Suggested answer
    Sachin Jadhav Profile Picture
    Sachin Jadhav 131 on at
    How do I make a related entity field unclickable?
    Hi,
     
    I think you mean disabling Related menu?
     
    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.).
     
    Save and publish the form.
     
     
     
  • Suggested answer
    Muhammad.Affan Profile Picture
    Muhammad.Affan 4,449 on at
    How do I make a related entity field unclickable?
    Hi There,
     
    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.

Helpful resources

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,359 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans