Example Dashboard Configuration
The following example JSON has a configuration for four example dashboards.
NOTE: This example configuration might not work directly in your Find without modification. For example, to use these dashboards, you must have a QUERY
type saved search with ID 1, and you must have appropriate fields configured.
{ "dashboards": [ { "dashboardName": "Single widget dashboard", "enabled": true, "width": "1", "height": "1", "displayWidgetNames": "never", "widgets": [ { "name": "Static Content", "type": "StaticContentWidget", "x": 0, "y": 0, "width": 1, "height": 1, "widgetSettings": { "html": "<h1>Welcome to the Find Dashboard</h1>" } } ] }, { "dashboardName": "3 widget dashboard", "enabled": true, "width": "4", "height": "4", "updateInterval": 1000, "displayWidgetNames": "onhover", "widgets": [ { "name": "Sunburst", "type": "SunburstWidget", "x": 0, "y": 0, "height": 2, "width": 2, "datasource": { "source": "SavedSearch", "config": { "id": 1, "type": "QUERY" } }, "widgetSettings": { "firstField": "COMPANY", "secondField": "OVERALL_VIBE" } }, { "name": "Trending", "type": "TrendingWidget", "x": 0, "y": 2, "height": 2, "width": 2, "datasource": { "source": "SavedSearch", "config": { "id": 1, "type": "QUERY" } }, "widgetSettings": { "parametricField": "OVERALL_VIBE", "dateField": "AUTN_DATE", "numberOfBuckets": 20, "minDate": "2016-04-02T00:00:00Z", "maxDate": "2016-04-05T00:00:00Z", "values": [ { "name": "POSITIVE", "color": "purple" }, { "name": "NEGATIVE", "color": "orange" } ] } }, { "name": "Results List", "type": "ResultsListWidget", "x": 2, "y": 0, "height": 4, "width": 2, "datasource": { "source": "SavedSearch", "config": { "id": 1, "type": "QUERY" } }, "widgetSettings": { "maxResults": 10 } } ] }, { "dashboardName": "Alternative 3 widget dashboard", "enabled": true, "width": "4", "height": "2", "displayWidgetNames": "always", "widgets": [ { "name": "Static Image", "type": "StaticImageWidget", "x": 0, "y": 0, "width": 1, "height": 2, "widgetSettings": { "url": "http://example.com/image.png" } }, { "name": "Video Panel Widget", "type": "VideoWidget", "x": 1, "y": 0, "width": 2, "height": 2, "datasource": { "source": "SavedSearch", "config": { "type": "QUERY", "id": "1" } }, "widgetSettings": { "restrictSearch": true } }, { "name": "Map Widget", "type": "MapWidget", "x": 3, "y": 0, "width": 1, "height": 2, "datasource": { "source": "SavedSearch", "config": { "type": "QUERY", "id": "1" } }, "widgetSettings": { "locationFieldPairs": [ "DefaultLocation" ], "centerCoordinates": { "latitude": 51.5, "longitude": 0.12 }, "zoomLevel": 3 } } ] }, { "dashboardName": "Multi-widget dashboard", "enabled": true, "width": "8", "height": "9", "displayWidgetNames": "always", "widgets": [ { "name": "Trending", "type": "TrendingWidget", "x": 0, "y": 0, "width": 4, "height": 3, "datasource": { "source": "SavedSearch", "config": { "type": "QUERY", "id": "1" } }, "widgetSettings": { "parametricField": "OVERALL_VIBE", "dateField": "AUTN_DATE", "numberOfBuckets": 15 }, "values": [ { "name": "POSITIVE", "color": "red" } ] }, { "name": "Sunburst", "type": "SunburstWidget", "x": 4, "y": 0, "width": 2, "height": 3, "datasource": { "source": "SavedSearch", "config": { "type": "QUERY", "id": "1" } }, "widgetSettings": { "firstField": "CATEGORY", "secondField": "COMPANY" } }, { "name": "Sunburst", "type": "SunburstWidget", "x": 6, "y": 0, "width": 2, "height": 3, "datasource": { "source": "SavedSearch", "config": { "type": "QUERY", "id": "1" } }, "widgetSettings": { "firstField": "COMPANY", "secondField": "OVERALL_VIBE" } }, { "name": "Current Time/Date", "type": "CurrentTimeWidget", "x": 0, "y": 3, "width": 1, "height": 2, "widgetSettings": { "timeFormat": "HH:mm z" } }, { "name": "Last Time Refreshed", "type": "TimeLastRefreshedWidget", "x": 1, "y": 3, "width": 1, "height": 2 }, { "name": "Static Content", "type": "StaticContentWidget", "x": 2, "y": 3, "width": 3, "height": 3, "widgetSettings": { "html": "<h1>Find Multi-Widget Dashboard</h1>" } }, { "name": "Map", "type": "MapWidget", "x": 5, "y": 3, "width": 3, "height": 3, "datasource": { "source": "SavedSearch", "config": { "type": "QUERY", "id": "1" } }, "widgetSettings": { "locationFieldPairs": [ "DefaultLocation" ], "centerCoordinates": { "latitude": 51.5, "longitude": 0.12 }, "zoomLevel": 3 } }, { "name": "Video", "type": "VideoWidget", "x": 0, "y": 5, "width": 2, "height": 4, "datasource": { "source": "SavedSearch", "config": { "type": "QUERY", "id": "1" } }, "widgetSettings": { "restrictSearch": true } }, { "name": "Results", "type": "ResultsListWidget", "x": 2, "y": 6, "width": 4, "height": 3, "datasource": { "source": "SavedSearch", "config": { "type": "QUERY", "id": "1" } }, "widgetSettings": { "maxResults": 10 } }, { "name": "Topic Map", "type": "TopicMapWidget", "x": 6, "y": 6, "width": 2, "height": 3, "datasource": { "source": "SavedSearch", "config": { "type": "QUERY", "id": "1" } } } ] } ] }