• USA : +1 973 910 5725
  • INDIA: +91 905 291 3388
  • info@tekslate.com
  • Login

SharePoint Page Types

SharePoint Page Types

PageDefault LocationTypical Usage Scenario
Publishing Page*Pages libraryComplete control over look and feel; more granular content management.
Web Part PageNone; can reside in any library or folderTo display Web Parts; no content management requirement.
Wiki pageSite PagesPages that look and function like the home page.
ASPX PageSite Pages or LayoutsCreates a blank ASPX, or ASP.NET Web page. If you create an ASPX page, you need to add the necessary Web Part Zones and page elements so that the page works as expected. If you create the ASPX page from the Site Pages in SharePoint Designer, it is not attached to a master page and therefore will not show the look and feel, borders, and navigation from the rest of the site.
HTML PageCreates a blank HTML page on your site. The HTML page you create cannot be viewed directly on your site because it doesn’t have the necessary ASP code required by SharePoint sites. The page can, however, be used to store HTML documents on the site

Site Pages

Site pages are pages that are created, edited, and customized by end users. They are primarily used for the content in a site. Site pages come in two types—a standard page and a Web Parts page. A standard page contains text, images, Web Parts, and other elements. A Web Parts page contains Web Parts in Web Part zones. They have a predefined layout that uses Web Part zones. Both types of site pages are edited using a Web browser or Microsoft SharePoint Designer.

Site pages are provisioned from a template page that is stored on the file system of the front-end Web server. When a site is provisioned, SharePoint Foundation creates a pointer to the instance of the page template on the file system. This allows SharePoint Foundation to avoid repeatedly creating copies of the pages, which are provisioned each time a site is created.

When a user customizes a site page, the template for the page is then stored in the content database. The page is retrieved from the content database every time it is requested by a user. A customized page can, however, be reset to the original template page through the Web browser or a tool such as SharePoint Designer.

Customized site pages cannot contain in-line server code. The set of controls that are allowed to run on the page is governed by the safe controls list in the <Drive>:\inetpub\wwwroot\wss\VirtualDirectories\<port

number>\web.config file. It is a recommended best practice to avoid using server-side code on site pages when developing site definitions. If a user later edits or modifies that page, the code will no longer run.

The following are general rules for using server-side code on a site page.

  • If the page is uncustomized, server-side code is supported on the page.
  • If the page is customized, server-side code does not run, and the page does not render. This includes the code-behind for the page itself.

An administrator can add a PageParserPath setting in the web.config file that allows server-side code to run on pages stored at a specified path. This can be a single, specific page or an entire directory of pages.

The following sample shows a PageParserPath setting that uses a wildcard. Adding this PageParserPath will allow anyone with permissions to the master page gallery to upload server-side code. Use extreme caution when adding this type of PageParserPath setting.

XML

 

<SharePoint>

   <SafeMode …>

   <PageParserPaths>

      <PageParserPath VirtualPath=”/_mpg/*” CompilationMode=”Always” AllowServerSideScript=”true” IncludeSubFolders=”true”/>

   </PageParserPaths>

 

Site pages once customized run in no-compile mode whereas application pages are always compiled

Interested in mastering SharePoint Training? Enroll now for FREE demo on SharePoint Training.

How to create a Site page [Normal/Wiki/Web Part Pages] in your SharePoint 2010 site:

 

  1. Click theSite Actions menu and then click New Page. Or Site Actions >> View All Site Content >> Create
    1. If you don’t see the Site Actions menu or the option to create doesn’t appear you might not have permission to create a page.
  • Type anamefor the page then click Create.
  • On the new page you created, you can do one or more of the following:
    • . To add text, type or copy text into the editable box.
  1. To format your text, click theFormat Text tab on the ribbon (top navigation) and select a button.
  2. To insert a Web part or an existing list, click theInsert tab and click on the appropriate button. Now, select the Web part from the list you want and click Add.
  3. To insert a new list, click theInsert tab, type a title for your list, click a list type to select it, and then click OK.
  • When you are finished editing the page, clicksaveat the bottom.

That’s all there is to it! Plus, editing a page is very similar to creating a page. Just click the Edit button on the ribbon and follow steps 3 and 4 for creating a page.

 

Create a Web Part page

To create a Web Part Page, open your site in SharePoint Designer 2010 and perform the following steps:

  1. In the Navigation pane, click Site Pages.
  2. On the Pages tab, in the New group, click Web Part Page.

Choose a Web Part Page layout based on the previews provided.

42

The new Web Part Page is created in the gallery of site pages.

43
Create a Web Part page

To create a Web Part Page, open your site in SharePoint Designer 2010 and perform the following steps:

  1. In the Navigation pane, click Site Pages.
  2. On the Pages tab, in the New group, click Web Part Page.
  3. Choose a Web Part Page layout based on the previews provided.
  4. The new Web Part Page is created in the gallery of site pages.
  5. Click in the name of the page (the default is Untitled_1.aspx) to rename it, if necessary.
  6. To edit the page, click the page again to open the summary page and then click Edit file.
  7. The page opens in the page editor of SharePoint Designer 2010, where you can add views, forms, and other Web Parts to the page.

For Indepth understanding of SharePoint click on

Summary
Review Date
Reviewed Item
SharePoint Page Types
Author Rating
5

“At TekSlate, we are trying to create high quality tutorials and articles, if you think any information is incorrect or want to add anything to the article, please feel free to get in touch with us at info@tekslate.com, we will update the article in 24 hours.”

0 Responses on SharePoint Page Types"

    Leave a Message

    Your email address will not be published. Required fields are marked *

    Site Disclaimer, Copyright © 2016 - All Rights Reserved.

    Support


    Please leave a message and we'll get back to you soon.

    I agree to be contacted via e-mail.