Setting the root map for keyrefs = project option?

Oxygen general issues.
ckabstein
Posts: 142
Joined: Fri Apr 24, 2015 12:28 pm

Setting the root map for keyrefs = project option?

Post by ckabstein »

Hi,

I've selected a root map to be able to reference all keys, but I would like to know why this changes the main .xpr file. We are using one .xpr for several individual products. If I save this, this setting is changed for all other users, even though they might be working on other products, and on other ditamaps.

Could you please explain? Do we have to handle working with keyrefs differently?

Thanks,
Christina
oXygen XML Editor 25.0 build 2023013006
DITA OT 3.7.3
Radu
Posts: 9057
Joined: Fri Jul 09, 2004 5:18 pm

Re: Setting the root map for keyrefs = project option?

Post by Radu »

Hi Christina,

We somehow considered that for people who work on a DITA project with only one root map it's kind of nice to save the root map information directly at project XPR level, so that they can all share that.
But indeed for people who work daily with more than one root map this is a problem.
So we probably need to add a setting to control this, I will add an internal issue for it.
If you are using a version control system like GIT or SVN you can choose not to commit your local XPR changes to the central repository.
If you are all using an XPR shared via a network drive you can try to mark that XPR as read-only so that Oxygen will no longer be able to save it.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
ckabstein
Posts: 142
Joined: Fri Apr 24, 2015 12:28 pm

Re: Setting the root map for keyrefs = project option?

Post by ckabstein »

Thanks, Radu,

We have locked the X'PR file in SVN for now to avoid unwanted changes. This still enables our authors to make changes to the file.

Christina
oXygen XML Editor 25.0 build 2023013006
DITA OT 3.7.3
Radu
Posts: 9057
Joined: Fri Jul 09, 2004 5:18 pm

Re: Setting the root map for keyrefs = project option?

Post by Radu »

Hi Christina,

Good choice.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Cosmin Duna
Site Admin
Posts: 120
Joined: Wed Dec 12, 2018 5:33 pm

Re: Setting the root map for keyrefs = project option?

Post by Cosmin Duna »

Hello Christina,

oXygen 22 is out now and it contains a new preferences page named "Project Level Settings" that allows you to configure where to save the root map information:
https://www.oxygenxml.com/doc/versions/ ... tings.html

Best regards,
Cosmin DUNA
Cosmin Duna
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply