Skip to main content

 

Patterns

 

Applies only to Traditional Web Apps

 

OutSystems

Blank Slate

  • Edit
  • You can use the Blank State UI Pattern to inform end users, for example, to complete a task or when there is no data available for display etc.

    How to use the Blank Slate UI Pattern

    1. In Service Studio, in the Toolbox, search for Blank Slate.

      The Blank Slate widget is displayed.

    2. From the Toolbox, drag the Blank Slate widget into the Main Content area of your application's screen.

      By default, the Blank Slate widget contains icon and text placeholders.

    3. Add your content to the placeholders. In this example we change the icon to a camera icon by selecting Icon placeholder, and on the Properties tab, from the Name drop-down, selecting the camera icon. We also enter new text in the Text placeholder.

    After following these steps and publishing the module, you can test the pattern in your app.

    Properties

    Property Description
    Position (PositionExtended Identifier): Optional Sets the widget position.

    Examples

    • Blank - The widget displays in the center of the screen. This is the default.
    • Entities.PositionExtended.BottomRight - The widget displays on the bottom right of the screen.
    ExtendedClass (Text): Optional Add custom style classes to the Blank Slate UI Pattern. You define your custom style classes in your application using CSS.

    Examples

    • Blank - No custom styles are added (default value).
    • "myclass" - Adds the myclass style to the Blank Slate UI styles being applied.
    • "myclass1" "myclass2" - Adds the myclass1 and myclass2 styles to the Blank Slate UI styles being applied.
    • Was this article helpful?