Skip to main content

Posts

Showing posts from July, 2014

SharePoint 2013 Training–Part 1

Hosted a SharePoint training for Pyxle colleagues; session went well with practical sessions and technical discussions.

SharePoint Sample Field (Columns) Schemas

SharePoint Fields (Columns) XML is essential for every SharePoint Object Model development. Multiple User Field < Field ID ="{f6377553-35fc-4166-9cc3-88fa32a5d7dd}" Name ="WFCApprovers" DisplayName ="WFC Approvers" Type ="UserMulti" Required ="FALSE" UserSelectionMode ="0" Group ="Custom" > </ Field > UserSelectionMode Options: 0 - PeopleOnly , 1 - PeopleAndGroup Single User Field < Field ID ="{f6377553-35fc-4166-9cc3-88fa32a5d7dd}" Name ="UserField" DisplayName ="User Field" Type ="User" Required ="FALSE" UserSelectionMode ="1" Group ="Custom" > </ Field > Boolean Field < Field ID ="{6ed8dbbf-4726-4a63-b358-e4797149a8ba}" Name ="Booleanfld" DisplayName ="Boolean Feild" Type ="Boolean" ...

How to Add Multiple Users in Data Element in SharePoint List Scheme

This is method is also use for add multiple lookup values as well. < ListInstance Title ="List1" OnQuickLaunch ="FALSE" TemplateType ="100" Url ="Lists/List1" Description ="List1 List Instance" > < Data > < Rows > < Row > < Field Name ="Title" > abc </ Field > < Field Name ="MultipleUser" > 9;#Melick Baranasooriya;#12;#One User </ Field > < Field Name ="MultipleValues" > 1;#One;#2;#Two </ Field > </ Row > </ Rows > </ Data > </ ListInstance > In here separator will be ;# thus we need to specify id ;# value