Edit Block (Managed Package)

For the managed package runtime, create, edit, and delete multiple Salesforce or external records on one page by using an Edit Block. For example, if you're collecting an Account's Contact information, you can add an Edit Block to your Omniscript to enable users to add a record for each Contact.

Managed Package app icon This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.

What's Next

Select an Edit Mode and configure the Edit Block to display elements.

  • Add Inputs to an Edit Block (Managed Package)
    For the managed package runtime, when you create or edit multiple records in an Edit Block, you edit the fields in those records by entering data into Input elements. For example, editing Contact records requires Input elements for fields such as Name and Phone.
  • Configure an Edit Block (Managed Package)
    For the managed package runtime, 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. You can prefill repeatable blocks with data by using an array format.
  • Add, Edit, and Delete Records with Edit Block Actions (Managed Package)
    For the managed package runtime, enable users to add, edit, and delete records by using Edit Block's default remote actions. Add custom functionality by configuring additional actions.
  • Display Sprites in an Edit Block (Managed Package)
    For the managed package runtime, display Sprites to indicate information about an Edit Block record entry using the Default Svg Sprite and Default Svg Icon properties. For example, a User icon can indicate if the entry is a Contact record. Omnistudio supports the Lightning Design System icons. To dynamically display different sprites, map values of the SVG Controlling Element to SLDS icons in the SVG Controlling Element Map.
  • Set a Select Mode in Edit Block (Managed Package)
    For the managed package runtime, select modes enable users to change an Edit Block entry's boolean value in the data JSON by clicking on Edit Block entries.
  • Work with Formulas in Edit Block (Managed Package)
    For the managed package runtime, perform equations and combine strings by using Formula Elements. Place formulas within an Edit Block to access element values within a specific Edit Block entry.
  • Override an Edit Block LWC (Managed Package)
    For the managed package runtime, apply custom code to an Edit Block by extending and overriding the Edit Block's lightning web components. Edit Blocks contain up to three LWC override fields based on the Edit Block's Edit mode.
  • Edit Block Properties (Managed Package)
    For the managed package runtime, this section contains information on the Edit Block properties.