Configure table service attributes
In the Management Portal at Entitlement Catalog, on the Attributes tab of the service page, configure table attributes to store multiple rows of data in a table structure.
For example, because people may use multiple devices when they interact in your environment, it can be useful to store data about these devices in a single table service attribute. In a workflow action, this makes it easier to provide values based on the device that is used. Table service attributes are also very useful in integrations with third-party solutions like Mobile Device Management (MDM) systems.
Configuration
Field |
Explanation and Tips |
---|---|
Table columns |
Specify columns and values manually.
|
Copy from global attribute of type Table |
Base the columns and values on a table global attribute. Optionally, you can filter out irrelevant data from the original table attribute by configuring a table filter.
|
Copy from people attribute of type Table |
Base the columns and values on a table people attribute. Optionally, you can filter out irrelevant data from the original table attribute by configuring a table filter.
|
Copy from service attribute of type Table |
Base the columns and values on another table service attribute. Optionally, you can filter out irrelevant data from the original table attribute by configuring a table filter.
|
Placeholders
Use the following commands to retrieve values from the table, for workflow actions and other service attributes.
For example, if you have configured a table service attribute MyDevices with the following values:
UUID |
FriendlyName |
Type |
OS |
PhoneNumber |
Status |
---|---|---|---|---|---|
123-123-1234 |
S4 |
Phone |
Android |
8008937810 |
Active |
123-123-1235 |
iPad |
PDA |
iOS |
|
Wiped |
Use the following commands:
Get the values of the entire table |
|
---|---|
Command |
#Service[SA Table.FullTable] Column values are separated with “;”, rows with “|”. |
Example |
#Service[MyMobileDevices.FullTable] |
Returns |
123-123-1234;S4;Phone;Android;8008937810;Active|123-123-1235;iPad;PDA;iOS;;Wiped |
Get the values of the current row |
|
---|---|
Command |
#Service[SA Table.CurrentRow.FullRow] Column values are separated with “;” |
Example |
#Service[MyMobileDevices.CurrentRow.FullRow] |
Returns |
123-123-1234;S4;Phone;Android;8008937810;Active |
Get the values of a column of the current row |
|
---|---|
Command |
#Service[SA Table.CurrentRow.C1] |
Example |
#Service[MyMobileDevices.CurrentRow.UUID] |
Returns |
123-123-1234 |
Get the values of a table column |
|
---|---|
Command |
#Service[SA Table.EntireColumn.C1] |
Example |
#Service[MyMobileDevices.EntireColumn.UUID] |
Returns |
123-123-1234 123-123-1235 |
Get the number of rows of a table |
|
---|---|
Command |
#Service[SA Table.Number of rows] |
Example |
#Service[MyMobileDevices.Number of rows] |
Returns |
2 |
Get the description of the table |
|
---|---|
Command |
#Service[SA Table.Description] |
Example |
#Service[MyMobileDevices.Description] |
Returns |
"This table shows the mobile devices of the subscriber" |