Groups
Conversations
All groups and messages
Send feedback to Google
Help
Training
Sign in
Groups
dotCMS User Group
Conversations
Labels
About
Customize dotcms user attributes
22 views
Skip to first unread message
Olga Klipa
unread,
May 29, 2023, 3:19:23 PM
5/29/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dotCMS User Group
I am searching for the possibility to customize dotcms user. I would like to add / modify user attributes.
Any help/ guidance in this regard would be appreciated.
Thank you in advance,
Olga
jonathan...@dotcms.com
unread,
May 30, 2023, 11:05:56 AM
5/30/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dotCMS User Group
As part of the user_ table has a new column called; additional_info which is a json field.
It is mapped on the User class (UserModel which is the superclass) as:
https://github.com/dotCMS/core/blob/master/dotCMS/src/main/java/com/liferay/portal/model/UserModel.java#L941
So you can add extra properties, key value to that map and assign to the user and save it
Best,
J
Reply all
Reply to author
Forward
0 new messages