Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 934613 - Last Review: October 8, 2011 - Revision: 2.0
Error message when you try to install a feature in Windows SharePoint Services 3.0: "The 'UserSelectionMode' attribute is not allowed"
You try to install a feature in a Microsoft Windows SharePoint Services 3.0 Web site that uses the
UserSelectionMode attribute or the
UserSelectionScope attribute for a column that has the "User" type. When you do this, you receive an error message that resembles the following error message:
Feature definition with Id 50af2204-cb5a-46e2-abe0-73735129d1fc failed validation, file 'columns.xml', line 8, character 3:
The 'UserSelectionMode' attribute is not allowed.
How to obtain the hotfix
This issue is fixed in the Windows SharePoint Services 3.0 Hotfix Package that is dated April 12, 2007. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
934790Â
(http://kbalertz.com/Feedback.aspx?kbNumber=934790/
)
Description of the Windows SharePoint Services 3.0 hotfix package: April 12, 2007
How to enable the hotfix
To enable this hotfix, modify the Columns.xml file to add the values for the
UserSelectionMode attribute and for the
UserSelectionScope attribute. The following table lists the valid values for these attributes.
Collapse this tableExpand this table
| Value | Description |
|---|
| 0 | PeopleOnly: No restriction for a particular Windows SharePoint Services group |
| 1 | PeopleAndGroups: Restricts user selection to a particular Windows SharePoint Services group |
Note The following code is an example of the Columns.xml file.
<Elements xmlns="http://schemas.Microsoft.com/sharepoint">
<Field
Type="User"
DisplayName="UserColumn"
List="UserInfo"
Required="FALSE"
ShowField="ImnName"
UserSelectionMode="1"
UserSelectionScope="0"
Group="Custom Columns"
ID="{CC0F36E3-4BB2-4ba1-8872-D941C9223D92}"
SourceID="{d7d2586b-0e43-4481-8cba-bf959098bf6a}"
StaticName="UserColumn"
Name="UserColumn" >
</Field>
</Elements>
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
APPLIES TO
- Microsoft Windows SharePoint Services 3.0
| kberrmsg kbexpertiseinter kbwss30postrtm kbqfe kbbug kbfix KB934613 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate