how to add custom fields to nuxeo-invite component
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>
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
https://explorer.nuxeo.com/nuxeo/site/distribution/server-10.10/viewBundle/org.nuxeo.ecm.user.invite
I've taken the link below also just as a reference (i've not installed this addon) but nothing
https://doc.nuxeo.com/nxdoc/how-to-contribute-a-new-user-registration-request-document-type/