Package Display

Description

Displays package content.

The package content is displayed in a table or list, with a menu ribbon above it.

The menu ribbon has:

  • A new menu
  • A tag menu, to select which nodes to show.
  • A view menu, e.g. to show Table, List or Summary.
  • An options menu, e.g. to show number of columns in a list.
  • A recalculate menu.

Node options

The display is controlled by node options. This is a JSON structure. All can be set to true or false, and default to true, unless otherwise stated.

packageDisplayRibbon Whether to show any of the ribbon (new, tag and view selection, refresh).
packageDisplayNewMenu Whether to show the new menu.
packageDisplayNewSplit If there is more than one item, or the more is set, whether to have a split button that shows the first option and a drop-down for remaining items. Default false.
packageDisplayNewMore Whether to show the more option on the new menu.
packageDisplayNewPopup Whether to show new page creation in a popup. Default false.
packageDisplayNewButtonClass Class to format button. Use one of the standard Bootstrap classes - default, primary, success, warning, danger, info, link
packageDisplayTags Whether to show tags.
packageDisplayFamily Whether to show view family and options.
packageDisplayRefresh Whether to show the refresh menu.
packageDisplayAutoDefault Default value for package auto recalculate, on or off, default is on.

Example node options

This turns off the more option on the new menu, and the refresh menu.

{
  "packageDisplayNewMore":false,
  "packageDisplayRefresh":false 
}

Use Value

False

Use Scale

False

Minimum Cardinality

not entered

Maximum Cardinality

1

Tag List