locked
Document library shows folders and documents from other folders after using paging in sub folder RRS feed

  • Question

  • I have a sub site with a document library that has 32 folders, which then one sub folder has 75 items(9 sub-folders and 66 documents). So, the structure looks like this: Sub-Site -> Document Library –> Root Folder(32 Folders) –> 1 Sub-Folder(75 items = 9 sub-folders + 66 documents)

    So, in the sub folder with 75 items, paging is offered at the bottom of the page. The first page has 30 items, second page has 30 and third page has 15. When I go to the 2nd page, and then go back to the first page, so many duplicate items now appear in the sub folder. These items come from other sub-folders within the document library root folder. It appears that the subfolder has all of the documents and sub-folders from the root folder. One level of sub-folders has been removed and all items have been placed at the root level.  Kind of like this:

    Before:  wwwww -> xxxxx -> yyyyy -> zzzzz -> Shared Documents –> Root Folder –> FolderXYZ

    After: wwwww -> xxxxx -> yyyyy -> zzzzz -> Shared Documents –> Root Folder

    The URL also changed as below:

    At the time of first access:

    http://wwwww/xxxxx/yyyyy/zzzzz/Shared%20Documents/Forms/test.aspx?RootFolder=%2Fxxxxx%2Fyyyyy%2Fzzzzz%2FShared%20Documents%FolderXYZ&FolderCTID=0x012345678<<some value>>&View={some guid}

    After going to 2nd page using paging and coming back to 1st page, the below URL generated:

    http://wwwww/xxxxx/yyyyy/zzzzz/Shared%20Documents/Forms/test.aspx?&TreeField=Folders&TreeValue=FolderXYZ&ProcessQStringToCAML=1&&View={some guid}#ServerFilter=OverrideScope=RecursiveAll-ProcessQStringToCAML=1

    This is SharePoint 2010 site with out-of-box document library and out-of-box view.

    We are facing the same issue for all the views created on the document library.

    Please help.

    Monday, June 8, 2015 2:51 PM

Answers

  • Hi,

    Per your description, I have done a test in my SharePoint 2010.

    The URL as below:

    At the time of first access:

    http://sp/sites/team/team/Shared%20Documents/Forms/AllItems.aspx?RootFolder=%2Fsites%2Fteam%2Fteam%2FShared%20Documents%2F1%2Fa

    After going to 2nd page using paging and coming back to 1st page, the below URL generated:http://sp/sites/team/team/Shared%20Documents/Forms/AllItems.aspx?&TreeField=Folders&TreeValue=1%2Fa&ProcessQStringToCAML=1&&View={EFA482AA-9075-42F6-8C52-D90A04F524FB}#ServerFilter=OverrideScope=RecursiveAll-ProcessQStringToCAML=1

    After going to 2nd page using paging and coming back to 1st page, the sub floder just shows the folders and documents of the current folder.

    I am not very understanding that "Document library shows folders and documents from other folders after using paging in sub folder". Could you offer a screenshot to explain you issue.

    Best Regards,

    Lisa Chen


    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 tnmff@microsoft.com.

    Tuesday, June 9, 2015 9:33 AM