Show the entire taxonomy structure
We will configure the Tridion Docs SES Connector in such a way the user will see the entire taxonomy structure.
About this task
In Hypothetical taxonomy tree structure we defined a certain taxonomy structure. We will configure the field FLOCATION in such a way that it will show the entire taxonomy tree structure (except for the continents under hemispheres). We will also limit the user so that he can only select countries or cities.
Continents {id=34, class=category, selectable=no}
- Australia {id=5, class=continent, selectable=no}
- Australia {id=38, class=country, selectable=yes}
- Sydney {id=46, class=city, selectable=yes}
- Europe {id=17, class=continent, selectable=no}
- France {id=105, class=country, selectable=yes}
- Paris {id=12, class=city, selectable=yes}
Hemispheres {id=99, class=category, selectable=no}
- Northern {id=203, class=hemisphere, selectable=no}
- Southern {id=14, class=hemisphere, selectable=no}
Procedure
Results
<infoShareExtensionConfig version="1.0">
<metadatabindings>
<metadatabinding ishfieldname="FCOUNTRYORCITY" sourceref="SESExampleModelDataSource" />
</metadatabindings>
<sources>
<source id="SESExampleModelDataSource" handler="SmartLogicSESConnector">
<initialize>
<parameters>
<parameter name="ses.api.url">http://smartlogic.example.com/ses</parameter>
<parameter name="ses.api.tbdb">Example</parameter>
<parameter name="metadatabinding">
<fields>
<field name="FCOUNTRYORCITY" level="logical">
<read>
<entrynodes/>
<selectable>
<condition name="CLASS">country</condition>
<condition name="CLASS">city</condition>
</selectable>
<relations>
<relation ref="narrowerterm" />
</relations>
</read>
</field>
</fields>
</parameter>
<parameter name="relations">
<relations>
<relation type="hierarchical" id="narrowerterm" abbreviation="NT" direction="Forward"/>
</relations>
</parameter>
</parameters>
</initialize>
</source>
</sources>
</infoShareExtensionConfig>