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.
http://hostname/doclib/fodler/subfolder/secondsubfolder
http://hostname/doclib/fodler/subfolder/secondsubfolder
andhttp://hostname/doclib/Forms/AllItems.aspx?RootFolder=%2Ffolder%2Fsubfolder%2Fsecondsubfolder&FolderCTID=0x012000C77CAA95BDB1F64190861DEBBE604440&View={03FE35CE-2568-4C17-89E1-95793E6BE73B}
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.aspxAllItems.aspx
, but I got a problem when customizing my AllItems.aspxAllItems.aspx
. My DocLibDocument 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:What I want to do is:
Display a custom webpart-page instead of the commom AllItems.aspxcommon AllItems.aspx
, but access it exactly the way sharepointSharePoint does with AllItems.aspxAllItems.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:What I tried:
I Replaced the complete sourcecodesource code of AllItems.aspxAllItems.aspx
with the sourcecodesource code of my custom webpart page.
Has anybody an idea, how I could solve this?