During the lab, you will be configuring a category graph writer to use the ts:tsResponseRoleLabel property to categorize your troubleshooting topics automatically.
context.xml.
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"> </beans>
context.xml file in your favorite editor.
| 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. |
<bean id="samples.categoryGraphWriter.mappings" parent="alfresco.rdf.categoryGraphWriter.mappings.abstract">
<property name="mappings">
<map>
<entry key="{http://www.componize.com/model/samples/troubleshooting/1.0/}tsResponseRoleLabel" value="{http://www.alfresco.org/model/content/1.0}categories" />
</map>
</property>
</bean>
troubleshooting-sample.dita file in your favorite editor.
<tsResponseRoleLabel>KEYWORD_1</tsResponseRoleLabel>