Could you please let me know if it is possible to customize the customer registration process ( add new fields to the user control and save those fields in the database.
Thanks
Customizatione in Registration process...
-
- Ensign (ENS)
- Posts: 2
- Joined: Thu Sep 17, 2009 12:09 pm
Re: Customizatione in Registration process...
Yes, within the limits of the ASP.Net security provider. The user registration process is handled by a .Net user control, so source code is easy to find in the ~/ConLib/ folder.
The users data class includes a custom fields component, so it's quite easy to add additional user-specific custom fields to user records as needed. If you are using Visual Studio, you can use the object browser to explore the Users data class and expose the custom fields class for your use.
The users data class includes a custom fields component, so it's quite easy to add additional user-specific custom fields to user records as needed. If you are using Visual Studio, you can use the object browser to explore the Users data class and expose the custom fields class for your use.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
-
- Ensign (ENS)
- Posts: 2
- Joined: Thu Sep 17, 2009 12:09 pm
Re: Customizatione in Registration process...
hi
thanks for your reply, but i could not locate the custom field class using object browser.
Can you please give me the location of the custom field class in the application?
Thanks and Regards
thanks for your reply, but i could not locate the custom field class using object browser.
Can you please give me the location of the custom field class in the application?
Thanks and Regards
Re: Customizatione in Registration process...
Whoops, sorry. Able didn't name it in Users to be consistent with the other custom field sub-classes.
In the Users class it's called "Settings"
to retrieve a value, you simply load the user data class and...
In the Users class it's called "Settings"
Code: Select all
User _User = UserDataSource.Load(123);
_User.Settings.SetValuebyKey("FieldName","FieldValue");
Code: Select all
string _TestField = _User.Settings.GetValuebyKey("FieldName");
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com