Loading
Salesforce now sends email only from verified domains. Read 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
          Flexcards Element Responsiveness (Managed Package)

          Flexcards Element Responsiveness (Managed Package)

          For the managed package runtime, in the Flexcard Designer, enable responsiveness on one or more elements to set the width to change as the visible area of a page, called the viewport, changes. By default, the width of an element is the same regardless of the width of the viewport device on which the user views the Flexcard. The width of an element is 1 to 12 parts of a 12 column grid. For example, a field element that is 6 columns wide takes up 50% of the available horizontal space.

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

          When the Responsive feature is enabled in the Style panel of a Flexcard, the responsive sizing of elements is mobile-first. Sizing starts at the smallest viewport breakpoint and is continuously applied upwards until the next wider breakpoint overrides it. When responsiveness is enabled, the default width becomes the width of the smallest viewport breakpoint.

          Build with a mobile-first approach if most or all of your elements are responsive. Build your Flexcard at the smallest canvas size by selecting Mobile L/S from the Viewport Dropdown. After setting widths for all breakpoints for each element from the Style panel, view your layout at different viewports by toggling through the Viewport Dropdown. See View a Flexcard at Different Viewport Breakpoints (Managed Package)

          FlexCard Designer viewport breakpoint dropdown
          example
          example

          Example Responsive Subject and CaseId Field Elements

          A user wants the Subject field and a CaseId Field element next to each other on the Medium and Large viewports, but stacked on Small and Smaller viewports:

          • Set the Subject field to 12 for Smaller and Small, and 10 for Medium and Large.

          • Set the CaseId field to 12 for Smaller and Small, and 2 for Medium and Large.

          FlexCards responsiveness for Subject field
          FlexCards responsiveness for CaseId field
          FlexCard viewport Large in Preview
          FlexCard viewport Small in Preview

          Available Breakpoints

          Viewport Breakpoint

          Device

          Large (>=1024px)

          Laptop and desktop

          Medium (>=768px)

          Large tablet

          Small (>= 480px)

          Small or medium tablet, and large mobile device

          Smaller (< 480px)

          Small or medium mobile device

           
          Loading
          Salesforce Help | Article