How to Generate IDs

Having trouble installing Oxygen? Got a bug to report? Post it all here.
sbodoff
Posts: 20
Joined: Tue Jun 14, 2011 10:42 pm

How to Generate IDs

Post by sbodoff »

The documentation says that the Generate ID action:
Allows you to generate an unique ID for the element at caret position.
Furthermore it says:
All actions described above are available in the contextual menu, the DITA submenu of the main menu and in the Author custom actions toolbar.
However, when I configure toolbars, Author custom actions is not available. Nor is the action available in the DITA submenu.

Is this action still supported?
Radu
Posts: 9057
Joined: Fri Jul 09, 2004 5:18 pm

Re: How to Generate IDs

Post by Radu »

Hi,

The Generate ID action for editing DITA topics is only available in the contextual menu. So you can place the caret inside the element, right click and choose Generate ID for it.
We'll modify the user manual to state things more clearly.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
majacques
Posts: 2
Joined: Mon Jun 13, 2016 11:30 am

Re: How to Generate IDs

Post by majacques »

Hello,

I am wondering if it is possible to use the Generate IDs option for a ditamap. The option is not proposed for selection when right-clicking on the <map> element in the Author mode.

What do you suggest I do to generate an ID at the map level?

Many thanks in advance!
Radu
Posts: 9057
Joined: Fri Jul 09, 2004 5:18 pm

Re: How to Generate IDs

Post by Radu »

Hi,

Indeed the ID generation action is not available for DITA Maps (it's only available for DITA topics). I'll add an issue on our side to allow for this.
Could you tell me more about your use case? Usually IDs are not generated that much in DITA Maps. Do you also generate IDs on topicrefs or only on the main <map> root?
Also, if you want I can give you some step by step instructions about adding your own Author action which invoked can add an ID to the current element when the DITA Map is opened in the Author visual editing mode.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Radu
Posts: 9057
Joined: Fri Jul 09, 2004 5:18 pm

Re: How to Generate IDs

Post by Radu »

Hi,

We released Oxygen 18.1 a couple of weeks ago and it should have this issue fixed.

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