Register | Login  
 
Blogs Minimize

Current Articles | | Search |

Example of creating a custom field using a List in DNN 4.8

In the support forum, a customer has asked if the WorkControl-UserManager can be used to update, display and search customer profile attributes.  The answer is yes.  In this blog, I will provide step by step instructions to create a custom profile field called "Currency" using the built-in "Currency" list in DNN.

In DNN, you can manage the custom defined lists from the Host >> Lists menu.  The Lists menu allows you to create custom list.  Figure 1 is a screen shot of the Currency list. 

To create the "Currency" custom profile

  1. Go to Admin >> User Accounts
  2. Click on Manage Profile Properties (Figure 2)
  3. Click on Add New Profile Property (Figure 3)
  4. On the Add New Property Details screen(Figure 4)
    • Enter "Currency" in the Property Name field
    • Select "List" for Data Type
    • Enter "Finance" in Property Category (note that the Category is used to group custom field together)
    • Click on "Next"
    • Click "Next"
  5. On the Mange Localization screen (Figure 5)
    • Enter "Currency in the Property Name"
    • Enter "Please select a currency type"
    • Enter "Finance" in the Category Name
    • Click on "Save Localized Text"
  6. Click on "Return to Profile Properties List"

Figure 6 depicts the custom profile field Currency in the Manager Profile tab in the WorkControl-UserManager.

 

image

Figure 1 - Currency list

image

Figure 2 - Manage Profile Properties

image

Figure 3 - Add New Profile Property link

image

Figure 4 - Add New Property Details screen

image

Figure 5 - Manage Localization screen

image

Figure 6 - Custom profile "Currency" selection list on the Manage Profile profile tab in the WorkControl-UserManager

posted @ Wednesday, March 19, 2008 8:30 PM by Technical Support (Robert T.)

Previous Page | Next Page

COMMENTS

This is a nice guideline to create a new profile property.

Is it possible to create a new property to select an image (for e.g. User Photo)

An image control, text box and browse button. Once the image is selcted it has to be stored in a folder and file naem alone need to be stored in the database.

Please let me if any other way to create such property

posted @ Tuesday, June 17, 2008 12:54 AM by Uma


Nice article.
I want to achieve pretty much the same but instead of using a list I want to use my own list I get out of the database. You got any pointers on how to achieve that?

posted @ Thursday, August 28, 2008 7:49 AM by Steven