Products

Solutions

Resources

Partners

Community

About

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...UserInfo.Profile.GetPropertyValue returning null valuesUserInfo.Profile.GetPropertyValue returning null values
Previous
 
Next
New Post
11/5/2008 6:57 AM
 

Hello,

I recenetly upgraded my website from DNN 4.5.5 to 4.9.0. Now when I login as host i'm unable to retrieve host profile properties. It returns 'Nothing'(Note there are property values in the DB). Below is an example of how i get those values. This had been working in 4.5.5

Me.UserInfo.Profile.GetPropertyValue("Address")

However when I login as an admin or any other user to upgraded version it does return profile property values. One thing which i've noticed is that for host the IsDirty flag is true while for others it is set to false. Can anyone explain me this behavior and how should i resolve this issue.

Regards,

Kushal

 

 

 

 
New Post
11/5/2008 12:37 PM
 

Here is what I used yesterday to get a profile value I created in 490

UserInfo.Profile.ProfileProperties(

"Salutation").PropertyValue

Stuart


Hilbert Solutions, LLC
Owner, Hilbert Solutions, LLC
http://www.HilbertSolutions.com
A DNN Service Provider
From Module Development to DNN Upgrades, your one stop DNN Shop
 
New Post
11/5/2008 11:56 PM
 

I tried using UserInfo.Profile.ProfileProperties("Address").PropertyValue but still returns nothing for 'Host' login, but works fine for other logins. As I mentioned previously Me.UserInfo.Profile.GetPropertyValue("Address") works fine for other logins but host. For host the 'isDirty' flag is set to true but for others it is set to false. My guess is this 'isDirty' flag is causing some issues. Can somebody tell me more abt 'IsDirty' flag and how it is set.

 
New Post
11/6/2008 1:02 PM
 

I assume the host has something in the Address field?

Stuart


Hilbert Solutions, LLC
Owner, Hilbert Solutions, LLC
http://www.HilbertSolutions.com
A DNN Service Provider
From Module Development to DNN Upgrades, your one stop DNN Shop
 
New Post
11/7/2008 12:45 AM
 

 Yes the host does have value in the address field. I've confirmed in the DB. Only that it shows in DNN 455 and not in 490 (the value exist in both DB version). 

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...UserInfo.Profile.GetPropertyValue returning null valuesUserInfo.Profile.GetPropertyValue returning null values


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out