CustomViewInput

  • The view's name.

  • The view's queries. Each is compiled when you save the view.

    Properties: 2
  • The HTML document (with its scripts and styles inline) that draws the view, at most 2,000,000 characters. It must listen for the spondo:data message, which carries the view's data: the same { context, data } object Get a view's data returns.

  • Whether the view shows the caps (usage limits) set on the customer's units.

  • What the view shows.

  • Filters viewers can set, at most 5.

    Properties: 2
  • Whether viewers can narrow the view to one of the customer's units (teams, departments, tenants). When on, List a view's customer units lists the units to pick from.

  • The period the view shows by default. Required when a query uses the period placeholders.

    A rolling window that ends when the data is read.

    • How many units the window covers.

  • customer: shown to one customer at a time, with every query narrowed to that customer's records; can be embedded. organization: shows data across all your customers, for your own team; can't be embedded.

    values
    customerorganization