Skip to content
Michal Töpfer edited this page Mar 8, 2021 · 1 revision

SignalSet metadata can be any JSON.

Add metadata to SignalSet

Metadata can be edited from the Settings/SignalSets admin page when editing the signal set.

Other option to add metadata to signal set is to use FIVIS-specific /api/signals endpoint. A metadata key with desired value can be added to the JSON payload. The metadata are saved only when the signal set is created.

Use metadata in a template

Import the getSignalSetMetadata function from the ivis package. This function is asynchronous and takes one argument which is the id (cid) of the signal set. The returned promise resolves to the JSON object saved in the database.

Clone this wiki locally