Hi all,
I have below sub grid on some conditions I have to make it read only:
To make it read only I have to hide this add button and delete functionality. How could this is possible for me?
Thanks
Regards,
AW
*This post is locked for comments
Hi all,
I have below sub grid on some conditions I have to make it read only:
To make it read only I have to hide this add button and delete functionality. How could this is possible for me?
Thanks
Regards,
AW
*This post is locked for comments
You should also be able to achieve the results using the Append/AppendTo privileges for the entity that you don't want the users to be able to add new related records.
Hope this helps.
Hello,
As far as I know the only way to do that is to remove privileges for user to create/delete/update of child entity (entity from grid). I'm afraid there is no other supported way of doing that.
Of course you can develop report or HTML/Js to display data that is displayed in that subgrid if it works for you.
Hi Abdul,
You can do this using Ribbon workbench.
It is a 3rd party which you need to install, and it allows you to customize buttons, show hide buttons as well.
The below article has details on how to hide the "+" button on the subgrid. You can do the same with the delete button.
https://mahadeomatre.blogspot.in/2015/03/hide-subgrid-new-button-button-based-on.html
https://community.dynamics.com/crm/b/crminogic/archive/2017/01/20/hide-add-button-on-a-subgrid-by-applying-custom-javascript-rule
Steps to install ribbon workbench and basic use video:
Video link - https://youtu.be/5_gnIQGLL0M
Blog - https://community.dynamics.com/enterprise/b/softchiefmicrosoftdynamics365/archive/2017/03/24/how-to-setup-ribbon-workbench
Follow this, and it should work.
Thanks
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,269 Super User 2024 Season 2
Martin Dráb 230,198 Most Valuable Professional
nmaenpaa 101,156