How to: |
You can insert a widget on an HTML page to automatically submit values in a control at specific intervals. The control can be linked to a report, chart, or map.
You can enable the autoplay setting for the widget in the Tasks & Animations panel. The widget selected may require the following configurations:
When the autoplay widget displays, select a control on your page from the drop-down menu in the widget. You can hide the drop-down menu by making a selection or pressing the Esc key. When you press the play button in the autoplay widget, the value in the selected control changes based on the specified time interval.
You can also create an autoplay control that is the sole input control for a parameter, unassociated with any control on the page. This is called a virtual control. You can do this in one of two ways:
You must create a task to display a virtual control autoplay widget using the Tasks & Animations panel.
TABLE FILE BASEAPP/WF_RETAIL_LITE SUM WF_RETAIL_LITE.WF_RETAIL_SALES.REVENUE_US WF_RETAIL_LITE.WF_RETAIL_SALES.GROSS_PROFIT_US BY WF_RETAIL_LITE.WF_RETAIL_GEOGRAPHY_STORE.COUNTRY_NAME WHERE WF_RETAIL_LITE.WF_RETAIL_TIME_SALES.TIME_DATE_YEAR_COMPONENT EQ &TIME_DATE_YEAR_COMPONENT.(FIND WF_RETAIL_LITE.WF_RETAIL_TIME_SALES.TIME_DATE_YEAR_COMPONENT, WF_RETAIL_LITE.WF_RETAIL_TIME_SALES.TIME_DATE_YEAR_COMPONENT IN baseapp/wf_retail_lite|FORMAT=YYMDy).Sale,Year:.QUOTEDSTRING; ON TABLE SET PAGE-NUM NOLEAD ON TABLE SET ASNAMES ON ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT XML ON TABLE SET HTMLCSS ON END
The populated New Parameters dialog box is shown in the following image.
The horizontal slider is added to the HTML page, as shown in the following image.
The populated Settings panel is shown in the following image.
The populated Tasks & Animations panel is shown in the following image.
The populated Tasks & Animations panel is shown in the following image.
Note: As the slider moves automatically, from year to year, the map is refreshed with the data for the corresponding year.