Programming Guide : 15. Writing a Template Assistant : How You Can Ensure Compatibility Between the Assistant and ApplyTemplate : How You Can Use ApplyTemplate on a Field
 
Share this page                  
How You Can Use ApplyTemplate on a Field
The need to use the ApplyTemplate utility on a generated field arises in the following situations:
When the static functionality provided by a field template has changed, and the user wants to introduce these changes that have already been generated
When the user wants to regenerate a field with new dynamic characteristics
Unlike frames generated from frame templates, fields generated from field templates are not partitioned into two areas, one belonging to the utility, and one belonging to the user. A field regenerated with the ApplyTemplate utility completely replaces the previous field, and any user customizations are lost.