Sideview forms

For our final dashboard using Sideview modules, we will build a dashboard with a form that can be prefilled from a URL and allows the changing of the time range. The advantage of this dashboard is that it can be used as a destination of a click without being linked to from elsewhere. If the user accesses this dashboard directly, the default values specified in the dashboard will be used instead. Let's look at the code:

<?xml version="1.0"?> <view template="dashboard.html"> <!-- add sideview --> <module name="SideviewUtils" layoutPanel="appHeader"/> <!-- chrome --> <label>Chapter 9 - Sideview Three</label> <module name="AccountBar" layoutPanel="appHeader"/> <module name="AppBar" layoutPanel="navigationHeader"/> <module name="Message" ...

Get Implementing Splunk 7 - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.