Is this a bug? Document Library view has the wrong 'Show in Folders' option when created from custom site template.

I have a site with the default document library.
I add views to the library, some ask for the items to be shown in folders, some not.
I create a site template via the SharePoint UI.
I create a new site.
In the new site, the library exists, the views exist, but all the views are set to show the items in folders.
Does anyone else have this problem? Is there a patch or any workaround?

Hi  ,
According to your description, my understanding is that view property "show all items without folders" is not preserved in packaging and is lost after we create a site using the saved site template.
For your issue, I can reproduce your scenario in my environment. It should be caused by the scope attribute is missing. For a workaround, you can try to crack the site template wsp, add the missing scope
attribute to the View schema in the list schema.xml.
Also, I recommend you open up a ticket for deep investigation.
Thanks,
Eric
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Eric Tao
TechNet Community Support

Similar Messages

  • Is this a bug or am I using the wrong flags in userChrome.css

    I'd like to have my Bookmark Toolbar automatically hide until I move my mouse over the location. I found some code a while ago to do this, but I never really tried it until now with FF4. When I put in the code and move the bookmark toolbar into the self-hiding panel, it works fine until I open a new window or exit/restart the browser.
    <br />
    <pre>#PersonalToolbar {display: none;}
    #navigator-toolbox:hover > #PersonalToolbar {display: -moz-box;}
    </pre>
    The auto-hide until hover works fine with the box, but the Bookmark Toolbar comes up completely empty. No arrow, just empty space. Every time I comment out the line in userChrome.css, the buttons reappear. When I move the bookmark toolbar out and then re-enable the line and restart, the buttons are fine when I move them back in until the next exit.
    I've tried this on three machines (all Windows 7 though, both 32-bit and 64-bit) and the behavior is the same. I've also tried disabling all add-ons and extensions with no change in the results.
    Is this a bug or am I using the wrong flags (-moz-box)? Thanks for any ideas/help provided.

    cor-el:
    Thanks for the suggestion. I already tried rebuilding that file as well and it didn't help. Also, all the changes I make are retained from session to session in terms of placement and what's shown/hidden, it's just the contents of the bookmark toolbar that disappear. The toolbar is still there and I can drag things to it, but again, they disappear after restarting the browser.
    edit (clarification):
    When I say the items disappear, I mean they are no longer visible or clickable. They are still there in the sense that they appear in the Bookmark menu and if I move the Bookmark Toolbar from its own toolbar into the space next to the Menu Toolbar, they are then shown.

  • My new iPad has the wrong iCloud account (restored an old backup from previous iPad). It's pointing to an account that no longer exists and now I can't delete it because I can't log into it. Find my iPhone wants me to log in before deleting the account.

    I have an old iPad2, and received a new iPad Air. When I set up the iPad Air, I started as a backup from the iPad2, instead of treating it as a new iPad setup. It also asked if I wanted to set up Find My iPhone and I said yes. Problem is that I also (previously) changed the primary email address on my iCloud account, but never changed the iCloud setup on my iPad. So now the iPad Air has iCloud pointing to the email address as the account name. I want to just delete this account and enter the new email, but Find My iPhone won't let me - it asks for my password first. Problem is, it won't accept the correct password because the primary email has changed.

    If the old ID is yours, and if your current ID was created by editing the details of this old ID (rather than being an entirely new ID), go to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iDevice, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll.  When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • Document library : rating (stars) feature not showing for folders.

    Hi,
    Trying to figure out when rating feature will show starts icon for rating folders.
    It is showing for individual files but not for folders. Attached is the scree-shot. all names are folder names.

    Hi Abhilash,
    Please check whether the old library was customized and added some custom folder content types into the old library.
    If yes, please try to add the folder content type  which was used in the old library into the new library, then create a new folder using the content type, compare the result.
    In addition, you maybe need to re-enable rating feature in the new library after you add the content type.
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Sharepoint 2013 Document library view show version history

    Hello everyone,
    I have a document library view with many folders. Each folder is a procedure and have document attached to it.
    When I add a new version, I would like to show version history for each document contained in the folder. For example:
    There is a folder Procedure 123 which has three files ( File1, File2, and File3). After a week the user the user created new revisions for each document.
    I would like to have a document view with the following information
    File Name   version
    ======  ======
    File 01         0
    File 02         0
    File 03         0
    File 01         1
    File 02         1
    File 03         1
    File 01         2
    File 02         2
    File 03         2
    Thanks for your help.
    Jhonny Marcelo

    This is quite simple, you have to modify the current view (Modify this view) of document library and then you can select version column from available column list (make sure version is enabled). please check below picture for detail.
    Adnan Amin MCT, SharePoint Architect | If you find this post useful kindly please mark it as an answer.

  • Show custom EditForm from a specific document library view

    Hello,
    I've created a custom EditForm that I would like to show when the user clicks the "<label for="ShouldDisplayEdit">Edit" (link to edit item)</label> icon; however I just want to show this EditForm for a specific view.
    I have a listview webpart (actually an "app") for the library and this specific view set on a page. However, it opens the default edit form instead of the custom one. (StatusEdit.aspx). I don't want to set StatusEdit.aspx as the default, as it
    has fewer fields than the default edit form.
    I am able to hide fields conditionally using SPClientTemplates.TemplateManager.RegisterTemplateOverrides, but it's been a lot of work to try to make it match the requirements I have. I'd really like to have the custom edit form work if it's possible.
    Thank you for your help!
    Best Regards,
    Kevin Worthington

    Hi,
    According to your description, my understanding is that you want to specify the custom EditForm for a specific document library view.
    We can change the link to edit item button url using Jquery to achieve it.
    Here is a code snippet for your reference:
    <script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    function changeurl()
    $(' ms-itmHoverEnabled ms-itmhover ms-droppable).find('ms-vb-lastCell ms-cellstyle ms-vb-icon ms-vb-lastCell').attr(‘href’,”http://new url”);
    </script>
    Here are some detailed articles for your reference:
    http://stackoverflow.com/questions/179713/how-to-change-the-href-for-a-hyperlink-using-jquery
    http://stackoverflow.com/questions/8729830/jquery-find-td-of-tr-with-class-and-make-changes-for-a-telerik-mvc-grid
    Thanks
    Best Regards
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jerry Guo
    TechNet Community Support

  • Document library view: Group by a column with multiple values

    I have a document library which has a managed metadata column.
    I would like to create a view which groups the documents by this managed metadata column.
    The managed metadata column can have multiple values.
    I know that this is not possible with SharePoint's group by, since it only accepts those columns which can have only one single value.
    But is this possible to accomplish by some other means, e.g. Content query web part? Or is there perhaps a 3rd party solution to this?
    Is it possible to change the group by settings somehow to allow Group by to function with columns with multiple values? <- this may be far fetched...

    Hi Pekch,
    I'm assuming you have VS2010 to build the custom web part. From there you will need to figure out the following:
    Get a SPList object for the Document Library (See below for code example)
    Loop through all the documents in the SPList object 
    If you have audience targetting enabled, then you'll need to determine if the user has access to the document by checking the "Target_x0020_Audiences" column)
    As you also want to group by metadata, you'll need to populate 2 datatables (one table with a column containing unique metadata values and another table with a metadata column and other document related columns).  Link these two tables via a dataset
    relation.
    Set the dataset as the datasource for a repeater, add in some css and javascript for the group expand/collaspe and it should be close to what you need.
    This will be a time consuming task if you don't know where to start or have problems figuring out how to perform a certain operation.  So you may want to determine if the functionality you want is required or just a "nice to have".  Good
    luck and if I have some spare time, I'll create a blog post outlining how to do all the above.
    I got the below code from a sharepoint blog sometime in the past and you can use it to retrieve a list.
    You can use it like this: GetListByUrl(http://servername/Shared%20Documents/Forms/AllItems.aspx)
    using    Microsoft.SharePoint;
    public SPList GetListByUrl(string listURL)
    SPList list = null;
    try
    using (SPSite site = new SPSite(listURL))
    if (site != null)
    // Strip off the site url, leaving the rest
    // We'll use this to open the web
    string webUrl = listURL.Substring(site.Url.Length);
    // Strip off anything after /forms/
    int formsPos = webUrl.IndexOf("/forms/", 0, StringComparison.InvariantCultureIgnoreCase);
    if (formsPos >= 0)
    webUrl = webUrl.Substring(0, webUrl.LastIndexOf('/', formsPos));
    // Strip off anything after /lists/
    int listPos = webUrl.IndexOf("/lists/", 0, StringComparison.InvariantCultureIgnoreCase);
    if (listPos >= 0)
    // Must be a custom list
    // Strip off anything after /lists/
    webUrl = webUrl.Substring(0, webUrl.LastIndexOf('/', listPos));
    else
    // No lists, must be a document library.
    // Strip off the document library name
    webUrl = webUrl.Substring(0, webUrl.LastIndexOf('/'));
    // Get the web site
    using (SPWeb web = site.OpenWeb(webUrl))
    if (web != null)
    // Initialize the web (avoids COM exceptions)
    string title = web.Title;
    // Strip off the relative list Url
    // Form the full path to the list
    //string relativelistURL = listURL.Substring(web.Url.Length);
    //string url = SPUrlUtility.CombineUrl(web.Url, relativelistURL);
    // Get the list
    list = web.GetList(listURL);
    catch { }
    return list;

  • Set the horizontal scroll bar for the OOTb document library view

    hi all,
     Am facing an issue in my sp portal.We have designed and developed the portal with OOTB document library views for site columns also. Going to enable the doc lib view. but  we have some  35 columns in eeacha nd every document
    library within our sub site. But if an end user wants to see the last column then he needs to scroll. but, since  then my master page has fixed width, the top corner will be seen as blank. would like to know how can we set horizontal scrolling
    in this doc lib view .
    Das

    Hi,
    According to your description, my understanding is that you want to set the horizontal scroll bar for the document library when the last column postion exceed the fixed width.
    I suggest you can try to use Jquery to set the width attribute of the menu bar dynamically if the document library width exceeded. You can add the Jquery or CSS style using SharePoint Designer under the PlaceHolderMain tag of document
    library page. Also, you need to find the div id in your environment using Internet Explorer.
    More information:
    http://sharepointpromag.com/sharepoint-development/sharepoint-branding-101-branding-master-pages
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Displaying Document Name With The Summary in a Single Column Using Document Library View.

    Hi All,
    I have a question that relates to SharePoint Document Library Views. I want to view the Documents name with the summary in a single column. Below image shows an example of it. I need this within a SharePoint Document Library. Also I want the height of the
    row to be increased more than the default height. I cannot figure it out how to do that? Could you someone help me to do this. I have inserted the Document Library as an App Part to the page. 
    So could you someone help me to solve this matter?
    Thanks and regards,
    Chiranthaka

    HI Chiranthaka,
    You can create DataView webpart using SPD and then modify the display template according to your need.
    http://deannaschneider.wordpress.com/2012/07/10/item-counts-dvwp-sp2010/
    Hope this will help to solve your problem.
    Best Regards,
    Brij K

  • Displaying Document Name & The Summary in a Single Column Using Document Library View

    Hi All,
    I have a question that relates to SharePoint Document Library Views. I want to view the Documents name with the summary in a single column. Below image shows an example of it. I need this within a SharePoint Document Library. Also I want the height of the row
    to be increased more than the default height. I cannot figure it out how to do that? Could you someone help me to do this. I have inserted the Document Library as an App Part to the page. 
    So could you someone help me to solve this matter?
    Thanks and regards,
    Chiranthaka

    HI Chiranthaka,
    You can create DataView webpart using SPD and then modify the display template according to your need.
    http://deannaschneider.wordpress.com/2012/07/10/item-counts-dvwp-sp2010/
    Hope this will help to solve your problem.
    Best Regards,
    Brij K

  • Set Document library view as welcome page

    Hi
    I want to set my Document library view as welcome page of my SharePoint  site 2013.
    How can I achieve this.
    Regards,
    Siva.

    Hi,
    According to your description, my understanding is that you want to change the welcome page to the document library view page in SharePoint 2013 site.
    You can use SharePoint designer to find the view page in “All files” and then set the document library view page as welcome page .
    Here is a detailed article for your reference:
    http://techtrainingnotes.blogspot.com/2011/06/sharepoint-how-to-change-default-home.html            
    Thanks
    Best Regards
    Jerry Guo
    TechNet Community Support

  • How to check A document library that has document publishing enabled and content approval

    HI
    1) how to check A document library that has document publishing enabled
    2)A document library or a list that has content approval enabled
    adil

    For both question, check version settings of that library
    >>1)Document Version History "Create
    a version each time you edit a file in this document library?" should set to either create major versions or Create
    major and minor (draft) versions.
    http://office.microsoft.com/en-us/sharepoint-server-help/publish-or-unpublish-a-version-of-a-file-HA101862529.aspx
    >>2)Content Approval  "Require
    content approval for submitted items?" should be set to Yes
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • Starting sharepoint workflow progmatically from more than one workflow attached in the document library, depending on the input parameter

    Hi,
    I have to develop multiple sequential workflows. Depending on the user input at the time of workflow start, I have to decide which workflow will kick start. I am using visual studio to develop my sequential workflow. Is it possible to achieve this?
    So, at the time document added to the document library, depending on the library column values Workflow1, worflow2 or workflow3 will start.
    Thanks

    Hi,
    According to your post, my understanding is that you want to start workflow based on the library field value.
    We can use the ItemAdded event receiver to achieve this scenario.
    When the document added to the document library, then use the properties.ListItem[“FieldName”] to check which value filled.
    Then based on different field value to start different workflow.
    More reference:
    http://jainnitin2411.wordpress.com/2012/07/06/programmaticallystartsharepointworkflow/
    http://chakkaradeep.com/index.php/sharepoint-2010starting-site-workflows-programmatically/
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • After upgrading to Lion, I went to open Mail and received the message that it needed to upgrade my Mail database - this may take a few minutes. The bar shows it is about 1/5 along and has been there for over 10 hours. Help!

    After upgrading to Lion, I went to open Mail and received the message that it needed to upgrade my Mail database - this may take a few minutes. The bar shows it is about 1/5 along and has been there for over 10 hours.
    I tried quitting and starting again but it just jumps back to the same spot.

    It is quite large, but I have tried two of the fixes suggested and things now seem to be moving along.
    (I was unable to seach properly before which is why I posted the question - it was a bit of a panic)

  • TS4463 I am using Windows Vista with Outlook 2007 and iCloud.  Everything has been great until this morning.  I'm suddenly getting the message "Set of folders cannot be opened.  The information store could not be opened.

    I am using Windows Vista with Outlook 2007 and iCloud.  Everything has been great until this morning.  I'm suddenly getting the message "Set of folders cannot be opened.  The information store could not be opened.  I tried running the repair utlity to repair the iCloud however I am still getting this error message.

    I tried rebooting.  It didn't change anything.

Maybe you are looking for