In the previous post, we saw how we can create a user filter (outlook) for a particular user and apply the same to other users through Sync Filter Manager – XrmToolBox plugin.
In this post, we’d achieve the same through System View.
Here we have created below System View on Tasks entity/table.
The Created On Doesn’t Contain Data False Condition will make sure none of the records of the task are synced.
Open the Sync Filter Manager, navigate to the System Views tab and click on Load System Views
Select the new System View- Task Filter which we created earlier and click on Create – System Synchronization Filter Template from selected view(s)
Select Outlook Template for System Rule Type
We are presented with the option to specify the user(s) to who we want to apply the new template.
If we select Yes, we get the Select users dialog box to select the user(s).
Inside the Synchronization Filters Templates tab, we can click on Load Synchronization Filter Templates to list down all the outlook templates.
We can see our custom template listed there.
From there again we apply it to the user(s) or define it as the default filter.
After applying Define as default, we can see the custom filter applied to the new users. It won’t be applied or make changes to the filters of the existing users.
So for the existing users, we have to explicitly apply this filter using Apply to users option
As the last step, we need to disable or delete any other filter on the task, to make sure that we only have the new filter applied.
On disabling the filter, we can see their status updated as inactive.
Lastly, we can only delete Custom Outlook Template, if we try deleting any default out of the box template we will get the below error.
E.g. on trying to delete the My Tasks default filter, we will get the below error
“Error while deleting selected records: SavedQuery My Tasks for otc 4212 cannot be deleted”
Check other posts on Synchronization –
Hope this helps..