You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For more information, see [UDW configuration](browser.md#udw-configuration).
133
-
134
-
Your custom page block is now ready.
135
-
136
-
!!! caution
137
-
138
-
Before you can use it in Page Builder, you must [enable it in Page field settings]([[= user_doc =]]/content_management/configure_ct_field_settings/#block-display).
139
-
140
133
Your custom page block is now registered in the system.
Copy file name to clipboardExpand all lines: docs/content_management/pages/page_block_attributes.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,15 +30,16 @@ The following attribute types are available:
30
30
|`url`|URL|-|
31
31
|`text`|Text block|-|
32
32
|`richtext`|Rich text block (see [creating RichText block](create_custom_richtext_block.md))|-|
33
-
|`embed`|Embedded content item|-|
34
-
|`select`|Drop-down with options to select|`choices` lists the available options in `label: value` form</br>`multiple`, when set to true, allows selecting more than one option.
33
+
|`embed`|Embedded content item|`udw_config_name`: name of the [Universal Discovery Widget's configuration](browser.md#add-new-configuration)|
34
+
|`embedvideo`|Embedded content item|`udw_config_name`: name of the [Universal Discovery Widget's configuration](browser.md#add-new-configuration)|
35
+
|`select`|Drop-down with options to select|<ul><li>`choices` lists the available options in `label: value` form</li><li>`multiple`, when set to true, allows selecting more than one option</li></ul>|
35
36
|`checkbox`|Checkbox|Selects available option if `value: true`.|
36
37
|`multiple`|Checkbox(es)|`choices` lists the available options in `label: value` form.|
37
38
|`radio`|Radio buttons|`choices` lists the available options in `label: value` form.|
38
-
|`locationlist`|Location selection|-|
39
+
|`locationlist`|Location selection|`udw_config_name`: name of the [Universal Discovery Widget's configuration](browser.md#add-new-configuration)|
39
40
|`contenttypelist`|List of content types|-|
40
41
|`schedule_events`,</br>`schedule_snapshots`,</br>`schedule_initial_items`,</br>`schedule_slots`,</br>`schedule_loaded_snapshot`|Used in the Content Scheduler block|-|
41
-
|`nested_attribute`|Defines a group of attributes in a block.|`attributes` - a list of attributes in the group. The attributes in the group are [configured](#page-block-attributes) as regular attributes. </br>`multiple`, when set to true. New groups are added dynamically with the **+ Add** button.|
42
+
|`nested_attribute`|Defines a group of attributes in a block.|<ul><li>`attributes` - a list of attributes in the group. The attributes in the group are [configured](#page-block-attributes) as regular attributes</li><li>`multiple`, when set to true. New groups are added dynamically with the **+ Add** button</li></ul>|
42
43
43
44
When you define attributes, you can omit most keys as long as you use simple types that don't require additional options:
44
45
@@ -49,10 +50,9 @@ attributes:
49
50
third_field: integer
50
51
```
51
52
52
-
`embed` and `locationlist` use the Universal Discovery Widget (UDW).
53
-
When creating a block with these two types you can configure the UDW behavior.
54
-
55
-
For more information, see [Create custom page block / Add edit template](create_custom_page_block.md#add-edit-template)
53
+
The `embed`, `embedvideo`, and `locationlist` attribute types use the Universal Discovery Widget (UDW).
54
+
When creating a block with these types you can use the `udw_config_name` option to configure the UDW behavior.
55
+
See the [custom block example](create_custom_page_block.md#configure-block) to learn more.
0 commit comments