- Dynamics 365 Application Development
- Deepesh Somani Nishant Rana
- 214字
- 2021-06-30 19:09:37
Hiding a Subarea component in the site map
As we saw earlier, the Subarea component has a privilege property. It defines whether to show or hide the Subarea based on privileges the user has through the security roles assigned. Let us try to understand this with an example as well. Suppose we want to show the Open Leads Subarea we just added to only those users who have a Create privilege on the Lead entity. To define this, let us go back to the Properties tab of the Open Leads Subarea in Site Map Designer. There, we need to go to Privileges inside the Advanced section. Inside the Entity drop-down, we can select the Lead entity and click on the + (plus) button to add the record. We will leave all the checkboxes unchecked, except Create:

Save and publish the changes. Now, let us log in with the user that has only the Salesperson security role assigned. Here, we have updated the security role and have set None for Create Privilege on Lead Entity; that is, the first option that we see in the following screenshot:

The users who do not have the Create privilege on the Lead record, will not be able to see the Open Leads Subarea in their site map.
- DB2 V9權威指南
- Node.js+Webpack開發實戰
- Oracle 11g從入門到精通(第2版) (軟件開發視頻大講堂)
- Java Web基礎與實例教程(第2版·微課版)
- Learning RabbitMQ
- 精通軟件性能測試與LoadRunner實戰(第2版)
- 云原生Spring實戰
- INSTANT MinGW Starter
- HTML5 and CSS3 Transition,Transformation,and Animation
- 程序員修煉之道:通向務實的最高境界(第2版)
- Oracle實用教程
- Hands-On Robotics Programming with C++
- Mastering Apache Camel
- 現代CPU性能分析與優化
- ASP.NET Core and Angular 2