none
Changing a private view to public RRS feed

  • Question

  • Not sure if this is the right forum to ask this question ~

    Is there a way to change a private list view to a public one?  And vice-versa....
    Tuesday, August 11, 2009 1:10 PM

Answers

All replies

  • You can change the permission of a lit from LList > Settings > Permissions.

    Alternatively, you can create a new view and allow everyone to view columns and data using this new view.
    Thanks, Himadrish
    Tuesday, August 11, 2009 1:42 PM
  • Actually I'm not referring to permission settings -- unless I've misunderstood your answer.

    I'm talking about creating a view where you have the option to make it public or private.    What I'd like to know is if there's a way to take a view that's been created as private and make it a public view.  Likewise if a view's been created as public can you change it to a private view?

    Tuesday, August 11, 2009 3:23 PM
  • Hello Julie,

     

    Based on my experience, this cannot be achieved without custom code.

     

    If programmatic solutions are accepted, you may find some help in Development queue of SharePoint.

     

    SharePoint - Development and Programming

    http://social.technet.microsoft.com/Forums/en-US/sharepointdevelopment/threads

     

    Thanks.

     

    Best Regards,

    Lionel Chen

    • Marked as answer by JulieAllyn Friday, August 14, 2009 2:24 PM
    Thursday, August 13, 2009 6:15 AM
  • Sorry for the confusion.

    So, you have asked a good question. Well, from GUI perespective, it is true, once view is created, there is no chance to convert from personal to public.
    What I tried, using API to convert the same. I have used SPView.PersonalView Property and found that after a view is created as either a personal view or a public view through the user interface, it cannot be changed.

    However here the code, I have tried to fetch view information in a data table displying in my test harness windows application:

    foreach (SPView _SPView in _SPList.Views)
                            {
                                dtRow = bTable.NewRow();
                                dtRow["URL"] = TmpWebName;
                                dtRow["List"] = string.Empty;
                                dtRow["View"] = _SPView.Title.ToString();
                                if (_SPView.PersonalView)
                                {
                                    dtRow["ViewType"] = "Personal";
                                }
                                else
                                    dtRow["ViewType"] = "Public";

                                bTable.Rows.Add(dtRow);


                              
                            }


    Thanks, Himadrish
    Saturday, August 15, 2009 8:54 AM
  • This post suggests a browser hack (meaning, it is available to end users who have the right browser) that allows a private view to be changed to a public view:

    http://sharepoint.stackexchange.com/questions/77179/how-do-i-create-a-public-view-from-a-private-view

    I have not tested it.


    Keith Hudson

    Saturday, November 15, 2014 5:07 PM
  • Hi Julie,

    you can very easily after a nice hack that doesn't take much effort at all:

    > Select Create New View, select your private view you want to make public
    > Create a public view will be grayed out....hit F12 in IE
    > Use the clicker and select the "create public..." radio button > Remove the "Disabled" attribute 
    > Right click and add an attribute > then type Checked="Checked"

    This will then select the Public view option and allow you to continue to create the view !!! Click save and hit F12 again to remove the editor 

    Please do vote if you found this useful 

    REF - http://sharepoint.stackexchange.com/questions/77179/how-do-i-create-a-public-view-from-a-private-view 



    KR Awad

    • Proposed as answer by Darrin H Wednesday, December 28, 2016 7:54 PM
    Monday, November 7, 2016 12:49 PM
  • This worked for us after 5 days of struggling, thanks!
    Wednesday, December 28, 2016 7:54 PM
  • Brilliant! Solved my problem too! Thanks : )
    Wednesday, February 15, 2017 9:24 AM
  • Excellent . This works. I am in no way a code person however this was quite easy. Thank you. Seems silly that this is not basic functionality.

    sharePoint.... ya gotta luv it

    Monday, October 22, 2018 11:07 AM
  • This has always bothered me and I just went searching for an answer again after having given up on this for years. What a great, simple "hack" to make this work like a charm. Thank you for sharing!
    Monday, March 25, 2019 7:48 PM