Skip to content

Instantly share code, notes, and snippets.

@vman
Last active May 22, 2016 07:43
Show Gist options
  • Save vman/5070058 to your computer and use it in GitHub Desktop.
Save vman/5070058 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<Module Name="HomePages" Url="Pages">
<File Path="HomePages\Home.aspx" Url="Home.aspx" Type="GhostableInLibrary">
<AllUsersWebPart WebPartZoneID="Left" WebPartOrder="1">
<![CDATA[
<webParts>
<webPart xmlns="http://schemas.microsoft.com/WebPart/v3">
<metaData>
<type name="Microsoft.SharePoint.WebPartPages.ClientWebPart, Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
<importErrorMessage>Cannot import this Web Part.</importErrorMessage>
</metaData>
<data>
<properties>
<property name="TitleIconImageUrl" type="string" />
<property name="HelpMode" type="helpmode">Navigate</property>
<property name="Direction" type="direction">NotSet</property>
<property name="ExportMode" type="exportmode">All</property>
<property name="HelpUrl" type="string" />
<property name="Hidden" type="bool">False</property>
<property name="Description" type="string">Description of My App Part</property>
<property name="FeatureId" type="System.Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">9bed54d4-8a85-422f-9318-1000e4d475ee</property>
<property name="CatalogIconImageUrl" type="string" />
<property name="Title" type="string">Web Part Title</property>
<property name="AllowHide" type="bool">True</property>
<property name="ProductWebId" type="System.Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">a83c188b-c3af-4b37-85fa-e160f27b4e4d</property>
<property name="AllowZoneChange" type="bool">True</property>
<property name="ChromeType" type="chrometype">Default</property>
<property name="AllowConnect" type="bool">True</property>
<property name="Width" type="unit" />
<property name="Height" type="unit" />
<property name="WebPartName" type="string">MyWebPart</property>
<property name="TitleUrl" type="string" />
<property name="AllowEdit" type="bool">True</property>
<property name="AllowMinimize" type="bool">True</property>
<property name="ProductId" type="System.Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">9bed54d4-8a85-422f-9318-1000e4d475ed</property>
<property name="AllowClose" type="bool">True</property>
<property name="ChromeState" type="chromestate">Normal</property>
<property name="myEnumProp" type="string">EnumValue1</property>
</properties>
</data>
</webPart>
</webParts>
]]>
</AllUsersWebPart>
</File>
</Module>
</Elements>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment