...
This method will now be recommended instead of the usage of onlyForUserGroups
in the configuration of the upload link in the menu ($menu.actionsAvailabled
).
Portal configuration to use new Profile form
You can now use a new form component in profile page, this component use faces and consistent form validation. This form is driven by the user object structure AND the portal configuration file. That means that all fields set as editable in structure will be retrieve by the form but this list will be filtered by what you specified in $profile.editablefields
. If no editable fields are provided, all the field defined in structure will be displayed.
All other configurations are still used. If you want to keep the old form you’ll have nothing to do, to use the new form you’ll have to add $profile.useLegacy
and set it to true
.
If you use the new form you can configure your fields like any other fields in the portal application (by setting and customize $edit.profil.fields
either by field names or by field types.