15. Writing a Template Assistant : How You Can Ensure Compatibility Between the Assistant and ApplyTemplate : How You Can Use ApplyTemplate on a Frame : Batch Mode Compared to Interactive Mode
 
Share this page                  
Batch Mode Compared to Interactive Mode
The ApplyTemplate utility has a mode value, with the values of interactive or batch, which it passes to the frame template assistant when it is called. The ApplyTemplate utility itself does not behave differently when in these two modes.
Note:  A frame template does not need to have changed for the ApplyTemplate utility to be run. The ability to regenerate fields and queries can also be used to reconfigure a frame to accommodate changes since the frame was first generated—for example, either in the database tables or in the application requirements.
The ApplyTemplate utility cannot itself guarantee that user customizations to a frame are not affected by sending it through its frame template assistant procedure again. The frame template assistant procedure must be designed in such a way so that it honors the $_TopComposite boundary.