Skip to content

Instantly share code, notes, and snippets.

@devendrasv
Created March 10, 2017 07:35
Show Gist options
  • Save devendrasv/c5397f9a188cfac9930d4e234665354b to your computer and use it in GitHub Desktop.
Save devendrasv/c5397f9a188cfac9930d4e234665354b to your computer and use it in GitHub Desktop.
Your First Add-in: Travel Request CT
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<!-- Parent ContentType: Item (0x01) -->
<ContentType ID="0x0100397A991AA8694C4BB4A12055B56F400E" Name="TravelRequestCT" Group="Custom Content Types" Description="My Content Type" Inherits="TRUE" Version="0">
<FieldRefs>
<FieldRef ID="{33e756a8-1701-463c-aa78-ca573f78393a}" DisplayName="Request Status" Required="FALSE" Name="RequestStatus" Format="Dropdown" />
<FieldRef ID="{bbd79258-7ba1-4a48-acbb-1f7de3b385cb}" DisplayName="Request Number" Required="FALSE" Name="RequestNumber" />
<FieldRef ID="{7df4e16c-5fa1-4b4d-9c7e-49b717ca866f}" DisplayName="Urgent" Name="Urgent" />
<FieldRef ID="{7d8cc55e-241d-4a18-b6c9-4031059b5dbc}" DisplayName="Visiting Contact Details" Required="TRUE" Name="VisitingContactDetails" NumLines="6" Sortable="FALSE" />
<FieldRef ID="{7c265805-c570-403a-90ac-1eca2944c5a7}" DisplayName="Reason for Trip" Required="TRUE" Name="ReasonForTrip" NumLines="6" Sortable="FALSE" />
<FieldRef ID="{82d0de93-3d28-4120-8095-df3fefd38a98}" DisplayName="Pickup Address" Required="TRUE" Name="PickUpAddress" NumLines="6" Sortable="FALSE" />
<FieldRef ID="{270ae570-7c56-413b-b0a0-2908c3a79eb7}" DisplayName="Destination Address" Required="TRUE" Name="DestinationAddress" NumLines="6" Sortable="FALSE" />
<FieldRef ID="{e0c7133c-a908-48ef-a3e6-5cb6047579eb}" DisplayName="Pickup date and time" Required="TRUE" Name="PickupDateAndTime" Format="DateTime" />
<FieldRef ID="{52578FC3-1F01-4f4d-B016-94CCBCF428CF}" DisplayName="$Resources:core,Comments;" Description="$Resources:core,_CommentsDesc;" Name="_Comments" Sealed="TRUE" ShowInFileDlg="FALSE" Sortable="FALSE" />
</FieldRefs>
</ContentType>
</Elements>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment