Monday, August 27, 2012

User Field Type in SharePoint 2010

http://blog.sandippatil.com/sharepoint-user-type-field-in-schema-xml/ shows how it is done with:

[xml]
<Field
ID="{080FF274-4FAB-43c9-9710-78F3A76925DC}"
Type="User"
DisplayName="My User"
StaticName="MyUser"
Name="User"
Required="TRUE"
UserSelectionMode="PeopleOnly"
ShowField="Name" >
</Field>
[/xml]

No comments:

Post a Comment