Skip to main content
Question Protected by CommunityBot
added 47 characters in body
Source Link
Robert Lindgren
  • 24.5k
  • 12
  • 53
  • 79

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/secondsubfolderhttp://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}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?

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 DocLib 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 commom 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 sourcecode of AllItems.aspx with the sourcecode of my custom webpart page.

Has anybody an idea, how I could solve this?

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?

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

    http://hostname/doclib/fodler/subfolder/secondsubfolder and

    and
  2. http://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.aspx, but I got a problem when customizing my AllItems.aspx. My DocLib 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 commom 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 sourcecode of AllItems.aspx with the sourcecode of my custom webpart page.

Has anybody an idea, how I could solve this?

Thanks in advance Stefan

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 DocLib 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 commom 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 sourcecode of AllItems.aspx with the sourcecode of my custom webpart page.

Has anybody an idea, how I could solve this?

Thanks in advance Stefan

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 DocLib 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 commom 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 sourcecode of AllItems.aspx with the sourcecode of my custom webpart page.

Has anybody an idea, how I could solve this?

Tweeted twitter.com/#!/StackSharePoint/status/156653858616123392
Source Link

Sharepoint document library folders

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 DocLib 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 commom 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 sourcecode of AllItems.aspx with the sourcecode of my custom webpart page.

Has anybody an idea, how I could solve this?

Thanks in advance Stefan