共用方式為


Mobile Pages

Applies to: SharePoint Foundation 2010

A Microsoft SharePoint Foundation installation includes numerous .aspx pages for mobile access.

Overview of the Mobile Pages

Nonmobile SharePoint Foundation pages fall into two broad categories: application pages and site pages. The distinction between application page and site page does not apply to mobile pages. All mobile pages are implemented as application pages and are physically stored in a subfolder of the folder that holds nonmobile application pages: %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\LAYOUTS\MOBILE.

However, while many mobile pages largely duplicate the functionality of certain nonmobile application pages, some of the most important mobile pages represent corresponding nonmobile site pages. (For security reasons, actual nonmobile application pages are not accessible to mobile devices.) To give one example, the mobile page %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\LAYOUTS\MOBILE\bloghome.aspx is the mobile version of the home page of a blog site. It corresponds to the nonmobile default.aspx site page in %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\SiteTemplates\BLOG.

Note

The nonmobile page to which a mobile page corresponds is called the "target page" of the mobile page.

Finally, note that while most nonmobile pages (both application pages and site pages) use master pages to give them their broad structure, mobile pages do not use master pages.

Built-in Mobile Pages

The mobile pages that are built into SharePoint Foundation are located at %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\LAYOUTS\MOBILE. They are discussed in the following topics:

Developing Mobile Pages

There are basically three ways that you can extend or modify the system of mobile pages in SharePoint Foundation: