Skip to content

Wiki

Description

Display a wiki content of provided wiki id. First need to configure wiki from admin -> Wiki

Attributes

  • tile=wiki
  • title: Title of wiki
  • connect: [Connect object]
    • source: Data source name
  • wiki: [Object Type]
    • tracker: Provide a TrackerId
    • show: tracker | always. If have a tracker provide a connection object otherwise it only load the wiki content in the dialog
    • contentId: Provide a wiki Id
    • contentTitle: Provide a title for wiki content dialog
    • description: Description text to display below the wiki title when clicking on it open up wiki content dialog
    • styles: classes to parent container
    • icon: Icon to display with the title
    • rule: provide a rule to display from tracker
      • setting: condition
      • operator: "empty" | "check" | "is" | "not" | "exists" | "in"
      • left: value for left check
      • right: value for right check
 {
  "tile": "wiki",
  "title": "Wiki Test",
  "connect": {
    "source": "wellness"
  },
  "wiki": {
    "tracker": "7ba9a7b5-c5c8-420e-8c49-58e2c962205d",
    "show": "tracker",
    "contentId": "12894944-0819-4700-b78c-72f88053d7cf",
    "contentTitle": "Wiki Content Test",
    "description": "Hello testing a wiki tile",
    "icon": "far fa-times",
    "styles": "mt-3",
    "rule": {
      "setting": "condition",
      "operator": "empty",
      "left": "sleep"
    }
  }
}

Example1

{
  "tile": "wiki",
  "title": "Wiki Test",
  "wiki": {
    "show": "always",
    "contentId": "12894944-0819-4700-b78c-72f88053d7cf",
    "contentTitle": "Wiki Content Test",
    "description": "Hello testing a wiki tile",
    "icon": "far fa-times",
    "styles": "mt-3"
  }
}