Skip to content

Commit

Permalink
custom-fields: add config for hiding fields in upload/landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
zzacharo authored and kpsherva committed Jun 7, 2024
1 parent e7f9a70 commit 116499c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/customize/metadata/custom_fields/records.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,8 @@ pipenv run invenio rdm-records custom-fields init -f <field_name> -f <field_name
Now that you have defined and initialized your custom fields and configured their type and validation rules, you need to configure how you want them to be displayed on the upload form and landing page using the following properties:

- `section` - Title of the section.
- `hidden` - Controls whether the custom field section is displayed in the landing page (introduced in v12.0.0b1).
- `hide_from_landing_page` - Controls whether the custom field section is displayed in the landing page.
- `hide_from_upload_form` - Controls whether the custom field section is displayed in the upload form.
- `fields` - Ordered list of fields to be included in the section.

Each field can then be configured using the following properties:
Expand Down

0 comments on commit 116499c

Please sign in to comment.