I am building a custom Basic architecture Flex Component (no MMX dependency) with a list property type using list_type: "group". I am trying to use item_prompt_property to display a label for each list item in the Page Builder UI, but it is not working as expected.
When item_prompt_property is set to any property code (e.g. "heading" or a dedicated "slide_name" text field), the list displays [object Object] instead of the property value as the item label.
When item_prompt_property is removed entirely, the list items display with no label at all - just a blank row with an arrow to open the item's properties.
My list property definition looks like this:
Questions:
When item_prompt_property is set to any property code (e.g. "heading" or a dedicated "slide_name" text field), the list displays [object Object] instead of the property value as the item label.
When item_prompt_property is removed entirely, the list items display with no label at all - just a blank row with an arrow to open the item's properties.
My list property definition looks like this:
Code:
json
[COLOR=#2B303B]{[/COLOR]
[COLOR=#B80A18]"code"[/COLOR][COLOR=#14181F]:[/COLOR] [COLOR=#008000]"slides"[/COLOR][COLOR=#2B303B],[/COLOR]
[COLOR=#B80A18]"prompt"[/COLOR][COLOR=#14181F]:[/COLOR] [COLOR=#008000]"Slides"[/COLOR][COLOR=#2B303B],[/COLOR]
[COLOR=#B80A18]"type"[/COLOR][COLOR=#14181F]:[/COLOR] [COLOR=#008000]"list"[/COLOR][COLOR=#2B303B],[/COLOR]
[COLOR=#B80A18]"list_type"[/COLOR][COLOR=#14181F]:[/COLOR] [COLOR=#008000]"group"[/COLOR][COLOR=#2B303B],[/COLOR]
[COLOR=#B80A18]"item_prompt_property"[/COLOR][COLOR=#14181F]:[/COLOR] [COLOR=#008000]"heading"[/COLOR][COLOR=#2B303B],[/COLOR]
[COLOR=#B80A18]"properties"[/COLOR][COLOR=#14181F]:[/COLOR] [COLOR=#2B303B][[/COLOR]
[COLOR=#2B303B]{[/COLOR]
[COLOR=#B80A18]"code"[/COLOR][COLOR=#14181F]:[/COLOR] [COLOR=#008000]"heading"[/COLOR][COLOR=#2B303B],[/COLOR]
[COLOR=#B80A18]"prompt"[/COLOR][COLOR=#14181F]:[/COLOR] [COLOR=#008000]"Heading"[/COLOR][COLOR=#2B303B],[/COLOR]
[COLOR=#B80A18]"type"[/COLOR][COLOR=#14181F]:[/COLOR] [COLOR=#008000]"text"[/COLOR]
[COLOR=#2B303B]}[/COLOR]
[COLOR=#2B303B]][/COLOR]
[COLOR=#2B303B]}[/COLOR]
Questions:
- Is item_prompt_property supported for Basic architecture components, or only for MMX/Shadows components?
- Is there a correct syntax for displaying a property value as the list item label in the Page Builder UI?
- Is there an alternative way to give list items a human-readable label so editors can identify slides without opening each one?
Comment