Attribute Metadata - readOnlyNextRow
Attribute Metadata - readOnlyNextRow
readOnlyNextRow meta data is used to split values to separate lines in data card edit view for users that have only a read permission to an attribute. This does not affect users who have an update permission to an attribute.
If value is 0 or not set (default), all values of an attribute will be listed in a single row. This may make the layout of the edit view cumbersome.
If value is 1, every value will be printed on its own row.
If value is more than one, that many values will be printed on each row.
An example of a situation where this handler can be used: in SAM, there are often dozens of program licenses which are being monitored. When a user with only read permission to the Monitored Software attribute opens the computer card in edit view, the programs are by default listed as a comma separated list. By setting the readOnlyNextRow metadata to 1-n, the list can be split on separate rows instead, with 1-n values per row.
Attributes with a handler may not obey this setting.
Table 1. Optional Attribute Metadata
| Name | Value | Description |
|---|---|---|
readOnlyNextRow |
[integer value] |
Values of an attribute will be split on different lines on data card edit, if user has only a read permission to the attribute. |
Table of Contents