Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...LIST option in user profile.LIST option in user profile.
Previous
 
Next
New Post
4/3/2008 3:41 PM
 

WHY cant you set the values for a LIST property in the User profiles. I am making my own profile property (male/Female) and I set the property value to "list" and I just get an error satying. "Object reference not set to an instance of an object."

I have searched the forum and have seen several other people with the same issue - and it seems like there is no answer?

does anyone care? 

any ideas?

I am using 4.6.2

 
New Post
4/3/2008 11:47 PM
 

You need to login as Host and then goto Host >> Lists menu to define the list name.  You then specify a valid list name when creating profile attribute for type List.

From the Host >> Lists, create a list name Gender with two values Male and Female.  When creating user profile attribute, specify Gender in the Property Name.

Check out this blog for an example of creating profile attribute based currency list.


Robert Tango
www.workcontrol.com
Custom Modules: UserManager|UserDirectory|UserImport|PortalSSO
 
New Post
4/4/2008 9:52 AM
 

Thanks!

I tried that. unfortunately, I then get this error

An error has occurred.
DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Common.Lists.ListEntries.BindGrid() at DotNetNuke.Common.Lists.ListEntries.DataBind() at DotNetNuke.Common.Lists.ListEditor.BindList(String key) at DotNetNuke.Common.Lists.ListEditor.cmdAddList_Click(Object sender, EventArgs e) at DotNetNuke.UI.WebControls.CommandButton.RaiseClick(Object sender, EventArgs e) at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

Arg!

 

 
New Post
4/4/2008 12:37 PM
 

I still havent found an answer to this - anyone know? using 4.6.2

 
New Post
4/4/2008 11:02 PM
 

Maybe upgrade your site to DNN 4.7 or higher if you can.


Robert Tango
www.workcontrol.com
Custom Modules: UserManager|UserDirectory|UserImport|PortalSSO
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...LIST option in user profile.LIST option in user profile.


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