11-27-2019 06:31 PM
Hello community, I'm trying to add more fields to the user creation form. I've been following the tutorial at https://doc.nuxeo.com/nxdoc/how-to-add-new-fields-to-the-user-profile-or-group-profile/ Where it shows how to override the default user schema. I followed suit and added my custom user schema as well as the references contribution as shown. I also modified the edit user layout to add my custom fields (they are simple nuxeo-inputs with the new user fields as values).
However whenever I create or edit an user, those fields are never persisted; looking at the database those fields/columns are also missing. I checked the server logs as well and found that the schema manager actually marks my custom schema as registered.
Is there another configuration that s missing? I'd appreciate any help
12-05-2019 04:30 AM
Hello
Here is what has to be done to update the user profile.
<extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
<!-- override default user schema -->
<schema name="user" override="true" src="data/schemas/my_custom_user.xsd"/>
</extension>
After checking the code, you will need to:
12-05-2019 04:30 AM
Hello
Here is what has to be done to update the user profile.
<extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
<!-- override default user schema -->
<schema name="user" override="true" src="data/schemas/my_custom_user.xsd"/>
</extension>
After checking the code, you will need to:
12-06-2019 02:16 PM
Thank you so much for your answer.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.