Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ValueDescriptionNMIS Version
headerIf the value "header" is present, the field will be displayed when viewing the table. All fields are visible when editing an entry.NMIS 8.1.1
key

This value is to be used as a key value, if multiple key values are defined, they will be combined together to make the key of the record.

It is recommended to use a single value for a key value.

NMIS 8.1.1
readonlyA readonly field will not be editable, which means it must be added automatically as in the case of something like a UUID or edited from Unix.NMIS 8.3.19G
textThe standard field is a "text" field, this is equivalent to a HTML "input" form element.NMIS 8.1.1
textboxA text box being a little larger higher, this is equivalent to a HTML "textarea" form element.NMIS 8.3.19G
popupA single value select box, this is equivalent to a HTML "select" form element.NMIS 8.1.1
scrollingA multiple select box, where you can select one or more values. This is equivalent to a HTML "select" form element with the attribute of "multiple" set to "multiple".NMIS 8.1.1

Case Sensitive Keys for Tables

By default NMIS will treat all keys as lower case, that is whatever you enter, the key will be made lower case to make it case sensitive.  To support case sensitive keys if required you can add your table name to the configuration option 'tables_case_sensitive_keys', table names are separated using a '|' (pipe) character, and NMIS will use the data as entered as the key.

Code Block
 'tables_case_sensitive_keys' => 'Nodes|BusinessServices|ServiceStatus|Locations|Tables',

Adding a New Table to NMIS

The following steps are required to add a new table:

...