When you design a query from the “Advanced Find” window, you can save the query for future use. I call this “Personal View”, but the official name for this is “Saved View”. This view is only visible to the person who saved the view (unless it is shared/reassigned).
As more personal views get created, it becomes an issue during migration, as these are not transported in the solution xml. You can of course use Solution Extender to copy this across, but I would like to do this right from the Advanced Find window. Apart from data migration, another scenario where you might find the need to create a system view from a personal view, is when you are constantly sharing views to a large number of people of group. When you are doing this, it is good time to actually make this a system view.
With these scenarios in mind, I have developed a solution that simplifies the process of creating a system view from a personal view. After installing the managed solution, you will see a new button called “Promote to System View” in the advanced find, when you switch to the “Saved Views” tab.
To create a system view from the personal view, simply choose the views that need to be converted, and click the “Promote to System View” button. A message will be displayed after the conversion is complete. Once you refresh the window, you should be able to see the newly created system view(s).
Please log any issues/feedback/feature request in the github repo -> https://github.com/rajyraman/Personal-View-to-System-View/issues
You can download the managed solution from https://github.com/rajyraman/Personal-View-to-System-View/releases
Hi Natraj
A big thank you for creating this add-in. I find myself using it regularly. It has made my life much easier!
Sian
Fantastic. Thank you for the feedback Sian.
Awesome utility. Thank you Natraj.
[…] You just created a personal view which consists of several “AND/OR”-groupings and looped through several entities, but noticed this should have been a system view *Argh*! No worries, by using the managed solution from Natraj Yegnaraman or “Dreaming in CRM”, you can safely promote a personal view to a system view. […]
This is brilliant! Thanks!
Superb. Saved my time.
Brilliant! Ran into this a few times. Definitely will be a time saver.
Looks great! will this be available for the 9.0?
I have added a new release file called PersonalViewtoSystemView_1_0_0_target_CRM_9.0_managed.
How do I restrict this so that only certain roles can convert personal to system view?
Any user with role that grants create permission on View entity, will be able to see this button. The privilege that controls this is prvCreateQuery.
Does this also works for CRM 2011?
Does this solution also available for CRM2011 ?
No. But you should be able to modify the code to make it work in crm2011.
This is awesome. Thank you!
I’m getting below error while converting view from personal to system
{“error”:{“code”:”0x8004f026″,”message”:”The evaluation of the current component(name=SavedQuery, id=40dce643-f70e-eb11-a813-0022480a006f) in the current operation (Create) failed during managed property evaluation of condition: Managed Property Name: iscomponentcreationenabled; Component Name: SavedQuery; “}}
Note: entity is managed
Can you please help me on this ?
The error sounds like you are trying to create view on a managed entity that is locked down.
Yes exactly. It seems like we can’t convert managed entity views
I cannot import the solution to our on-premise 365 V9 deployment.
You can now do this through XrmToolBox using a tool called Personal Views Migration. I recommend that you do this. https://www.xrmtoolbox.com/plugins/Carfup.XTBPlugins.PersonalViewsMigration/.
Thanks Natraj! That worked perfectly!