Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2021 Release Wave 2Discover the latest updates and new features releasing from October 2021 through March 2022.
2021 release wave 2 plan
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
I want to display a grid on a form including some records.
But I do not want the current user can open the records displayed in the view.Is it possible?
As per our of the box behaviour we cannot avoid opening the Record Form.
Based on your current situation, try writing a HTML page and populate the same by adding the HTML Page in Model Driven Apps
Please mark as Answer if it is helpful and provide Kudos
Subscribe : www.youtube.com/.../UCnGNN3hdlKBOr6PXotskNLA
Blog : microsoftcrmtechie.blogspot.com
Hi,Agreed with Ramprakash Duraisamy.And add on to above suggestion you can also, create reusable PCF Control using Fluent UI.
If the user have read privileges on the record, they should be able to see it in the view and access the record.
However, it is possible not to edit the record.
Like others mentioned, there is no straightforward way to achieve this using out of the box features but that does not mean its not possible. You could consider one of the following options.
No Code approach - Security Roles Enabled Form
Create a form that only has the fields that are on the view and make that form as the fall-back form. This form will be accessible to all.
Make all other forms accessible only certain security roles, this way you can control access via security roles.
Downside to this approach is that users can still do advance find and get to the data if they really want to see the data
Code based approach - Plugin on Retrieve Message
You can create a plugin that triggers on Retrieve message on the entity and checks if the user is allowed to view the record, if not, it could throw an exception saying you do not have permissions to view this record. This approach will prevent user from viewing the record from any client not just the form.
Please note users can create personal views add all the columns they need and still view all the data from a personal view View if you do not restrict them from creating personal views. If you want to prevent user from creating personal views, you could look into restricting view security role, by setting permissions on Saved View.
Hope this helps
Business Applications communities