TagGraphWriter bean attributes

A TagGraphWriter is created using a Spring bean with the following attributes:

Attribute Value Description
id User-defined A unique ID for the bean.
parent alfresco.rdf.tagGraphWriter.mappings.abstract The parent bean.

TagGraphWriter bean properties

The TagGraphWriter bean takes the following properties:

Property Type Mandatory Description
mappings Map <QName,QName> Required Map defining how predicates should be mapped to Alfresco properties. Use a fully-qualified name with Clark notation as the key of the entry.
Important: Use the following QName for the Alfresco property: {http://www.alfresco.org/model/content/1.0}taggable

TagGraphWriter bean example

<bean id="samples.tagGraphWriter.mappings" parent="alfresco.rdf.tagGraphWriter.mappings.abstract">
  <property name="mappings">
      <entry key="{http://www.componize.com/model/samples/troubleshooting/1.0/}tsResponseRoleLabel" value="{http://www.alfresco.org/model/content/1.0}taggable" />


To debug your TagGraphWriter, add the following entry to your log4j.properties file: