Showing posts with label Public View. Show all posts
Showing posts with label Public View. Show all posts

Monday, June 22, 2009

Personal Default Views Manager for Microsoft Dynamics CRM 4.0

The customer wants to make a personal setting for views according to next scenario.
Default account view is 'Active Accounts' for Tom, and 'My Active Accounts' view is default for Peter.

I've developed a little wizard and I would like to share it.

Friday, May 15, 2009

Public Views Manager For Microsoft Dynamics CRM 4.0 With Own Hands

Following article describes how to create mechanism which provides/restricts access to views of entities.

Idea:
1. Creation two custom entities - Public View Manager(contains name of entity to restrict access to views and Business Unit for which restriction will be operate) and Public View Detail (contains View Name and Bit flag - Access Allowed/Disallowed).
Public View Manager entity is parent to Public View Detail. Both entities are organization owned.
2. Public Entity Manager form scripting.
3. Writing a plugin which will create Public View Detail for just created Public View Manager.
4. Writing a plugin which will handle RetrieveMultiple message on savedquery entity and if restrictions exist - correct filter for data retrieving.