Page 1 of 1

Collection-type settings don't take effect

Posted: Wed Jan 16, 2019 1:10 pm
by Anne
Hi,

To display hierarchical links in an output, I tried to use the collection-type settings with the following results:
-sequence on the root map and the root topic - no links appear at all
-unordered on a parent topic - no links appear at all
-family on a parent topic - no links appear on the parent, only on child topics

I'm using the default DITA Map WebHelp Responsive transform.

What am I doing wrong?

Thanks,
Anne

Re: Collection-type settings don't take effect

Posted: Wed Jan 16, 2019 4:41 pm
by ionela
Hi,

It should work to set the collection-type attribute. Could you please test this on our sample flowers.ditamap as it has collection-type="sequence" attributes set on some topicref elements.
As an alternative, there is a "webhelp.default.collection.type.sequence" parameter in the WebHelp Responsive transformation scenario dialog that you could set to "yes". This option will add Next and Previous navigation buttons for all HTML pages in the WebHelp Responsive output.
If you use this parameter, you need to remove the collection-type attributes set in your DITA source files.

Regards,
Ionela

Re: Collection-type settings don't take effect

Posted: Thu Jan 17, 2019 12:39 pm
by Anne
Hi Ionela,

Unfortunately, your suggestion didn't work. The only collection-type value that works for me is "family", others don't take any effect whatsoever.
Where can I find the source of your sample flowers.ditamap to test in my environment?

Thanks,
Anne

Re: Collection-type settings don't take effect

Posted: Thu Jan 17, 2019 2:45 pm
by ionela
Hi,

The sample project (sample.xpr) is the one that comes with the oXygen XML installation. You can find the sample project under the user profile > Documents directory. In this sample project there is a dita folder where you can find the flowers.ditamap.
Please test on the sample flowers.ditamap by running the default DITA Map WebHelp Responsive transformation scenario. Then, you can edit the default scenario and set the "webhelp.default.collection.type.sequence" parameter to "yes".

If it works on the sample project, further on in your files you need to set this parameter starting from the default DITA Map WebHelp Responsive transformation scenario. Also, when you set this parameter make sure you remove the collection-type attribute from your DITA source files. If you set the parameter in the DITA files, the webhelp.default.collection.type.sequence does not have effect for those files as the attribute defined in the DITA source has precedence.

Regards,
Ionela