WILCO
search
⌘Ctrlk
WILCO
  • πŸ‘©β€πŸŽ“User Manual
    • USER MANUAL
    • DESIGNER USER MANUAL
      • Manual post
      • Edit layouts
      • Edit Fault codes
      • Edit parameters
      • Edit Dashboards
      • Edit Trends
      • Edit IFTs
      • Show Uplinks
      • General Conf
      • examples
      • 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
    • Q&A
  • πŸ”ŒPlugins
    • fw.ata49
    • fw.fuelsave
    • fw.opticooling
    • fw.taxi
    • fw.turnaround
    • fw.ops
gitbookPowered by GitBook
block-quoteOn this pagechevron-down
  1. πŸ‘©β€πŸŽ“User Manualchevron-right
  2. DESIGNER USER MANUAL

Code snippets

Here are some small pieces of code that uses the APIs to achieve some common patterns

Get the last UPLINK message with filterschevron-rightAutomatically handle faultcodes according to a doc and a regexchevron-rightGet the current airportchevron-rightgoto a page from a dashboardchevron-rightget the samples and events over the 3 last legschevron-rightWebhooks: Get data from typeform and post it to ELKchevron-rightDownload a file from a SVG clickchevron-rightClone a SVG template with D3chevron-rightCheat sheetchevron-right
Previoususe algorithm on trendschevron-leftNextGet the last UPLINK message with filterschevron-right