User Profile customization.

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
4/11/2017 6:55:11 AM
Gravatar
Total Posts 3

User Profile customization.

Hello everyone,

 

I am adding a custom field in user profile configuration file but it's not display on registration page. i.e 

 <add name="TestName"
    type="System.String"
    allowMarkup="false"
    resourceFile="ProfileResource"
    labelResourceKey="PhoneNumber"
    lazyLoad="false"
    showOnRegistration="true"
    requiredForRegistration="false"
    maxLength="100"
    onlyAvailableForRoles=""
    onlyVisibleForRoles=""
    includeHelpLink="false"
    cssClass="widetextbox"
    />

I need a custom field here in profile page and i need to add it to a database that in mp_UserProperties or mp_Users.

I searched lot of forum and I tried it on my machine but it's not working for new field. if i use existing component then it's working but I need to rebuild the solution otherwise the it's not take effect of that. 

 

4/19/2017 12:52:49 AM
Gravatar
Total Posts 2254

Re: User Profile customization.

Hi,

I was able to copy what you posted into a profile config file and it worked fine. Are you sure you are editing the correct file? By default, the file is named mojoProfile.config and it is in the root of the mojoPortal installation. If you have set mojoProfileConfigFileName in your user.config or web.config, be sure to edit the file set with that setting.

Hope this helps,
Joe

You must sign in to post in the forums. This thread is closed to new posts.