In my SharePoint 2013 document Library, I have created a view called 'Certificates' and then using target audience I have assigned one group A the permission on this new view. And on the default 'All Documents' view I have assigned another group B the permission.
- If I login as a user from group B, I am able to see 'All Documents' view but not 'Certificates' as it has no permission.
- If I login as a user from group A, I cant see anything as the default view is 'All Documents' and if I manually type the url as http://server/forms/certificates.aspx they are able to see it as they have the permission.
So How can I set the default view for a group so that whenever the users from specific group open the library they should see only those views on which they have access.e.g. If users from group A login, the default view should be 'Certificates'.
I have used this blog : https://social.msdn.microsoft.com/Forums/office/en-US/12e7a557-9a39-4107-8652-5e61df606c52/how-to-set-default-sharepoint-list-view-based-upon-user-group?forum=sharepointdevelopment and used codeplex plugin but its not working and its giving different errors which I am not willing to troubleshoot.