Page 1 of 1

Excluding topics from webhelp output index

Posted: Mon Mar 21, 2016 1:50 pm
by ann.jensen
Hello,
I am using the audience attribute with various topicsrefs along with 2 ditaval files to generate different instances of webhelp output from my DITA content.
This works fine but the excluded topics can still be navigated to via the Search and Index results.
Is there any way to completely remove access to these topics in the webhelp output?
Thanks in advance,
Ann

Re: Excluding topics from webhelp output index

Posted: Mon Mar 21, 2016 5:10 pm
by bogdan_cercelaru
Hello,

Please make sure that you have "clean.output" parameter set to "yes".
This will ensure that you do not have any unwanted files (topics) that will be indexed.

Regards,
Bogdan

Re: Excluding topics from webhelp output index

Posted: Mon Mar 21, 2016 5:44 pm
by ann.jensen
Thank you for your advice Bogdan.
That removes any of the excluded topics from the index. Is there any way to remove them from webhelp Search results also?
Thanks,
Ann

Re: Excluding topics from webhelp output index

Posted: Mon Mar 21, 2016 6:03 pm
by bogdan_cercelaru
Hello,

Using this method, any excluded topics will be also removed from the search results.

Regards,
Bogdan

Re: Excluding topics from webhelp output index

Posted: Mon Mar 21, 2016 6:07 pm
by ann.jensen
After making your suggested change (setting clean.output setting value to YES) I am still getting the excluded topics in my Search results...but not in the Index.
Regards,
Ann

Re: Excluding topics from webhelp output index

Posted: Tue Mar 22, 2016 10:31 am
by Radu
Hi Ann,

Usually this happens when the excluded topics are still referenced from other topics which are not excluded. And you also need to add profiling to those links.
The DITA Maps Manager "Validate and check for completeness" can be run by specifying a DITAVAL file and it will issue warnings if there are links to topics not included in the DITA Map.

Regards,
Radu