tags service

Provides a generic mechanism to help tag/classify search results, tasks, forms etc. This service is provided via the tymly plugin and isn't offered by any of the other core plugins.

Boot config

  • This service doesn’t require any configuration to boot.

Blueprint dirs

This service can load resources defined in the following Blueprint directories:

Directory Content
/tags JSON files providing 'tags' which are used throughout Tymly to help categorise things and aid discovery

Service methods/properties

refresh

Reloads all tags from storage (i.e. the fbot_tag_1_0 model)

Parameters

  • callback Function Called with all loaded tags

Examples

registry.refresh(
  function (err, tags) {
    // Tags as loaded from storage
    // Key/value pairs, where key is the tag ID and value is an object:
    // {
    //  tag: Tag name
    //  label: Tag label
    //  styling: Tag styling
    // }
  }
)

Returns undefined


Boots after

storage