Document number | Revision |
---|---|
DOCU12445 | 2 |
Dynamic Lists - ConfigurationIntroductionWhen to use Dynamic ListsGuidesAccessing Dynamic ListsAccessing list entriesCreating a new Dynamic ListAdd entry to an existing listDisable an existing active Dynamic ListObsolete entries from an existing listConfigurationSecurityConfigure Dynamic Lists in the side navigation menuSamplesUse a Dynamic list as a field on all Documents
A Dynamic List is a quick and easy way to create and manage lists and their associated entries to be used throughout Highstage. In this article, you will be introduced to the configuration and use of Dynamic Lists in Highstage.
Dynamic Lists can be created and continuously managed by Highstage users directly from Highstage. For this reason, it is beneficial to utilize Dynamic Lists when entries needs to be regularly maintained, configured or added to.
All available lists can be accessed by navigating to Dynamic Lists > Lists in the side navigation menu:
From here, you get an overview of all available and active Dynamic Lists.
All existing entries for all lists can be accessed by navigating to Dynamic Lists > Entries in the side navigation menu:
From here, you get an overview of all entries associated with all active Dynamic Lists.
NOTE: You must specify the name in capital letters. The following characters are permitted: ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-.
Once the list is created, you are navigated to the list page:
Active
checkbox to make the list active to allow entries to be added to the list:NOTE: Activating the list requires a minimum user level of SuperUser.
NOTE: You must specify the entry in capital letters. The following characters are permitted: ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-.
Field | Description | Required |
---|---|---|
Add to existing list | Select an existing Dynamic List for the new entry to be added to. | ✔️ |
Entry | The name of the new entry in the Dynamic List (In capital letters) | ✔️ |
Description | An optional entry description | ❌ |
Manager | Select a user as Manager who is responsible for managing and modifying the select entry.(Default manager is the user who creates the entry) | ✔️ |
Once created, you are navigated to the list entry:
A disabled Dynamic List cannot be used in Highstage. Similarly, new entries cannot be added to disabled lists.
Active
field.Note: To get an overview of all deactivated lists you can modify the Filter to show inactive Dynamic lists.
You can remove entries from an existing list by making them obsolete.
Obsolete
.Note: To get an overview of all obsoleted entries, change the filter to Obsolete to show all obsoleted entries. Obsoleted entries can always be activated by unchecking the
obsolete
field.
Navigate to SYSTEM > SECURITY > BASETYPE SECURITY and locate the ts_list
basetype.
TrustRead
with appropriate Users / Groups / Special Roles to define which users who are able to view/read existing Dynamic Lists and their entries.TrustModify
with appropriate Users / Groups / Special Roles to define which users who are able to modify and configure existing Dynamic Lists and their entries.TrustCreate
with appropriate Users / Groups / Special Roles to define which users who are able to create new Dynamic Lists and their entries.
Dynamic Lists are available as a Dynamic section which can be added to the side navigation menu so that it is accessible to select Highstage users and not only Administrators.
The following sample illustrates how Dynamic Lists can be added to the side navigation menu:
x
<type name="ts_menu">
<menu name="default">
<section name="DynamicLists" size="medium" icon="fas fa-stream" type="ts_list"/>
</menu>
</type>
Note: The snippet must be added to the
custom.schema.xml
located in the tweak folder where Highstage is installed.
This will make the following section available in your Highstage installation:
Read more about the configuration of the side navigation menu on our official Highstage documentation page here.
All snippets must be placed in the custom.schema.xml
located in the tweak folder in your Highstage installation.
For any changes to take effect, please do the following:
The following snippet provides an example of defining a new column that makes use of an existing RISK Dynamic List with a number of existing entries:
x <type name="doc">
<column name="risk" title="Risk assessment" description="Risk" sqltype="varchar" sqlsize="200" mandatory="1" reload="1" sqlnull="0" sqldefault="('')" objlist="0" type="RISK"/>
<form name="default">
<subform name="Risk" title="Risk Assessment">
<field name="risk" />
</subform>
</form>
</type>
This makes a subform (Risk Assessment) available with a field for the specified column:
From this field, a user can select one existing entry from the list:
Tip: We use
objlist="0"
to specify that only one value must be selected for the column. In this manner, we ensure that only one risk evaluation can be selected.