• Gandhinagar
  • GJ INDIA, 382421
  • Dubai, UAE
  • UE Dubai

How to add custom field for user in Kentico Xperience 13

How to add custom field for user in Kentico Xperience 13

Kentico Xperience 13 comes with out of the box Membership and user management functionality. Built in user type has basic fields which serve the purpose in most of the case but what if we need additional fields for user. 

Earlier I choose to go with custom table approach to store the additional information and fetching user information using user ID. It's solve the purpose but not the ideal way of doing it. 

Here I am using Kentico Xperience 13 to demostrate it. As per the Kentico you can customize any module class which is marked as customizable (highlighted in Image-1) and it's the case with user custom class in membership module. 


Image-1

Let's say you want to add a Company name  of the user.  You can add it easily without writting custom code. You need to follow following steps to achive it.

Go to Modules > Membership > Classes > User > Fields


Image-2

Click on "New Field" and create "Company" filed with required information and save it.
Once you add custom field it will be available under user as Custom Field.


Image-3

If you want to make these fields available for the user to enter when they register or update their profile.
you can access the user related alternative forms by going to Modules > Membership >  Classes > User > Alternative Forms. 

Kentico makes it easy to customize many aspects of CMS without having to touch a line of code.
 


Tags: Kentico

Need help starting your project?