content-management-systemhippocms

Creating new users in hippo with custom properties


When we create users in cms console, i just dony want email, first name last name already provided by cms. I want to add custom properties like phone number or city or user type which arr project specific. I am stuck on this for days. Please help


Solution

  • Native cms users can only have the properties they have, as defined in the cnd. Users managed by an external system (like an ldap server) can have any properties, though I'm not sure that would be displayed in user management (they might be, I'd have to check the code). However, those are not directly manageable in the cms, the data belongs to an external system.

    If you don't want to use an external directory service like AD, then you might consider creating a document type in the cms. You can store all the information on users there that you want. This can be used for directory purposes, for display on the site, for author bio... Note that the system is not a directory service. If you have large amounts of users that need to be managed then I would recommend using an external service. This may also be useful for security purposes as most directory service also fucntion as IAM services. However, even then it may be useful to create user documents for more detailed information and possibly for historical information if the user is removed from IAM.