Home
The Iris homepage is a dynamic report that appears when you first log in to Iris.
It can be configured by the systems administrator to display an almost unlimited array of data from both Iris itself and external sources.
The homepage is driven by a special dynamic endpoint called /api/dynamic/home. When Iris displays the homepage, this dynamic endpoint is called and the contents are returned.
The dynamic endpoint should:
- Be placed at
/api/dynamic/home(where the homepage expects to find it) - Return a
_payloadby callingRenderTemplate()with a Scriban template to lay out the report in a custom format - Return a
_contentTypeoftext/html - Return a
_statusCodeof200
Apart from these requirements, the data and template can be of almost any configuration or layout.