WILCO
  • 👩‍🎓User Manual
    • USER MANUAL
      • welcome page
        • create an account
        • login
          • login troubleshooting
        • logout
      • landing page
      • fleet dashboards
        • URL
        • fleet header
        • fleet
        • current alerts
        • map
      • aircraft timeline
        • overview
        • timeline header
          • calendar
          • warnings
          • show cleared
          • show hidden
        • tags
        • custom message
      • dashboards
        • overview
        • header
        • dashboard
        • parameters
          • search parameter
          • plot graph
          • trend chart
      • open a ticket
    • DESIGNER USER MANUAL
      • Manual post
        • copy text
        • upload file
          • CSV insertion
          • elasticsearch aggregation
      • Edit layouts
        • type of layouts
        • manage layouts and uplinks
        • create layout
          • report parser
          • web connector
        • IFT at Layout
      • Edit Fault codes
        • IFT at Fault Code
      • Edit parameters
        • IFT at Parameter
      • Edit Dashboards
        • create new dashboard
        • edit dashboard
        • Dashboards
          • Dashboard drawing tips
            • Illustrator
          • Dashboard rules
            • Libraries
            • Variables
            • Utils
            • Debugging the rules
            • Graphs
              • creation of the graph
              • Set the title of the graph
              • draw some zones
              • draw a serie (curve)
              • draw horizontal line
              • draw vertical line
              • draw circles
              • Example
            • WILCO.alertWarning
              • WILCO.alertInfo
            • WILCO.alertError
            • WILCO.api
            • WILCO.user
            • WILCO.getEventsForFwot
            • WILCO.getEventsForFwotMinMaxDate
            • WILCO.getSamplesForFwot
            • WILCO.getSamplesForFwotMinMaxDate
            • WILCO.getSampleTableForFwot
            • WILCO.getSamplesTableForFwotMinMaxDate
            • WILCO.getEventsStats
            • WILCO.dsv
            • WILCO.uplink
      • Edit Trends
        • create new trend
        • edit trend
        • Trends
          • Use the tags
          • Access to the surrounding values
      • Edit IFTs
        • edit IFT
        • create an IFT
        • IFT V2
          • moment
          • underscore
          • current Fwot
          • Samples
          • FW.api
          • FW.getWilcoUrls
          • FW.http
          • FW.getEvent
          • FW.getOtherEvent
          • FW.getEvents
          • FW.getFwot
          • FW.getFwots
          • FW.notify <deprecated>
          • FW.notifyWithTemplate <deprecated>
          • FW.email
          • FW.setFrom
          • FW.setTo
          • FW.setTitle
          • FW.setVisible
          • FW.setSeverity
          • FW.setComputedDate
          • FW.setStyle
          • FW.getSamples
          • FW.report
          • FW.reportInfo
          • FW.reportWarn
          • FW.reportFault
          • FW.reportError
          • FW.log
          • FW.updateProperties
          • FW.setFlightStatus
          • FW.setLoc
          • FW.uplink
          • FW.set
          • FW.updateSomeFwotProperty
          • FW.updateFwotProperty
          • FW.removeFwotProperty
          • FW.removeSomeFwotProperty
          • FW.tag
          • FW.untag
          • FW.postEvent
          • FW.reportFaultCode
          • FW.querySamples
          • FW.getRaw
          • FW.getBit
          • FW.csv
          • FW.machineLearningPredict
          • FW.webhook
          • FW.getPlugins()
          • FW.json
      • Show Uplinks
      • General Conf
        • Assets
          • Fwots
        • Configuration
          • Constants
          • Docs
          • Event tables
            • Tables
              • JSON structure
                • Title
                • filters
                • cols
                  • Fields of a column
                • Example
      • examples
        • flow of the data
        • use Constants
        • use Doc
        • use EventTable
        • use algorithm on trends
      • Code snippets
        • Get the last UPLINK message with filters
        • Automatically handle faultcodes according to a doc and a regex
        • Get the current airport
        • goto a page from a dashboard
        • get the samples and events over the 3 last legs
        • Webhooks: Get data from typeform and post it to ELK
        • Download a file from a SVG click
        • Clone a SVG template with D3
        • Cheat sheet
    • ADMIN USER MANUAL
      • General Conf
        • Access rights
          • API keys
          • Users
        • Assets
          • Airlines
          • Fwot types
          • Fwots
        • Configuration
          • App configs
            • UPLINK_ROUTING
            • SEND_MAIL
            • DO_UPLINK
            • UPLINK_PATH
            • MAX_DAYS_WITHOUT_EVENTS
            • ACARS_RECIPIENT
            • MAIL_TEMPLATE
            • USE_CURRENT_DATE
            • DO_UPLINK_AUTOMATIC_BLACKLIST
            • DO_UPLINK_MANUAL_BLACKLIST
            • UPLINK_EXPIRATION_MINUTES
          • Bookmarks
          • Constants
          • Docs
          • Event tables
          • Plugins
        • Swiss knife
      • Edit Plugins
        • Commit plugin
        • Deploy plugin
    • Q&A
  • 🔌Plugins
    • fw.ata49
      • Minimum requirements
      • Configuration
    • fw.fuelsave
      • Minimum requirements
      • Configuration
    • fw.opticooling
      • Minimum requirements
      • Configuration
    • fw.taxi
      • Minimum requirements
      • Configuration
    • fw.turnaround
Powered by GitBook
On this page
  • title
  • param
  • source
  • type
  • filter
  • behavior
  • editable
  • askfor
  • onedit
  • format
  • pattern

Was this helpful?

  1. User Manual
  2. DESIGNER USER MANUAL
  3. General Conf
  4. Configuration
  5. Event tables
  6. Tables
  7. JSON structure
  8. cols

Fields of a column

PreviouscolsNextExample

Last updated 2 months ago

Was this helpful?

title

A text field that will be the displayed text in the header of the table

Title is optional. If not set, the param is displayed

param

A string that is the field of the event/sample to display.

The source of the field (event/sample) depends on the source : if the source is event, then it is a field of . If it is a sample, it its its value

You can also specify an array of strings. In that case, the fields are tried from the first to the last until a non null value is found. This is particularly useful when the title and the sumUp may contain the information.

source

Authorized values are event or sample. if event, then the param is a field of the event. If sample, then it is the name of a sample that belongs to the event

The event is an . All the fields are accessible, and the fwot itself is injected by WILCO. You can use for instance param: computedDate, or param: fwot.type

type

type is the type of the value held by the param. it can be tags, fwot, text, date, list

filter

for tags type, the filter limits the list to the given array of strings.

behavior

RADIO means that only one of the tags that are in the filter can live at the same time: if you click on one tag to set it, the others are automatically removed

TOGGLE means that each tag that are displayed are independent and several of them can live together

editable

a boolean (true or false) saying that the cell can be edited or not. Some of the fields are not editable by nature: the id of a event, the fwot, etc... In that case, the field is ignored

askfor

A list of questions to ask the user. Each entry will lead to a popup that will help the user to enter a text. This list of responses are transmitted to the oneditpayload as askfor structures

  • id: an id of the question that will be passed to the onedit payload

  • question: the text question as it will appear in the popup box. This field is optional

  • default: a default text that will fill the prompt. This field is optional

    {
      "title": "Status",
      "type": "list",
      "param": "tags",
      "filter": [
        "ON",
        "OFF"
      ],
      "behavior": "RADIO",
      "source": "event",
      "editable": true,
      "askfor": [
        {
          "id": "switchId",
          "question": "give me the reason",
          "default": "As per documentation"
        }
      ],
      "onedit": "layouts/webhook/d42fff49-a9cf-4092-a619-431d0e2a056c"
    },

onedit

a string which is the webhook that will be called when the cell is edited (at the end of the process). It should be a WEB connector layout. The webhook is called (POST) with the eventId in the query parameters, and a payload (see below):

if onedit: layouts/webhook/XXX-a9cf-4092-a619-431d0e2a056c wilco calls `POST layouts/webhook/XXX-a9cf-4092-a619-431d0e2a056c?eventId=263572` where 263572 is the event id of the current line displayed

The payload is the following:

{
    column: h, //the current column definition (with all the fields described in this documentation
    action: action, //can be TAG or UNTAG
    data: tag, // the current tag being set
    askfor: [{id:'dez', response:'resp1'}, ...], // the list of answers (see askfor)
    user: user, // the current user (login, role...)
    eventBundleId: // the current event bundle id
}

format

pattern

a string that describes the format of the date The format syntax is described

A that limits the possibilities for the edition of a cell. For example, force a number, uppercases, a count of letters, etc...

👩‍🎓
here
regex
here
EventV3IO
tags: all the tags of the filter are displayed. click on it to (un)select it
list: the selected tags only are displayed. The others are collapsed in a dropdown list. Usefull when there are many elements
fwot: displays the fwot with this precreated format. Click brings the user to the timeline @ correct time
date: date comes along with format field