I've got a problem "browsing" folders in my Sharepoint 2010 document library. In my opinion there are two ways of accessing folders, but I can't see the difference.
1) http://hostname/doclib/fodler/subfolder/secondsubfolder
and
2) http://hostname/doclib/Forms/AllItems.aspx?RootFolder=%2Ffolder%2Fsubfolder%2Fsecondsubfolder&FolderCTID=0x012000C77CAA95BDB1F64190861DEBBE604440&View={03FE35CE-2568-4C17-89E1-95793E6BE73B}
Both work great as long as I'm making no changes to AllItems.aspx
, but I got a problem when customizing my AllItems.aspx
. My Document Library is loosing it's view in the settings and I'm getting " The webpage cannot be found " in option 1).
Probably the problem is the custom page itself or the view, but I can't see the exact problem.
What I want to do is:
Display a custom webpart-page instead of the common AllItems.aspx
, but access it exactly the way SharePoint does with AllItems.aspx
. Option 2) might work but needs to access the exact folder and view by guid right? So it's not quite easy to achive this dynamically.
What I tried:
I Replaced the complete source code of AllItems.aspx
with the source code of my custom webpart page.
Has anybody an idea how I could solve this?