Components
Last updated
Last updated
Widgets are based on a layout and this layout is built with components.
Components are any part of a widget you can customize. They are defined and created as a consequence of a widget creation.
The scope of components created is defined by template_id
. You can find a summary of combinations below.
sections
✅
❌
❌
❌
✅
✅
❌
✅
✅
sections_and_save
✅
❌
❌
❌
✅
✅
✅
✅
✅
full_preference_center
✅
❌
✅
✅
✅
✅
✅
✅
✅
dsar_form
❌
✅
❌
❌
❌
❌
❌
❌
❌
Components available are following:
Please be aware of the following exceptions.
To edit a layout-component, send a PATCH request on /widgets/layout-components/{id}
.
Be careful when you are editing the options
property. This is a JSONB and by design, you need to fill in every property already added every time you edit this object.
To edit multiple layout-components, send a PATCH request on /widgets/layout-components
.
component is not a layout-component
and is editable at widget level.
In addition of options
, layout-component
provides a simplified configuration with theme
property.
Privacy request widgets benefit from design and UI content edition only in layout-component
. User rights content is not editable.