Skip to content

Trigger

trigger

Description

Presents the user with a button that can trigger an attachment action or open a wiki page.

Attributes

  • title
  • $capture.trigger: camera | photo | video | wiki | library
  • $capture.wiki: id of the wiki page to open (if wiki)
  • $capture.attachmentCount: number to consider done or -1 for no limit

Example

{
  "type": "string",
  "$capture": {
    "as": "trigger",
    "trigger": "wiki",
    "wiki": "39dcd75d-b7ab-4094-b85c-450590b48cbc"
  },
  "$display": {},
  "title": "Trigger metric"
}