Nick Grattan's Blog

About Microsoft SharePoint, .NET, Natural Language Processing and Machine Learning

Changing Page Used to Display Items in a List

with one comment

When displaying a view on a list (such as displayed with “AllItems.aspx”) the “Title” hyperlink for an item will redirect you, by default, to the “DispForm.aspx” page with the ID passed as a query parameter.

Link1

There are times when you may need to change the page used in the link, for example:

  • When you have your own custom page for displaying an item.
  • You want the take the user directly to editing an item rather than displaying an item.

The default page can be changed using SharePoint designer. To do this:

  • Run SharePoint Designer and open up the site in which the list resides.
  • Right click the list and select Properties.
  • Select the Supporting Files tab.

Link2

  • Ensure to select the correct “Content Type”, e.g. “Items” – note that in the above case it defaults to “Folder”.

From this dialog, you can use the appropriate Browse button to select the file to use for the “Display”, “New” or “Edit” operation.

NOTE: The URL shown in the browser (see first figure) will still show “DispForm.aspx” but clicking the link for an item will navigate correctly to the page you select.

 

 

Advertisements

Written by Nick Grattan

May 29, 2008 at 8:42 am

One Response

Subscribe to comments with RSS.

  1. Hi,
    i have published a infopath in document library. now what i want is whenever i click the document library i created it will give me the link to open the infopath file but i want to display the infoapth file i have created directly when i click the document library link in quick launch. is this possible?
    Send me the answers to my mail: amar.srk@gmail.com

    Amarnath

    September 24, 2008 at 1:54 pm


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: