Loading
Salesforce now sends email only from verified domains. Read More
Automate Your Business Processes
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Design Attribute Considerations for Flow Screen and Action Components

          Design Attribute Considerations for Flow Screen and Action Components

          To expose an attribute in Flow Builder, define a corresponding design:attribute in the component bundle's design resource. Keep these guidelines in mind when defining design attributes for flows.

          Required Editions

          View supported editions.

          Supported Attributes on design:attribute Nodes

          In a design:attribute node, Flow Builder supports only the name, label, description, and default attributes. The other attributes, like min and max, are ignored.

          For example, for this design attribute definition, Flow Builder ignores required and placeholder.

          <design:attribute name="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.

           
          Loading
          Salesforce Help | Article