User field with multiple users to check via schema.xmlwhen you create lists in sharepoint, it's possible to add afield for choosing a person or multiple persons.<br><br>I want exactly that for my list template. I have the following CAML syntax:<br>      &lt;Field Id=&quot;{8ADC8169-6BA9-4d7e-B77D-B0F8B79BBEC5}&quot;<br>             Name=&quot;Vertreter&quot;<br>             BaseType=&quot;Text&quot;<br>             DisplayName=&quot;Vertreter&quot;<br>             Type=&quot;User&quot; Sealed=&quot;TRUE&quot;<br>             ShowInDisplayForm=&quot;TRUE&quot;<br>             ShowInEditForm=&quot;TRUE&quot;<br>             ShowInNewForm=&quot;TRUE&quot;<br>             ShowInListSettings=&quot;TRUE&quot;<br>             DisplayNameSrcField=&quot;Account&quot;<br>             List=&quot;UserInfo&quot;<br>             SourceID=&quot;http://schemas.microsoft.com/sharepoint/v3&quot;/&gt;<br><br>This works fine, you can select a user there. But I didn't find two options:<br><ul><li>To be able, to select multiple people for this column</li><li>To restrict this field to people only, not user groups</li></ul>How can I do that?<br><br>Thanks<br>© 2009 Microsoft Corporation. All rights reserved.Mon, 05 Oct 2009 17:00:54 Zf2e0f680-0f36-4d12-91bf-c27decc6b585http://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/f2e0f680-0f36-4d12-91bf-c27decc6b585#f2e0f680-0f36-4d12-91bf-c27decc6b585http://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/f2e0f680-0f36-4d12-91bf-c27decc6b585#f2e0f680-0f36-4d12-91bf-c27decc6b585Uwe82http://social.msdn.microsoft.com/Profile/en-US/?user=Uwe82User field with multiple users to check via schema.xmlwhen you create lists in sharepoint, it's possible to add afield for choosing a person or multiple persons.<br><br>I want exactly that for my list template. I have the following CAML syntax:<br>      &lt;Field Id=&quot;{8ADC8169-6BA9-4d7e-B77D-B0F8B79BBEC5}&quot;<br>             Name=&quot;Vertreter&quot;<br>             BaseType=&quot;Text&quot;<br>             DisplayName=&quot;Vertreter&quot;<br>             Type=&quot;User&quot; Sealed=&quot;TRUE&quot;<br>             ShowInDisplayForm=&quot;TRUE&quot;<br>             ShowInEditForm=&quot;TRUE&quot;<br>             ShowInNewForm=&quot;TRUE&quot;<br>             ShowInListSettings=&quot;TRUE&quot;<br>             DisplayNameSrcField=&quot;Account&quot;<br>             List=&quot;UserInfo&quot;<br>             SourceID=&quot;http://schemas.microsoft.com/sharepoint/v3&quot;/&gt;<br><br>This works fine, you can select a user there. But I didn't find two options:<br><ul><li>To be able, to select multiple people for this column</li><li>To restrict this field to people only, not user groups</li></ul>How can I do that?<br><br>Thanks<br>Thu, 22 Feb 2007 11:13:59 Z2007-02-22T15:02:06Zhttp://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/f2e0f680-0f36-4d12-91bf-c27decc6b585#d0495662-1886-49bb-a6d3-85a9f28db03bhttp://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/f2e0f680-0f36-4d12-91bf-c27decc6b585#d0495662-1886-49bb-a6d3-85a9f28db03bUwe82http://social.msdn.microsoft.com/Profile/en-US/?user=Uwe82User field with multiple users to check via schema.xml<font size="3">Who should get the idea, that you just have to put "Multi" behind the type text, to have multiple values in a field, so that it looks like this:<br></font><span><span id="_ctl0_MainContent__ctl0_PostForm_ReplyBody" class="txt4"><font size="3"><br> &lt;Field Id="{8ADC8169-6BA9-4d7e-B77D-B0F8B79BBEC5}"<br> Name="Vertreter"<br> BaseType="Text"<br> DisplayName="Vertreter"<br> Type="User<span style="color: rgb(255, 0, 0);">Multi</span>" Sealed="TRUE"<br> ShowInDisplayForm="TRUE"<br> ShowInEditForm="TRUE"<br> ShowInNewForm="TRUE"<br> ShowInListSettings="TRUE"<br> DisplayNameSrcField="Account"<br> List="UserInfo"<br><span style="color: rgb(255, 0, 0);">UserSelectionMode="PeopleOnly"</span><br> SourceID="http://schemas.microsoft.com/sharepoint/v3"/&gt;<br><br>The other option "UserSelectionMode" is also not documented. Now it is in a forum's post ;)<br><br>By the way, I found the XML-structure of list definitions. So if you want to know, how a list definition done via SharePoint UI is done in CAML, take a look into the content-database of the web application, table dbo.AllLists, pick the list, where you want to get the definition and copy the content of the field tp_Fields into an XML-editor .... there it is.</font> <br></span></span>Thu, 22 Feb 2007 15:02:00 Z2007-02-22T15:02:06Zhttp://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/f2e0f680-0f36-4d12-91bf-c27decc6b585#96b7287f-177b-4ef2-b6e4-57cc51f7d2b2http://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/f2e0f680-0f36-4d12-91bf-c27decc6b585#96b7287f-177b-4ef2-b6e4-57cc51f7d2b2Nguyen Van Namhttp://social.msdn.microsoft.com/Profile/en-US/?user=Nguyen%20Van%20NamUser field with multiple users to check via schema.xml<p align=left><font face=Arial size=2></font> </p> <p>Hi,</p> <p align=left> </p> <p align=left>I applied exactly your solution in my WSS 3.0 but I still can not select more than one person in <font size=3>Vertreter field with following msg: <span class=ms-error id="ctl00_m_g_b8ef1bd0_efd1_4b38_bb22_534db1231cb5_ctl00_ctl02_ctl00_ctl01_ctl00_ctl00_ctl03_ctl00_ctl00_ctl04_ctl00_ctl00_UserField_errorLabel"><font color="#ff0000">You are only allowed to enter one item.</font></span></font></p> <p>Pls show me your exact code or any more step I have to take?</p> <p align=left>Thanks very much.</p> <p align=left> </p>Sun, 04 Nov 2007 14:57:23 Z2007-11-04T14:57:23Zhttp://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/f2e0f680-0f36-4d12-91bf-c27decc6b585#32b90071-dc14-4460-9d56-c9ebba43b87ehttp://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/f2e0f680-0f36-4d12-91bf-c27decc6b585#32b90071-dc14-4460-9d56-c9ebba43b87eUwe82http://social.msdn.microsoft.com/Profile/en-US/?user=Uwe82User field with multiple users to check via schema.xmlOften, I had to delete the list and reinstall the feature again, when I made changes to existing fields. Did you try that?<br>Sun, 04 Nov 2007 15:39:09 Z2007-11-04T15:39:09Zhttp://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/f2e0f680-0f36-4d12-91bf-c27decc6b585#06c4ce82-042b-4d35-99e9-c3b3adb50171http://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/f2e0f680-0f36-4d12-91bf-c27decc6b585#06c4ce82-042b-4d35-99e9-c3b3adb50171Nguyen Van Namhttp://social.msdn.microsoft.com/Profile/en-US/?user=Nguyen%20Van%20NamUser field with multiple users to check via schema.xml<p align=left><font face=Arial size=2>Thank for your reply. I have reinstalled feature, restart iis and then recreate list but the result is still the same.</font></p> <p align=left>I also cretated a content type with a UserMulti field but still can not to input multi user to this field. Here is my work:</p> <p align=left> </p> <p align=left>I created a content type named 'MyContentType':</p> <p align=left> </p> <p align=left>1. MyContentType.xml:</p> <blockquote dir=ltr style="margin-right:0px"> <p align=left><font color="#0000ff" size=2>&lt;?</font><font color="#800000" size=2>xml</font><font color="#0000ff" size=2> </font><font color="#ff0000" size=2>version</font><font color="#0000ff" size=2>=</font><font size=2>&quot;</font><font color="#0000ff" size=2>1.0</font><font size=2>&quot;</font><font color="#0000ff" size=2> </font><font color="#ff0000" size=2>encoding</font><font color="#0000ff" size=2>=</font><font size=2>&quot;</font><font color="#0000ff" size=2>utf-8</font><font size=2>&quot;</font><font color="#0000ff" size=2>?&gt;</p> <p>&lt;</font><font color="#800000" size=2>Elements</font><font color="#0000ff" size=2> </font><font color="#ff0000" size=2>xmlns</font><font color="#0000ff" size=2>=</font><font size=2>&quot;</font><font color="#0000ff" size=2>http://schemas.microsoft.com/sharepoint/</font><font size=2>&quot;</font><font color="#0000ff" size=2>&gt;</p></blockquote> <blockquote dir=ltr style="margin-right:0px"> <blockquote dir=ltr style="margin-right:0px"> <p>&lt;!--</font><font color="#008000" size=2> _filecategory=&quot;ContentType&quot; _filetype=&quot;Schema&quot; _filename=&quot;contenttype.xml&quot; _uniqueid=&quot;e68b4af3-8f33-4248-a961-9bf1d5ed2498&quot; </font><font color="#0000ff" size=2>--&gt;</p> <p>&lt;</font><font color="#800000" size=2>ContentType</font><font color="#0000ff" size=2> </font><font color="#ff0000" size=2>ID</font><font color="#0000ff" size=2>=</font><font size=2>&quot;</font><font color="#0000ff" size=2>0x010100c13b332e590c4f54ba69c02326d531bb</font><font size=2>&quot;</p></font><font color="#0000ff" size=2> <p></font><font color="#ff0000" size=2>Name</font><font color="#0000ff" size=2>=</font><font size=2>&quot;</font><font color="#0000ff" size=2>MyContentType</font><font size=2>&quot;</p></font><font color="#0000ff" size=2> <p></font><font color="#ff0000" size=2>Group</font><font color="#0000ff" size=2>=</font><font size=2>&quot;</font><font color="#0000ff" size=2>Development</font><font size=2>&quot;</p></font><font color="#0000ff" size=2> <p></font><font color="#ff0000" size=2>Description</font><font color="#0000ff" size=2>=</font><font size=2>&quot;</font><font color="#0000ff" size=2>Developing Content Type</font><font size=2>&quot;</p></font><font color="#0000ff" size=2> <p></font><font color="#ff0000" size=2>Version</font><font color="#0000ff" size=2>=</font><font size=2>&quot;</font><font color="#0000ff" size=2>0</font><font size=2>&quot;</font><font color="#0000ff" size=2>&gt;</p> <p>&lt;</font><font color="#800000" size=2>FieldRefs</font><font color="#0000ff" size=2>&gt;</p> <p>&lt;</font><font color="#800000" size=2>FieldRef</font><font color="#0000ff" size=2> </font><font color="#ff0000" size=2>ID</font><font color="#0000ff" size=2>=</font><font size=2>&quot;</font><font color="#0000ff" size=2>{1950a668-18b0-4d7c-895d-6aa9888f49cc}</font><font size=2>&quot;</font><font color="#0000ff" size=2> </font><font color="#ff0000" size=2>Name</font><font color="#0000ff" size=2>=</font><font size=2>&quot;</font><font color="#0000ff" size=2>MyContentTypeField</font><font size=2>&quot;</font><font color="#0000ff" size=2> /&gt;</p> <p>&lt;/</font><font color="#800000" size=2>FieldRefs</font><font color="#0000ff" size=2>&gt;</p> <p>&lt;/</font><font color="#800000" size=2>ContentType</font><font color="#0000ff" size=2>&gt;</font></p></blockquote> <p align=left><font color="#0000ff" size=2>&lt;/</font><font color="#800000" size=2>Elements</font><font color="#0000ff" size=2>&gt;</p></blockquote> <p><font color="#000000"></font> </p> <p align=left><font color="#000000">The field with ID of &quot;<font size=2>{1950a668-18b0-4d7c-895d-6aa9888f49cc}</font><font size=2>&quot; in MyContentntType.xml is declared in MyContentType.Fields.xml below:</font></font></p> <p align=left><font color="#000000"></font> </p> <p align=left><font color="#000000">2. MyContentType.Fields.xml</font></p><font color="#0000ff" size=2> <blockquote dir=ltr style="margin-right:0px"> <p>&lt;?</font><font color="#800000" size=2>xml</font><font color="#0000ff" size=2> </font><font color="#ff0000" size=2>version</font><font color="#0000ff" size=2>=</font><font color="#000000" size=2>&quot;</font><font color="#0000ff" size=2>1.0</font><font color="#000000" size=2>&quot;</font><font color="#0000ff" size=2> </font><font color="#ff0000" size=2>encoding</font><font color="#0000ff" size=2>=</font><font color="#000000" size=2>&quot;</font><font color="#0000ff" size=2>utf-8</font><font color="#000000" size=2>&quot;</font><font color="#0000ff" size=2>?&gt;</p> <p>&lt;</font><font color="#800000" size=2>Elements</font><font color="#0000ff" size=2> </font><font color="#ff0000" size=2>xmlns</font><font color="#0000ff" size=2>=</font><font color="#000000" size=2>&quot;</font><font color="#0000ff" size=2>http://schemas.microsoft.com/sharepoint/</font><font color="#000000" size=2>&quot;</font><font color="#0000ff" size=2>&gt;</p> <blockquote dir=ltr style="margin-right:0px"> <p>&lt;!--</font><font color="#008000" size=2> _filecategory=&quot;ContentType&quot; _filetype=&quot;File&quot; _filename=&quot;fields.xml&quot; _uniqueid=&quot;1950a668-18b0-4d7c-895d-6aa9888f49cc&quot; </font><font color="#0000ff" size=2>--&gt;</p> <p>&lt;</font><font color="#800000" size=2>Field</p></font><font color="#0000ff" size=2> <p></font><font color="#ff0000" size=2>ID</font><font color="#0000ff" size=2>=</font><font color="#000000" size=2>&quot;</font><font color="#0000ff" size=2>{1950a668-18b0-4d7c-895d-6aa9888f49cc}</font><font size=2><font color="#000000">&quot;</font></p></font><font size=2> <p></font><font color="#ff0000" size=2>Name</font><font color="#0000ff" size=2>=</font><font color="#000000" size=2>&quot;</font><font color="#0000ff" size=2>MyContentTypeField</font><font size=2><font color="#000000">&quot;</font></p></font><font size=2> <p></font><font color="#ff0000" size=2>DisplayName</font><font color="#0000ff" size=2>=</font><font color="#000000" size=2>&quot;</font><font color="#0000ff" size=2>MyContentType Field</font><font size=2><font color="#000000">&quot;</font></p></font><font size=2> <p></font><font color="#ff0000" size=2>StaticName</font><font color="#0000ff" size=2>=</font><font color="#000000" size=2>&quot;</font><font color="#0000ff" size=2>MyContentTypeField</font><font size=2><font color="#000000">&quot;</font></p></font><font size=2> <p></font><font color="#ff0000" size=2>BaseType</font><font color="#0000ff" size=2>=</font><font color="#000000" size=2>&quot;</font><font color="#0000ff" size=2>Text</font><font size=2><font color="#000000">&quot;</font></p></font><font size=2> <p></font><font color="#ff0000" size=2>Type</font><font color="#0000ff" size=2>=</font><font color="#000000" size=2>&quot;</font><font color="#993366" size=2><strong>UserMulti</strong></font><font color="#000000" size=2>&quot;</font><font color="#0000ff" size=2> </font><font color="#ff0000" size=2>Sealed</font><font color="#0000ff" size=2>=</font><font color="#000000" size=2>&quot;</font><font color="#0000ff" size=2>TRUE</font><font size=2><font color="#000000">&quot;</font></p></font><font size=2> <p></font><font color="#ff0000" size=2>ShowInDisplayForm</font><font color="#0000ff" size=2>=</font><font color="#000000" size=2>&quot;</font><font color="#0000ff" size=2>TRUE</font><font size=2><font color="#000000">&quot;</font></p></font><font size=2> <p></font><font color="#ff0000" size=2>ShowInEditForm</font><font color="#0000ff" size=2>=</font><font color="#000000" size=2>&quot;</font><font color="#0000ff" size=2>TRUE</font><font size=2><font color="#000000">&quot;</font></p></font><font size=2> <p></font><font color="#ff0000" size=2>ShowInNewForm</font><font color="#0000ff" size=2>=</font><font color="#000000" size=2>&quot;</font><font color="#0000ff" size=2>TRUE</font><font size=2><font color="#000000">&quot;</font></p></font><font size=2> <p></font><font color="#ff0000" size=2>ShowInListSettings</font><font color="#0000ff" size=2>=</font><font color="#000000" size=2>&quot;</font><font color="#0000ff" size=2>TRUE</font><font size=2><font color="#000000">&quot;</font></font><font size=2></p></font><font size=2> <p></font><font color="#ff0000" size=2>UserSelectionMode</font><font color="#0000ff" size=2>=</font><font color="#000000" size=2>&quot;</font><font color="#993366" size=2><u><strong>PeopleOnly</strong></u></font><font size=2><font color="#000000">&quot;</font></p></font><font size=2> <p></font><font color="#ff0000" size=2>SourceID</font><font color="#0000ff" size=2>=</font><font color="#000000" size=2>&quot;</font><font color="#0000ff" size=2>http://schemas.microsoft.com/sharepoint/v3</font><font color="#000000" size=2>&quot;</font><font color="#0000ff" size=2>/&gt;</p></blockquote> <p>&lt;/</font><font color="#800000" size=2>Elements</font><font color="#0000ff" size=2>&gt;</p> <p> </p> <p align=left><font color="#000000">In my Visual studio IDE tool appear a warning in <font color="#ff0000" size=2>UserSelectionMode</font><font color="#0000ff" size=2>=</font><font color="#000000" size=2>&quot;</font><font color="#993366" size=2><u><strong>PeopleOnly</strong></u></font><font size=2><font color="#000000">&quot; line: </font></font></font></p> <p align=left><font color="#000000"></font> </p> <p align=left><font color="#000000"><font size=2>Warning 1: The 'UserSelectionMode' attribute is invalid - The value 'PeopleOnly' is invalid according to its datatype 'http://www.w3.org/2001/XMLSchema:int' - The string 'PeopleOnly' is not a valid Int32 value. D:\SharePointProjects\SharePointSolution\ContentTypes\MyContentType\MyContentType.Fields.xml</p> <p> </p> <p align=left>(if I ignore this warning and try to install this feature by stsadm -&gt; appear <font color="#ff0000">'The 'UserSelectionMode' attribute is invalid - The value 'PeopleOnly' is invalid according to its da<br>tatype 'http://www.w3.org/2001/XMLSchema:int' - The string 'PeopleOnly' is not a valid Int32 value.'</font>  -&gt;fail to install the feature)</p> <p align=left> </p> <p align=left>When use a Reflector tool to deassemble Microsoft.SharePoint.dll, I found that: PeopleOnly = 0 and PeopleAndGroup = 1. </p> <p align=left> </p> <p align=left> <table style="margin-bottom:0px" cellspacing=0 cellpadding=0 width="100%"> <tbody> <tr> <td style="padding-right:5px;padding-left:5px;padding-bottom:4px;padding-top:4px" valign=top colspan=2><pre><font color="#1000a0">public</font> <font color="#1000a0">enum</font> <b><a class=bold href="http://www.aisto.com/roeder/dotnet/Default.aspx?Target=code://Microsoft.SharePoint:12.0.0.0:71e9bce111e9429c/Microsoft.SharePoint.SPFieldUserSelectionMode"><font color="#000000">SPFieldUserSelectionMode</font></a></b> { <b><a class=bold href="http://www.aisto.com/roeder/dotnet/Default.aspx?Target=code://Microsoft.SharePoint:12.0.0.0:71e9bce111e9429c/Microsoft.SharePoint.SPFieldUserSelectionMode/PeopleOnly"><font color="#000000">PeopleOnly</font></a></b>, <b><a class=bold href="http://www.aisto.com/roeder/dotnet/Default.aspx?Target=code://Microsoft.SharePoint:12.0.0.0:71e9bce111e9429c/Microsoft.SharePoint.SPFieldUserSelectionMode/PeopleAndGroups"><font color="#000000">PeopleAndGroups</font></a></b> } </pre></td></tr></tbody></table></p></blockquote> <p dir=ltr align=left><span style="cursor:default">-&gt; Then I replate <font color="#ff0000">UserSelectionMode</font><font color="#0000ff" size=2>=</font><font color="#000000" size=2>&quot;</font><font color="#993366" size=2><u><strong>PeopleOnly</strong></u></font><font size=2><font color="#000000">&quot; with <font color="#ff0000">UserSelectionMode</font><font color="#0000ff" size=2>=</font><font color="#000000" size=2>&quot;</font><font color="#993366" size=2><u><strong>0</strong></u></font><font size=2><font color="#000000">&quot; -&gt; there is no warning anymore and the feature is successful installed. Be low is my feature.xml:</font></font></font></font></span></p><span style="cursor:default"><font color="#0000ff" size=2> <p>&lt;?</font><font color="#800000" size=2>xml</font><font color="#0000ff" size=2> </font><font color="#ff0000" size=2>version</font><font color="#0000ff" size=2>=</font><font size=2>&quot;</font><font color="#0000ff" size=2>1.0</font><font size=2>&quot;</font><font color="#0000ff" size=2> </font><font color="#ff0000" size=2>encoding</font><font color="#0000ff" size=2>=</font><font size=2>&quot;</font><font color="#0000ff" size=2>utf-8</font><font size=2>&quot;</font><font color="#0000ff" size=2>?&gt;</p> <blockquote dir=ltr style="margin-right:0px"> <p>&lt;</font><font color="#800000" size=2>Feature</font><font color="#0000ff" size=2> </font><font color="#ff0000" size=2>Id</font><font color="#0000ff" size=2>=</font><font size=2>&quot;</font><font color="#0000ff" size=2>{5337AE21-9650-4dbb-BEBE-C0303F4FD2A6}</font><font size=2>&quot;</p></font><font color="#0000ff" size=2> <p></font><font color="#ff0000" size=2>Title</font><font color="#0000ff" size=2>=</font><font size=2>&quot;</font><font color="#0000ff" size=2>My Content Type</font><font size=2>&quot;</p></font><font color="#0000ff" size=2> <p></font><font color="#ff0000" size=2>Description</font><font color="#0000ff" size=2>=</font><font size=2>&quot;</font><font color="#0000ff" size=2>My test content type with UserMulti field</font><font size=2>&quot;</p></font><font color="#0000ff" size=2> <p></font><font color="#ff0000" size=2>Version</font><font color="#0000ff" size=2>=</font><font size=2>&quot;</font><font color="#0000ff" size=2>12.0.0.0</font><font size=2>&quot;</p></font><font color="#0000ff" size=2> <p></font><font color="#ff0000" size=2>Hidden</font><font color="#0000ff" size=2>=</font><font size=2>&quot;</font><font color="#0000ff" size=2>FALSE</font><font size=2>&quot;</p></font><font color="#0000ff" size=2> <p></font><font color="#ff0000" size=2>Scope</font><font color="#0000ff" size=2>=</font><font size=2>&quot;</font><font color="#0000ff" size=2>Site</font><font size=2>&quot;</p></font><font color="#0000ff" size=2> <p></font><font color="#ff0000" size=2>DefaultResourceFile</font><font color="#0000ff" size=2>=</font><font size=2>&quot;</font><font color="#0000ff" size=2>core</font><font size=2>&quot;</font><font color="#0000ff" size=2> </p> <p></font><font color="#ff0000" size=2>xmlns</font><font color="#0000ff" size=2>=</font><font size=2>&quot;</font><font color="#0000ff" size=2>http://schemas.microsoft.com/sharepoint/</font><font size=2>&quot;</font><font color="#0000ff" size=2> &gt;</p> <p>&lt;</font><font color="#800000" size=2>ElementManifests</font><font color="#0000ff" size=2>&gt;</p> <p>&lt;</font><font color="#800000" size=2>ElementManifest</font><font color="#0000ff" size=2> </font><font color="#ff0000" size=2>Location</font><font color="#0000ff" size=2>=</font><font size=2>&quot;</font><font color="#0000ff" size=2>MyContentType.Fields.xml</font><font size=2>&quot;</font><font color="#0000ff" size=2>/&gt;</p> <p>&lt;</font><font color="#800000" size=2>ElementManifest</font><font color="#0000ff" size=2> </font><font color="#ff0000" size=2>Location</font><font color="#0000ff" size=2>=</font><font size=2>&quot;</font><font color="#0000ff" size=2>MyContentType.xml</font><font size=2>&quot;</font><font color="#0000ff" size=2>/&gt;</p> <p>&lt;/</font><font color="#800000" size=2>ElementManifests</font><font color="#0000ff" size=2>&gt;</p> <p>&lt;/</font><font color="#800000" size=2>Feature</font><font color="#0000ff" size=2>&gt;</font></p> <p align=left><font color="#0000ff"></font> </p></blockquote> <p dir=ltr align=left><font color="#000000">Now my content type is successfully to install:</font></p> <p dir=ltr align=left><font color="#000000"></font> </p> <p dir=ltr align=left><font color="#000000">C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES&gt;stsadm -o<br>installfeature -filename MyContentType\feature.xml</font></p> <p dir=ltr align=left><font color="#000000">Operation completed successfully.</font></p> <p dir=ltr align=left><br><font color="#000000">C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES&gt;stsadm -o<br>activatefeature -filename MyContentType\feature.xml -url </font><a title="http://namnvpc:18080" href="http://namnvpc:18080"><font color="#000000">http://namnvpc:18080</font></a></p> <p dir=ltr align=left><font color="#000000">Operation completed successfully.</font></p> <p dir=ltr align=left><font color="#000000"></font> </p> <p dir=ltr align=left><br><font color="#000000">C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES&gt;iisreset</font></p> <p dir=ltr align=left><font color="#000000">Attempting stop...<br>Internet services successfully stopped<br>Attempting start...<br>Internet services successfully restarted</font></p> <p dir=ltr align=left><font color="#000000"></font> </p> <p dir=ltr align=left><font color="#000000">But when I created a Document list of this new content type -&gt; MyContentType field is still accept only one single user</font></p> <p dir=ltr align=left> </p> <p dir=ltr align=left>Could you create 3 xml files by copy from here and deploy in to your WSS to test for me?</p> <p dir=ltr align=left>Thanks so much.</p> <p dir=ltr align=left> </p> <p dir=ltr align=left></span> </p></font></font></font></font>Mon, 05 Nov 2007 07:25:44 Z2007-11-05T07:25:44Zhttp://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/f2e0f680-0f36-4d12-91bf-c27decc6b585#8917319a-ed9a-4d68-a7a1-06210557465ahttp://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/f2e0f680-0f36-4d12-91bf-c27decc6b585#8917319a-ed9a-4d68-a7a1-06210557465aJonesinhttp://social.msdn.microsoft.com/Profile/en-US/?user=JonesinUser field with multiple users to check via schema.xml<p>Hi,</p> <p align=left> </p> <p align=left>Just wondering, has anyone resolved this issue? I've the same problem where I'm installing a custom list with a &quot;UserMulti&quot; field, but I'm ending up with the &quot;You are only allowed to enter one item.&quot; message.</p> <p align=left> </p> <p align=left>Thanks!</p> <p align=left><font face=Arial size=2></font> </p>Tue, 18 Dec 2007 19:33:51 Z2007-12-18T19:33:51Zhttp://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/f2e0f680-0f36-4d12-91bf-c27decc6b585#d36a5b1c-9b26-4f7f-bc71-b3f447f69e6dhttp://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/f2e0f680-0f36-4d12-91bf-c27decc6b585#d36a5b1c-9b26-4f7f-bc71-b3f447f69e6dlycan2k8http://social.msdn.microsoft.com/Profile/en-US/?user=lycan2k8User field with multiple users to check via schema.xml<p align=left><font face=Arial size=2></font> </p> <p>hi</p> <p align=left> </p> <p align=left>im having the same problem. has anyone found a solution?</p> <p align=left> </p> <p align=left>thanks</p>Fri, 04 Jan 2008 16:52:08 Z2008-01-04T16:52:08Zhttp://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/f2e0f680-0f36-4d12-91bf-c27decc6b585#5867ae5b-cdc0-401f-9a3e-877d2caa3be7http://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/f2e0f680-0f36-4d12-91bf-c27decc6b585#5867ae5b-cdc0-401f-9a3e-877d2caa3be7Bisbjerghttp://social.msdn.microsoft.com/Profile/en-US/?user=BisbjergUser field with multiple users to check via schema.xml<p align=left><font face=Arial size=2>I had the same problem.<br>It turned out to be the schema.</font></p> <p align=left> </p> <p align=left>Have you checked the entry for your user field?</p> <p align=left>It should look something like this:</p> <p align=left> </p> <p align=left>&lt;Field ID=&quot;{guid}&quot;</p> <blockquote dir=ltr style="margin-right:0px"> <p align=left>Name=&quot;Users&quot;</p> <p align=left>SourceID=&quot;<a title="http://schemas.microsoft.com/sharepoint/v3" href="http://schemas.microsoft.com/sharepoint/v3">http://schemas.microsoft.com/sharepoint/v3</a>&quot;</p> <p align=left>StaticName=&quot;Users&quot;</p> <p align=left>Group=&quot;MyGroup&quot;</p> <p align=left><strong>Type=&quot;UserMulti&quot;</strong></p> <p align=left><strong>UserSelectionMode=&quot;0&quot;</strong></p> <p align=left><strong>UserSelectionScope=&quot;0&quot;</strong></p> <p align=left>Mult=&quot;TRUE&quot;</p> <p align=left>List=&quot;UserInfo&quot;</p> <p align=left>DisplayName=&quot;Users&quot;</p> <p align=left>Sortable=&quot;TRUE&quot;</p> <p align=left>Description=&quot;Users&quot;</p> <p align=left>Sealed=&quot;TRUE&quot;</p> <p align=left>ColName=&quot;int1&quot;</p> <p align=left>RowOrdinal=&quot;0&quot; /&gt;</p> <p> </p></blockquote> <p dir=ltr align=left>UserSelectionMode: 0 is for PeopleOnly, 1 is for PeopleAndGroups</p> <p dir=ltr align=left>UserSelectionScope: 0 is for all users. If you need to limit it to a certain SharePoint group, you must pick up the id for this group, which is an integer. I used the listgenerator from the SharePoint Solution Generator for this.</p> <p dir=ltr align=left> </p> <p dir=ltr align=left>/Bisbjerg</p> <blockquote dir=ltr style="margin-right:0px"> <p align=left> </p></blockquote>Mon, 21 Jan 2008 11:39:55 Z2008-01-21T11:39:55Zhttp://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/f2e0f680-0f36-4d12-91bf-c27decc6b585#354ba6b0-8179-426d-9a56-69486afbd95dhttp://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/f2e0f680-0f36-4d12-91bf-c27decc6b585#354ba6b0-8179-426d-9a56-69486afbd95dPateketuhttp://social.msdn.microsoft.com/Profile/en-US/?user=PateketuUser field with multiple users to check via schema.xmlTue, 03 Jun 2008 10:37:52 Z2008-06-03T10:37:52Zhttp://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/f2e0f680-0f36-4d12-91bf-c27decc6b585#56da331c-4a15-45b2-b756-6b203bc39757http://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/f2e0f680-0f36-4d12-91bf-c27decc6b585#56da331c-4a15-45b2-b756-6b203bc39757TheRavehttp://social.msdn.microsoft.com/Profile/en-US/?user=TheRaveUser field with multiple users to check via schema.xml<p> I was having the same problem. <br>I tried the solution, but still it wasn't working.<br>Then I try to add an other field called Users to my list using the WSS list Settings.<br>Then suddenly the option allow multiple selection was visible. <br><br>This is what appeared on my screen:<br><br> <table class=ms-authoringcontrols cellspacing=0 cellpadding=0 width="100%" border=0> <tbody> <tr id="ctl00_PlaceHolderMain_OptionalSettings_ctl00_ctl02_tablerow1"> <td class=ms-authoringcontrols nowrap colspan=2><font id="ctl00_PlaceHolderMain_OptionalSettings_ctl00_ctl02_LiteralLabelText">Allow multiple selections:</font> </td></tr> <tr id="ctl00_PlaceHolderMain_OptionalSettings_ctl00_ctl02_tablerow2"> <td><img height=3 alt="" src="http://pmibeleudb02:777/_layouts/images/blank.gif" width=1></td></tr> <tr id="ctl00_PlaceHolderMain_OptionalSettings_ctl00_ctl02_tablerow3"> <td width=11><img height=1 alt="" src="http://pmibeleudb02:777/_layouts/images/blank.gif" width=11></td> <td class=ms-authoringcontrols width="99%"><input id="ctl00_PlaceHolderMain_OptionalSettings_ctl00_ctl02_RadMultiSelectionYes" type=radio checked value=RadMultiSelectionYes><label for="ctl00_PlaceHolderMain_OptionalSettings_ctl00_ctl02_RadMultiSelectionYes">Yes</label> <input id="ctl00_PlaceHolderMain_OptionalSettings_ctl00_ctl02_RadMultiSelectionNo" type=radio value=RadMultiSelectionNo><label for="ctl00_PlaceHolderMain_OptionalSettings_ctl00_ctl02_RadMultiSelectionNo">No</label> <br><font class=ms-formvalidation id="ctl00_PlaceHolderMain_OptionalSettings_ctl00_ctl02_SpanDocLibWarning"><br><font color="#ff0000">Earlier versions of client programs might not support a Person or Group field that allows multiple selections. Adding this field might block those programs from saving documents to this library.</font></font><font color="#ff0000"> <br></font></td></tr></tbody></table>This is the CAML that was generated by WSS itself:<br><font color="#0000ff" size=2></p> <p>&lt;</font><font color="#800000" size=2>Field</font> <font color="#ff0000" size=2>Type</font><font color="#0000ff" size=2>=</font><font size=2>&quot;</font><font color="#0000ff" size=2>UserMulti</font><font size=2>&quot;</font> <font color="#ff0000" size=2>DisplayName</font><font color="#0000ff" size=2>=</font><font size=2>&quot;</font><font color="#0000ff" size=2>Users</font><font size=2>&quot;</font> <font color="#ff0000" size=2>List</font><font color="#0000ff" size=2>=</font><font size=2>&quot;</font><font color="#0000ff" size=2>UserInfo</font><font size=2>&quot;</font> <font color="#ff0000" size=2>Required</font><font color="#0000ff" size=2>=</font><font size=2>&quot;</font><font color="#0000ff" size=2>FALSE</font><font size=2>&quot;</font> <font color="#ff0000" size=2>ShowField</font><font color="#0000ff" size=2>=</font><font size=2>&quot;</font><font color="#0000ff" size=2>ImnName</font><font size=2>&quot;</font> <font color="#ff0000" size=2>UserSelectionMode</font><font color="#0000ff" size=2>=</font><font size=2>&quot;</font><font color="#0000ff" size=2>PeopleAndGroups</font><font size=2>&quot;</font> <font color="#ff0000" size=2>UserSelectionScope</font><font color="#0000ff" size=2>=</font><font size=2>&quot;</font><font color="#0000ff" size=2>0</font><font size=2>&quot;</font> <font color="#ff0000" size=2>ID</font><font color="#0000ff" size=2>=</font><font size=2>&quot;</font><font color="#0000ff" size=2>{0cd8436f-2f38-48a4-81aa-d0beeb08d257}</font><font size=2>&quot;</font> <font color="#ff0000" size=2>SourceID</font><font color="#0000ff" size=2>=</font><font size=2>&quot;</font><font color="#0000ff" size=2>{2d164f99-f51f-481e-9c3a-82a55208842e}</font><font size=2>&quot;</font> <font color="#ff0000" size=2>StaticName</font><font color="#0000ff" size=2>=</font><font size=2>&quot;</font><font color="#0000ff" size=2>Users</font><font size=2>&quot;</font> <font color="#ff0000" size=2>Name</font><font color="#0000ff" size=2>=</font><font size=2>&quot;</font><font color="#0000ff" size=2>Users</font><font size=2>&quot;</font> <font color="#ff0000" size=2>ColName</font><font color="#0000ff" size=2>=</font><font size=2>&quot;</font><font color="#0000ff" size=2>int1</font><font size=2>&quot;</font> <font color="#ff0000" size=2>RowOrdinal</font><font color="#0000ff" size=2>=</font><font size=2>&quot;</font><font color="#0000ff" size=2>0</font><font size=2>&quot;</font> <font color="#ff0000" size=2>Group</font><font color="#0000ff" size=2>=</font><font size=2>&quot;&quot;</font> <font color="#ff0000" size=2>Mult</font><font color="#0000ff" size=2>=</font><font size=2>&quot;</font><font color="#0000ff" size=2>TRUE</font><font size=2>&quot;</font> <font color="#ff0000" size=2>Sortable</font><font color="#0000ff" size=2>=</font><font size=2>&quot;</font><font color="#0000ff" size=2>FALSE</font><font size=2>&quot;</font> <font color="#ff0000" size=2>Version</font><font color="#0000ff" size=2>=</font><font size=2>&quot;</font><font color="#0000ff" size=2>1</font><font size=2>&quot;</font><font color="#0000ff" size=2>/&gt;<br><br><font color="#000000">I guess changing the field to UserMulti triggered something that allows multipl. I find it unexpected and strange. The functionality described in these posts is present by default in WSS apparently? <br></font><br>More on this:<br><a href="http://www.dailycode.net/blog/post/Multiple-users-field.aspx">http://www.dailycode.net/blog/post/Multiple-users-field.aspx</a><br></p> <p></font> </p> <hr align=left width="25%" size=1> <p>MD : <a href="http://www.dailycode.net/">www.dailycode.net</a></p>Tue, 09 Sep 2008 09:34:38 Z2008-09-09T10:00:41Zhttp://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/f2e0f680-0f36-4d12-91bf-c27decc6b585#139839ef-c419-4276-84eb-f19e6d430b88http://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/f2e0f680-0f36-4d12-91bf-c27decc6b585#139839ef-c419-4276-84eb-f19e6d430b88Saurabh Barmotahttp://social.msdn.microsoft.com/Profile/en-US/?user=Saurabh%20BarmotaUser field with multiple users to check via schema.xmlTry <br><br><br><font size=2><font color="#ff0000">Mult</font><font color="#0000ff">=</font>&quot;<font color="#0000ff">TRUE</font>&quot;<br><br></font> for multiple User in SiteColumn<br> <hr class=sig> Saurabh@cleardevelop.comWed, 26 Nov 2008 12:16:33 Z2008-11-26T12:40:14Zhttp://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/f2e0f680-0f36-4d12-91bf-c27decc6b585#46b1d9f5-1f4d-49a8-be27-b36d520329d0http://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/f2e0f680-0f36-4d12-91bf-c27decc6b585#46b1d9f5-1f4d-49a8-be27-b36d520329d0Alok.Pagariyahttp://social.msdn.microsoft.com/Profile/en-US/?user=Alok.PagariyaUser field with multiple users to check via schema.xml<span style="font-size:x-small"><span style="color:#ff0000">Mult</span><span style="color:#0000ff">=</span>&quot;<span style="color:#0000ff">TRUE</span>&quot; worked for me.</span>Mon, 20 Jul 2009 12:44:14 Z2009-07-20T12:44:14Zhttp://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/f2e0f680-0f36-4d12-91bf-c27decc6b585#005dc7b6-8f11-4798-ade2-6567949dec73http://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/f2e0f680-0f36-4d12-91bf-c27decc6b585#005dc7b6-8f11-4798-ade2-6567949dec73Challouf.Mhttp://social.msdn.microsoft.com/Profile/en-US/?user=Challouf.MUser field with multiple users to check via schema.xmlMult=&quot;TRUE&quot; worked for me tooMon, 05 Oct 2009 17:00:52 Z2009-10-05T17:00:52Z