A Blog about SharePoint knowledge. Here you can find most information related to SharePoint Administration, SharePoint Development, My experience with SharePoint client, Information on SharePoint server and End user computing, SharePoint Study Materials etc. HAPPY Reading...!
Issue: View from the View drop down on SharePoint list disappears.
Background: We had a user who had an issue with a view loading slow, very slow on a SharePoint list. This view was set as default view for the list. We noticed that there were close to 50 odd webparts on the page that was in closed state. We asked the user to delete them from webpart maintenances page by appending URL with ?contents=1.
Now the problem starts,
Once you try to load the list again, it loaded with the new view as lending page, and to our surprise the previous view vanished from the View drop down.
It seems that one of the webparts which was deleted from the default view had any link-up with the view so deleting webpart deleted this as well.
However, this was difficult to recreate the view as it was having allotted of customization on the page.
We checked the whole list and there was no view the same name and we are clue less what to do. We were able to open the view by typing its name after the list name; however, that was not acceptable solution for the customer.
Though of editing the view using the GUID from the URL as form the GUI GUID of lost view is not available.
To get Views from the SharePoint site URL: you can refer to the below references:
However, among these none o f my use as we had lost the edit capability from GUI being view not available in View drops down list.
So here not next reference come up to take some help from Share Master Controller, which I refer as PowerShell …! To get View GUID via Powershell and amend in the List URL to get to Views Edit mode to set it as default view to resolve the problem.
I got a very good reference of script while searching online.