Share via


Mobile Pages

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

An installation of Microsoft Windows SharePoint Services includes numerous .aspx pages for mobile access that are deployed alongside native site definitions. These pages are located in the following directory:

Local_Drive:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\MOBILE

Figure 1. Mobile page architecture (arrows are navigation paths)

Web Site Home Pages

The mobile home page enumerates the set of lists within a site that are enabled for mobile access, meaning the lists have views that are designated as mobile views. (A view is a mobile view if the MobileView attribute of its View element in the list type's Schema.xml file is set to "True". For more information, see Mobile Views.) Through redirection users are taken to mbllists.aspx, which displays the list of lists that have mobile views, as follows:

http://Server/sites/Site/_layouts/mobile/mbllists.aspx

If navigating to a blog, users are redirected to the default home page for blogs, for example:

http://Server/sites/Site/Blog/_layouts/mobile/bloghome.aspx?ViewType=Integer

You can create a custom home page for either a standard SharePoint site definition or for a blog site definition.

List View Pages

Windows SharePoint Services implements Microsoft ASP.NET controls to render list views. A typical URL for a mobile list view looks like the following:

http://Server/sites/Site/_layouts/mobile/view.aspx?List=GUID&View=GUID

The default page for standard list views (view.aspx) is stored along with other list forms in the \LAYOUTS\MOBILE directory. Rendering list items is determined by the particular list schema, a Schema.xml file in the \TEMPLATE\FEATURES directory that differs according to list template.

Note

The following field types are not displayed in mobile list views: Attachments field, CrossProjectLink field, and Recurrence field. Only the following types of Computed fields are displayed in mobile list view pages: LinkTitleNoMenu, LinkCheckedOutTitle, LinkFilenameNoMenu, LinkTitle, LinkFilename, LinkDiscussionTitle, BodyAndMore, PersonViewMinimal, NameOrTitle, URLwMenu.

For blogs, the default view page for viewing the list of comments for an individual post item uses the following URL format:

http://Server/sites/Site/_layouts/mobile/viewcomment.aspx?List=GUID&PID=Integer

The PID parameter specifies the ID of the post item.

You can create a custom list view page for any list template type, including the comments list for blog post items.

Form Pages

Like standard item forms displayed in the browser, Windows SharePoint Services uses mobile Display (dispform.aspx), Edit (editform.aspx), and New (newform.aspx) forms to work with items. As with forms displayed in the browser, the list schema for the particular list type determines which fields to display and their order. (But see the note in the previous section about field types that are not supported in mobile list views.) SharePoint mobile forms only display a Field whose ShowInDisplayForm, ShowInEditForm or ShowInNewForm attribute equals TRUE. This attribute can be set in the Schema.xml file for the list type.

The URLs for standard SharePoint mobile list item form pages use the following formats:

  • Display form

    http://Server/sites/Site/_layouts/mobile/dispform.aspx?List=GUID&View=GUID&ID=Item_Id
    
  • Edit form

    http://Server/sites/Site/_layouts/mobile/editform.aspx?List=GUID&View=GUID&ID=Item_Id
    
  • New form

    http://Server/sites/Site/_layouts/mobile/newform.aspx?List=GUID&View=GUID
    

When creating or displaying a blog post item by using options on the blog home page, the following URL formats are used for the newpost.aspx and disppost.aspx pages, respectively:

  • Display post item form

    http://Server/sites/Site/_layouts/mobile/disppost.aspx?List=GUID&ID=Item_Id
    
  • New post item form

    http://Server/sites/Site/_layouts/mobile/newpost.aspx?List=GUID&ViewType=Integer
    

When creating a new comment about an item in a post list, the following URL format for the file newcomment.aspx is used:

http://Server/sites/Site/_layouts/mobile/newcomment.aspx?List=GUID&PID =Integer

The PID parameter specifies the ID of the post item.

Users can also display or edit items in a post or comment list by clicking All Content on the blog home page, and then clicking Comments or Posts in the list of lists view that is presented on the mbllists.aspx page. In this case, the standard SharePoint mobile list item form pages and URL formats are used.

You can create custom forms for standard SharePoint list items as well as for blog items.

Error Page

The mblerror.aspx page is used to show error messages to users.

Blog Site Delete Page

The delete.aspx page is used in blog sites to show deletion confirmation messages to users.