Loading
Feature degradation | Gmail Email delivery failureRead More
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
          Configure an Edit Block in Omniscripts

          Configure an Edit Block in Omniscripts

          Edit Blocks enable a user to add and edit multiple entries in a single array. For example, you can use an Edit Block to list and edit an Account's list of Contacts. Edit Blocks are repeatable blocks by default. Prefilling repeatable blocks with data is possible using an array format.

          Setting Display Modes and Templates

          Enable Omniscripts to display different Edit Block user interfaces by using Modes.

          Note
          Note You can't nest Edit Blocks within other Edit Blocks, and you can add only one level of Block inside an Edit Block. Also, Edit Blocks don’t support the Custom LWC Element.

          Edit Block Modes

          Select the mode of the Edit Block to change its display and functionality.

          Inline

          Lightning example:

          Entering text in an inline Edit Block

          Newport example:

          Entering text in an inline Edit Block
          Table

          The maximum number of elements that you can show as columns is 6.

          Currently, edit blocks configured in table mode in Omniscripts aren't compatible with screen readers. If you use a screen reader, we recommend that you use Flexcards instead of Omniscripts. In Flexcards, you can use data tables or Lightning datatables that are compatible with screen readers. See Show Data in a Table on a Flexcard and Lightning Web Component – Datatable.

          Lightning example:

          Entering text in a table Edit Block

          Newport example:

          Entering text in a table Edit Block
          Finance Statement

          The total combined width of the elements must be less than or equal to 12. Salesforce recommends displaying fewer than twelve elements. Hidden elements don't affect the total display width

          Lightning example:

          Entering text in a Finance Statement Edit Block

          Newport example:

          Entering text in a Finance Statement Edit Block
          Cards

          The maximum number of elements that you can display in Cards mode varies by element type. For example, you can display up to three Text Elements. Visually inspect the Edit Block to ensure that elements are rendered correctly.

          To add more than the maximum number of elements, set the height attribute of the Edit Block to auto in Omniscripts, for example:

          .omni-edit-block-card.omni-edit-block-short-cards[omnistudio-omniscriptEditBlock_omniscriptEditBlockCards] { height: auto !important }

          Lightning example:

          Entering text in a Cards Edit Block

          Newport example:

          Entering text in a Cards Edit Block
          LongCards

          The width of LongCards must be set to 12.

          The maximum number of elements that you can display in LongCards mode varies by element type. For example, you can display up to four Text Elements. Visually inspect the Edit Block to ensure that elements are rendered correctly.

          To add more than the maximum number of elements, set the height attribute of the Edit Block to auto in Omniscripts, for example:

          div.slds-grid.slds-grid_vertical.slds-grid_align-center.slds-p-left_small.slds-max-small-size_5-of-12.slds-small-size_8-of-12 { height: auto !important; }

          Lightning example:

          Entering text in a Long cards Edit Block

          Newport example:

          Entering text in a Long cards Edit Block

          Compatible Elements

          The following elements are compatible with Edit Block:

          • Aggregate

          • Checkbox

          • Currency

          • Date

          • Date/Time

          • Disclosure

          • Email

          • File

          • Formula

          • Headline

          • HTTP Action

          • Image

          • Integration Procedure Action

          • Line Break

          • Lookup

          • Matrix Action

          • Multi-select

          • Number

          • Password

          • Radio

          • Radio Group

          • Range

          • Remote Action

          • Select

          • Signature

          • Telephone

          • Text

          • Text Area

          • Text Block

          • Type Ahead Block

          • Time

          • URL

          What’s Next

          Add actions to an Edit Block or use sObject mapping to create, edit, and delete records. See Add, Edit, and Delete Records with Edit Block Actions.

           
          Loading
          Salesforce Help | Article