Newer Version Available
Design Attribute Considerations for Flow Screen and Action Components
To expose an attribute in the Cloud Flow Designer, define a corresponding design:attribute in the component bundle's design resource. Keep
these guidelines in mind when defining design attributes for flows.
- Supported Attributes on design:attribute Nodes
- In a design:attribute node, the Cloud Flow Designer supports only the name, label, and
description attributes. The other attributes,
like min and max, are ignored.
For example, for this design attribute definition, the Cloud Flow Designer ignores required and placeholder.
1<design:attributename="greeting" label="Greeting" placeholder="Hello" required="true"/> - Calculating Minimum and Maximum Values for an Attribute
- To validate min and max lengths for a component attribute, use a flow formula or the component's client-side controller.
- Modifying or Deleting design:attribute Nodes
- If a component’s attribute is referenced in a flow, you can’t change the attribute’s type or remove it from the design resource. This limitation applies to all flow versions, not just active ones. Remove references to the attribute in all flow versions, and then edit or delete the attribute in the design resource.