Dynamic filtering of TOC and topics from webhelp (using client-side config file)
Posted: Fri Mar 17, 2017 1:22 am
This request is similar to topic11057.html, however, we do not want to show the options to the user to have to pick from a list in the interface.
Rather, we have a highly configurable application, where certain product features can be enabled or not. We want the help system to only show topics (in TOC, and search and related links) for those associated features that are enabled. We want to hide those that are not enabled.
Our application generates an XML file that can be parsed for the list of features, and we are using the <resourceid appid="" appname=""/>feature of DITA 1.3 on our map to identify which feature (appid) a particular topic is associated with. We are using the appname to identify the particular application.
How can we setup up the dynamic filtering so that it uses the XML file to then hide content that is not in the feature XML file?
Rather, we have a highly configurable application, where certain product features can be enabled or not. We want the help system to only show topics (in TOC, and search and related links) for those associated features that are enabled. We want to hide those that are not enabled.
Our application generates an XML file that can be parsed for the list of features, and we are using the <resourceid appid="" appname=""/>feature of DITA 1.3 on our map to identify which feature (appid) a particular topic is associated with. We are using the appname to identify the particular application.
How can we setup up the dynamic filtering so that it uses the XML file to then hide content that is not in the feature XML file?