How to Add Extended Properties
Posted by Anders Vindberg
in Lunarmedia Blog
on the 19 Jan. 2009 (24,705 views).
In Community Server its easy to add extended properties to the user profile without having to write any code:
To your CommunityServer.config file, add
<ExtendedUserData>
<add name="EXTENDED ATTRIBUTE NAME" />
</ExtendedUserData>
Then on your theme pages:
- User Register (/themes/YOURTHEME/user/createuser.aspx)
- Edit Profile (/themes/YOURTHEME/user/edituser.aspx)
- Edit User page in Membership Administration in Control Panel (/ControlPanel/Membership/UserEdit.aspx)
add the following input field:
<asp:TextBox id="EXTENDED ATTRIBUTE NAME" runat="server" />
That's it!