User Profile Update

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
8/29/2010 10:57:00 PM
Gravatar
Total Posts 25

User Profile Update

Hi Joe:

I followed the instructions in the user profile document and added two fields FirstName and LastName. I made it required to register. When registering the two fields get saved in the DB. However when I go to Manage Users and click on the Profile tab.. the two fields show up empty... Please assist here..

When I enter in a new value.. and click update user it updates the value but for some reason it does not populate the value.

Thanks

UH

9/1/2010 10:05:01 AM
Gravatar
Total Posts 18439

Re: User Profile Update

Hi Uday,

This was a bug, if you are working from the source code repository it is now fixed in the latest code.

Problem is that FirstName and LastName fields were added to the main mp_User table and logic was added to map it there instead of in mp_UserProperties, but the mapping was present only for the Set not for the Get, so it was not retrieving the values.

Best solution is to get the latest code or wait for the next version before using FirstName and LastName as profile properties.

A workaround is to use different keys like FName and LName, but ideally you would want the data stored in mp_Users and this workaround will store it in the mp_UserProperties. So it is better to either get the latest code or wait for the next release.

Best,

Joe

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