Solved

My custom list has 2 default views

Posted on 2013-11-04
4
405 Views
Last Modified: 2013-11-04
screenshot of view settings in a custom listHOW is this even possible and how do I get rid of one of them without killing the other?  Neither view has a way to delete it without first making another view the default.  ?!

In the site contents page, hovering over the Preview view brings up the ellipsis on the Team Goals view, which was originally the default view:
screenshot of weird hover behavior
This list was originally created in a test environment.  I changed the default view there, then used the AvePoint content manager tool to copy it to the production site.

Suggestions?  

Thanks for your help,
nsy
0
Comment
Question by:nsyyoung
  • 2
  • 2
4 Comments
 
LVL 8

Accepted Solution

by:
nsyyoung earned 0 total points
ID: 39622739
Crisis averted.  I made the All Items view the default view, then changed it back to preview, so I'm good.  That was alarming, though.
0
 
LVL 44

Expert Comment

by:Rainer Jeschor
ID: 39622772
Hi,
I dont know the AvePoint tool but sometimes tools seem to do things they should not do :-)

You might try to set one of the views as default view using Powershell:
$site= New-Object Microsoft.SharePoint.SPSite ("http://YourSiteUrl")
$web=$site.OpenWeb()
$list=$web.Lists["YourList"]
$view=$list.Views["YourView"]
$view.DefaultView = $true
$view.Update()
$list.Update()

Open in new window


If this is not working, select the other view and set the parameter of DefaultView to $false.

HTH
Rainer
0
 
LVL 44

Expert Comment

by:Rainer Jeschor
ID: 39622779
Sorry - have not seen your update in the meantime - glad you solved it
0
 
LVL 8

Author Comment

by:nsyyoung
ID: 39622785
Thanks, though.  I appreciate the quick response.
n.
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Last week I faced a strange issue recently, i have deployed SharePoint 2003 servers for one project and one of the requirements was to open SharePoint site from same server. when i was trying to open site from the same server i was getting authentic…
SharePoint Designer 2010 has tools and commands to do everything that can be done with web parts in the browser, and then some – except uploading a web part straight into a page that is edited in SPD. So, can it be done? Scenario For a recent pr…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question