Enabling Use of BooleanAutoLabelingTransactionFilter
In order for this filter to work, you need to add auto-label
elements to boolean field definitions in your entry-type
resource. An auto-label
element looks like this:
<auto-label labelName="tag-name" xmlns:livecenter="http://xmlns.escenic.com/2015/live-center" />
The auto-label
element must be inserted as the child of a boolean field
element, and tag-name must be the term (ID) of the tag you want to use for this field. The element must belong to the http://xmlns.escenic.com/2015/live-center
namespace.
For each field you mark up in this way, you must also add a tag definition to the livelabels@escenic.com,2015
tag structure. You can do this by either adding a tag definition to the tags.xml
file and re-importing or by adding the term manually from Content Studio (see The Manage Tags Dialog).
To enable tagging for a "milestone" field in one of your entry-type
definitions, for example, you would need to add the following to your entry-type
resource:
<field type="boolean" name="milestone"> <ui:label>Milestone</ui:label> <auto-label labelName="milestone" xmlns:livecenter="http://xmlns.escenic.com/2015/live-center"/> </field>
and then add the following tag to livelabels@escenic.com,2015
:
<tag term="milestone"> <label>Milestone</label> </tag>