Hi there,
The personal advanced find views for employees that left the organisation. Is there a way to remove these views or deactivate them? Possibly hide them?
Thanks,
Nuhr
*This post is locked for comments
Hi Nuhr,
You have to use SDK method to delete users personal saved view. Personal views will be visible only for user who created and shared with.
Even administrator can't see personal view.To Delete From UI , Only way is login to specific user id and delete it manually from Advanced find Saved Views.
Thanks,
Hello,
The problem is even System Administrator cannot retrieve the personal views of any user. The only way is:
Option 1 - Update the owner of personal views from backend/database to Admin and then delete it from CRM UI.
Option 2 - Write a console application and Impersonate it with the user who has created the Personal View.
For example, User A has 5 Personal Views and he/she left the organization.
Write a Console application and configure User B in the web.config (must have Administrator privilege in order to make the connection with your CRM instance). Now write a code to delete the view but this code will work on-behalf of User A so that views could be deleted.
Use below link to impersonate the user on your console application:
https://msdn.microsoft.com/en-us/library/gg309629.aspx?f=255&MSPPError=-2147217396
To delete the view, can refer below link:
https://msdn.microsoft.com/en-us/library/gg594431.aspx?f=255&MSPPError=-2147217396
Please Mark As Answer, if my suggestion answers your question.
Cheers
Arpit
https://arpitmscrmhunt.blogspot.com
You can use SSIS Kingswaysoft to delete records, even personal views.
Hi Nuhr,
the fastest way is to delete them from personal advanced view panel.
If you have multiple views to delete you could do it by sdk:
1) retrieve all personal view ("userquery" entity), eventually filtering by user id
2) delete all personal views
Please let me know if you solve or if you need further help.
If you found the answer helpful, please mark as Verified
Join my network on LinkedIn Follow me on Twitter
Thank You & Best Regards
Francesco Picchi
Microsoft Dynamics CRM Consultant, Bologna+Milano, ITALY
Independent Contractor
Hello Nuhr.
There is no OOB way to achieve your goal.
You have four options which are more or less supported:
1. Each user have to clean up his login, share or delete his views, charts and dashboards with other users before leaving the company.
2. Re-enable a user, change the password in the AD and reassign or delete all personal views, charts and dashboards.
3. You can change them directly in the user query table in your MSCRM database. Please note: This is UNSUPPORTED.
4. Try to use 3rd party solutions... some tools give you the ability to move views from one user to another one.
Kind regard,
Karsten
Hi,
you can follow the below post for more information on how to remove personal view.
community.dynamics.com/.../tip-517-disabled-user-s-personal-views
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,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156