Applet Details 
To configure applets, you can use templates to define the query and display behaviors by including appropriate PARAM tags and values for the QueryTemplate and DisplayTemplate parameters in your Web page. You can use HTML code to override the default, query template, and display template values. PARAM tags have the highest priority, followed by query, display, and default template values.
A combination of templates and Web page-specific parameter values is optimal.
Example
You can create a TagQuery template with references to a connector, server, and tag names and a Mode parameter setting of Current. To use this template in an iChart to display a historical trend, you should include a reference to the template in the QueryTemplate parameter and include a PARAM tag to set the Mode parameter to History or HistoryEvent. You can also override a parameter by setting a PARAM tag to a new value in the Web script and updating the applet.
You can use HTML tables to organize multiple applets on one page, but your users may have different browsers, display resolutions, and font sets. With Web scripting, you can combine applets and enable drill down and data correlation applications. Applets provide selection and click events to call your Web page scripts. For example, you can change the filter expression of an applet's query object based on data in another applet selection.
Many SAP Manufacturing Integration and Intelligence (SAP MII) applets are highly interactive and allow you to do the following:
Scroll time intervals and axis ranges
Use date and time format options that include time zones
Dynamically select data points
Control appearance
See data such as detailed data values, statistics, or current values associated with the current view.
You can enable this functionality per applet.
Applets can refresh on demand or automatically at a given time interval. For maximum system scalability, we recommend that you refresh on demand, so you do not keep connections open to the Web server and create performance obstacles.
Note
If you want to use keyboard shortcuts on an applet, the applet must have the focus.
The SAP MII server automatically implements performance optimization by managing database connections and bandwidth usage and caching, as necessary.
You can configure logging for individual applets and display debug information in the Java Console.