Skip to content

Instantly share code, notes, and snippets.

@devendrasv
Last active December 11, 2015 05:28
Show Gist options
  • Save devendrasv/0c6df3e40f48105970bb to your computer and use it in GitHub Desktop.
Save devendrasv/0c6df3e40f48105970bb to your computer and use it in GitHub Desktop.
Content Type Elements.xml file
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<!-- Parent ContentType: Item (0x01) -->
<ContentType ID="0x0100118703F0484042118516B33BD9488ECB" Name="ContentType-Object Model" Group="SharePoint-Journey" Description="My Content Type" Inherits="TRUE" Version="0">
<FieldRefs>
<FieldRef ID="{a4a8c94a-6a0d-4ef2-880d-a049720e2a73}"
DisplayName="Team Name"
Required="TRUE"
Name="Team_x0020_Name" />
<FieldRef ID="{2f6753f2-1584-477a-868e-d75ead1aaa07}"
DisplayName="Task assinged"
Required="TRUE"
Name="Task_x0020_assinged"
NumLines="6"
Sortable="FALSE" />
<FieldRef ID="{64cd368d-2f95-4bfc-a1f9-8d4324ecb007}"
DisplayName="$Resources:core,Start_Date;"
Required="TRUE"
Name="StartDate"
Format="DateOnly" />
<FieldRef ID="{8A121252-85A9-443d-8217-A1B57020FADF}"
DisplayName="$Resources:core,End_Date;"
Required="TRUE"
Name="_EndDate"
Format="DateTime" />
</FieldRefs>
</ContentType>
</Elements>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment