• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 443
  • Last Modified:

My custom list has 2 default views

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
nsyyoung
Asked:
nsyyoung
  • 2
  • 2
1 Solution
 
nsyyoungAuthor Commented:
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
 
Rainer JeschorCommented:
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
 
Rainer JeschorCommented:
Sorry - have not seen your update in the meantime - glad you solved it
0
 
nsyyoungAuthor Commented:
Thanks, though.  I appreciate the quick response.
n.
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now