SharePoint By Yagya Shree

SharePoint: How to increase the number to files in the default view of the open dialogue box

leave a comment »

Problem Description:
——————————
–Only 15 files at a time when clicking “Open a new window to insert image>General>Browse” when editing page content.

SYMPTOMS:
—————–
–In the view document dialogue box you will only see 15 item by default in “All documents” view and 8 items in “thumbnail view”

ERROR MESSAGE:
————————–
None
CAUSE:
———–
–By Design

RESOLUTION:
——————–
The page in question is “_layouts/assetportalbrowser.aspx”

–Go to “C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATES\LAYOUTS”

<PublishingInt:SMObjectList
 id=”ObjectList1″
 runat=”server”
 PostbackEventHandlerId=”SmtPostBackHandler2″
 PageSize=”15″
 DetailCssClass=”ms-vb2″
 HeaderCssClass=”ms-toolbar ms-assetpicker-header”
 Purpose=”AssetPicker”/>

— Just change the value in for “PageSize”.
{NOTE:- This doesn’t seem to affect the Thumbnail view, just the All Docuement view of the web control.}

STEPS TO REPRO:
————————–
–Open any SharePoint site
–Go to “Site actions-create page”
–Give any “title” and choose “Blank web part page”
–Now you will get a new page
–Go to “page content-edit content”
–you will get a tool bar coming up. Choose “Open a new window to insert image”
–you will get a new window “edit image properties”
–Under “General-selected image” click “browse”
–you will get a window called “select an image”
–here by default you will only see 15 items
–How to change the number of file from 15 to any desired number of files

ENVIRONMENT:
———————–
Office SharePoint Server 2007 with SP1 (32-bit)
Windows Server 2008 Enterprise (32-bit)
SQL Server 2005 with SP2 (32-bit)

KEYWORDS:
———————
WSS SPS MOSS insert image properties dialogue box view document url browse

Written by Yagyashree

May 1, 2009 at 6:34 pm

Leave a comment