Thursday 20 March 2014

Page Element file in Sharepoint

Page Module Element File:


<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <Module Name="Pages" Url="$Resources:cmscore,List_Pages_UrlName;">
    <File Path="Master Page\Intranet\IntranetHome.aspx" Type="GhostableInLibrary" Url="IntranetHome.aspx" IgnoreIfAlreadyExists="TRUE">          
      <Property Name="Title" Value="Home" />
      <Property Name="PublishingPageLayout" Value="/_catalogs/masterpage/Intranet/IntranetHome.aspx, Home" />
       <Property Name="ContentTypeId" Value="$Resources:cmscore,contenttype_pagelayout_name;" />
    </File>
  </Module>
</Elements>

No comments:

Post a Comment