Automatically set @keys attribute for new topics

Are you missing a feature? Request it's implementation here.
chrispitude
Posts: 176
Joined: Thu May 02, 2019 2:32 pm

Automatically set @keys attribute for new topics

Post by chrispitude » Mon Mar 09, 2020 9:05 pm

An increasingly common DITA best-practice is to define @keys values for all topic references, then use keyrefs instead of hrefs for references to topics and their contents.

Currently, users must remember to set the @keys value each time they create a new topic in the map. This is error-prone.

It would be great if Oxygen could provide an option to set this automatically:
new_topic_keys.png
new_topic_keys.png (36.66 KiB) Viewed 144 times

Radu
Posts: 6922
Joined: Fri Jul 09, 2004 5:18 pm

Re: Automatically set @keys attribute for new topics

Post by Radu » Tue Mar 10, 2020 10:22 am

Hi Chris,

Thanks for the suggestion, based on a previous request of yours we have an issue logged with ID EXM-40196.
We'll update this forum thread when the issue is implemented.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

sorin_carbunaru
Site Admin
Posts: 303
Joined: Mon May 09, 2016 9:37 am

Re: Automatically set @keys attribute for new topics

Post by sorin_carbunaru » Wed May 20, 2020 12:30 pm

Hello Chris,

It's been done in Oxygen 22.1. You can find some more info at https://www.oxygenxml.com/doc/versions/ ... opics.html (look for Use the file name as the value of the "keys" attribute for topic references).

Best wishes,
Sorin Carbunaru
oXygen XML

Post Reply