02-27-2020 02:43 AM
I've user directory with custom fields added for instance "area", when i create a new user and set his password it works fine and the field "area" is present but when i create a new user without setting his password the "nuxeo-invite" is launched and the new field "area" is not filled, i've made the contribution below and the new field is added to the table "userinfo" but that field is not filled and is not copied to the users table, any clue will be appreciated
<require>org.nuxeo.ecm.user.invite.core.types.contrib</require>
<extension target="org.nuxeo.ecm.core.schema.TypeService"
point="schema">
<schema name="userinfo" src="schemas/custom-userinfo.xsd"
prefix="userinfo" override="true"/>
</extension>
02-27-2020 04:12 AM
Hi Jesus,
Have you followed the step by step instructions described in https://doc.nuxeo.com/nxdoc/how-to-add-new-fields-to-the-user-profile-or-group-profile/ ? It shows you how to add a new user field.
Once done, there shouldn't be any issue in using something like user:area property.
Have a great day
02-27-2020 10:56 AM
Yes and it works fine, the issue is when as administrator creates a new user and not set a password for this one, at this moment the "nuxeo-invite" component send a email to the user with a link to activate its account, then the user go to the link to register its password and after registered the user is created but without the "area" field, i've made a contribution overriding the "userinfo" schema, creating new doc type and configuration following the links below but nothing works.
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.