Skip to main content
Windward

Clean Template

Overview

Running this tool will make changes to your template such as fixing expressions, or helping by upgrading any code changes between versions. It can also be used creative to help with troubleshooting. Make sure to try it first on a copy of your original template. It creates a new template which is scrubs, closes your existing template, opens the new scrubbed template, deletes the old file, and renames the new file to the name of the original file. (Version 10 and later. This replaced Convert Tags)

 

For information on using Clean Template on batches of templates, see the pages for each engine:

.NET and RESTful Engines

Java Engine

 

 

Details

Click on the Clean Template tool:

 

You will be prompted with:

 

Setting the correct value in the "Template version 9 or earlier" checkbox is critical. Check this box if the template you are cleaning was created in version 9 or earlier of AutoTag. Do not check this box it if the template was created in version 10 or later. (What this does is tell clean template if the tags use select/evaluate/value (version 9 and earlier) or the tags use select only (version 10 and later.)

This scrubbing includes:

  1. All tags are written in the default format.

  2. All tag properties are updated to the latest syntax.

  3. Selects that have ...'${var}'... are converted to ...${var}... (removing the ' that is no longer needed with setParameter).

 Fixing Expressions

Any old templates that have select expressions that do not start with the '=' mark may fail to correctly determine the type of select expression. 

 

To fix this, in the Clean Template window check the box next to "Attempt to fix expressions"

 

By checking this box, AutoTag will attempt to fix unrecognized expressions during the template cleaning.

  • Was this article helpful?