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 ...Problem in creating a New Profile Property using a List datatype.Problem in creating a New Profile Property using a List datatype.
Previous
 
Next
New Post
8/28/2007 4:29 PM
 

I'm trying to give my users an option to specify how they want to receive e-mails (subject, frequency, etc).  The obvious way is User Accounts > Manage Profile Properties > Add New Profile Property.  Then create a new Property using a List datatype.  This all works fine on 4.5.3. You get a nice dropdown box with all the list values available for selection.  (The only odd thing is that the Localisation option which appears at the end of the new profile setup seems to be completely ignored. Also, I don't understand why the designers haven't used the lists available Host > Lists as it would be best to have just one place of management.)

However on 4.5.5 it does not work, even though the functionality appears to be identical.  All goes fine during configuration but when any user (including Admin and Host) attempts to populate the field (during registration or Manage Profile) the problems are as follows: 1) The field name replaces spaces with underscrores; 2) the data entry field is one column wide; 3) no data can be entered; and 4) the dropdown box gives one row with a single blank column.  Therefore the user can enter nothing. 

Has anyone got this working on 4.5.5 or have any suggestions, short of rolling back to 4.5.3?

 
New Post
8/29/2007 7:53 PM
 

It looks like I can answer my own question.  So here it is in case anyone is interested.  The problem stems from the name you give to the new field.  If it has no spaces all is OK.  If it has multiple words the problem appears.  So keep it to one word or use underscores.  This is acceptable as a workaround.  ("Category" is not affected and can be multiple words.)

So it sounds like a bug introduced by a post 4.5.3 release as it works OK on that version.

 

 
New Post
8/30/2007 4:37 AM
 

Thanks for posting that.. it was exactly what I had just then come in here to ask myself.
Works if the name has no spaces... go figure.... That should really go into Gemini.

I'm also wondering if the field for the default value is working. I've made a list of options and it displays, but the default is blank. I was hoping to put something like "Please select.." in as a default value, but nothing shows.

Does anyone know if/how that works?

rob

 
New Post
8/30/2007 7:13 AM
 

Hi Robax

The default works fine for me as long as the default value matches one of the list values.  The user then sees the description of the matching list item not the value itself.  So it should work, although the danger is of course that the value associated with the "Please select..." description may be written back to the user profile as it is a valid value as far as DNN is concerned.  I've sort of got around this by sticking to valid list items and making the descriptions verbose (although I've not yet checked to see if DNN stores the descriptions rather than the values in the relevant SQL user table).

You can't count on help to give some user guidance as this seems to be controlled by the localisation dialogue which follows the custom profile property setup which is completely ignored by the register / amend profile pages.

 
New Post
8/30/2007 7:59 PM
 

Thanks very much for the information. I guess there's also the option to make the list a required selection. Then at least the person is pressed to look for what was missing. I'll go and have another play with it.

I'm a little unsure how to use the value seeing as the information I'm asking of the registrant is already in the text options. I simply put 1,2,3.. in as the values. Is there a way that the value can be easily further utilised.. or only via sql?

Thanks again,
Rob

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Problem in creating a New Profile Property using a List datatype.Problem in creating a New Profile Property using a List datatype.


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