Reputation: 29
I have a requirement, where the dashboard has the sales report of different regions. If 'User1' logs into server, he should see only his region data, for e.g: canada, if 'User2' logs in he should see only his region data,e.g: washington.. I wonder how this could be achieved using CDE.?. Please can anyone share your thoughts ..?
Regards,
Abdur Rahmaan
Upvotes: 1
Views: 485
Reputation: 667
You have to manage the relation between your users and the regions they can see in a table. If you have a lot a users, consider to group them by roles and manage in your table the relation between the roless and the regions. In a dashboard, you can get the current user and its roles with Dashboards.context (or better in you are in version 5.4 or later : this.dashboard.context).
Upvotes: 2