CategoryGraphWriter bean attributes

A CategoryGraphWriter 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.categoryGraphWriter.mappings.abstract The parent bean.

CategoryGraphWriter bean properties

The CategoryGraphWriter 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: {}categories

CategoryGraphWriter bean example

<bean id="samples.categoryGraphWriter.mappings" parent="alfresco.rdf.categoryGraphWriter.mappings.abstract">
  <property name="mappings">
      <entry key="{}tsResponseRoleLabel" value="{}categories" />


To debug your CategoryGraphWriter, add the following entry to your file: