a!dashboardLayout_17r1 Component

This page contains information related to an old version of the Dashboard Layout.

Old versions do not appear in category lists; only the newest versions are listed.

To take advantage of the latest features and improvements, we always recommend you use the latest versions of SAIL Components whenever possible. See the latest version's page for information about what's been changed.

Dashboard 17.1

SAIL Function: a!dashboardLayout_17r1()

Displays up to two columns of components. Use this as the top-level layout for record views and Tempo reports.

See also: Form

Parameters

Name Keyword Type Description
Column 1 Contents firstColumnContents Any Type Array Values that define the contents for the first column in the SAIL interface.
Column 2 Contents secondColumnContents Any Type Array Values that define the contents for the second column in the SAIL interface.
Visibility showWhen Boolean Determines whether the layout is displayed on the interface. When set to false, the layout is hidden and is not evaluated. Default: true.

Notes

  • If the Column 2 Contents argument is null, the content for the first column displays as in a single-column layout with no space left for where the second column would display.

Examples

Copy and paste an example to the expression view of the interface designer to see it displayed.

Single-Column Dashboard

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
=a!dashboardLayout_17r1(
  firstColumnContents: {
    a!textField(
      label: "Customer",
      value: "John Smith",
      readOnly: true
    ),
    a!textField(
      label: "Status",
      value: "Prospective",
      readOnly: true
    ),
    a!textField(
      label: "Priority",
      value: "High",
      readOnly: true
    )
  }
)

Displays the following:

Two-Column Dashboard

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
=a!dashboardLayout_17r1(
  firstColumnContents: {
    a!textField(
      label: "Customer",
      value: "John Smith",
      readOnly: true
    ),
    a!textField(
      label: "Status",
      value: "Prospective",
      readOnly: true
    ),
    a!textField(
      label: "Priority",
      value: "High",
      readOnly: true
    )
  },
  secondColumnContents: {
    a!textField(
      label: "Customer",
      value: "Michael Johnson",
      readOnly: true
    ),
    a!textField(
      label: "Status",
      value: "Prospective",
      readOnly: true
    ),
    a!textField(
      label: "Priority",
      value: "Medium",
      readOnly: true
    )
  }
)

Displays the following:

FEEDBACK