Page 1 of 1

Setting the root map for keyrefs = project option?

Posted: Tue Jun 27, 2017 5:24 pm
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

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

Posted: Wed Jun 28, 2017 9:03 am
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

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

Posted: Wed Jun 28, 2017 2:49 pm
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

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

Posted: Wed Jun 28, 2017 2:54 pm
by Radu
Hi Christina,

Good choice.

Regards,
Radu

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

Posted: Fri Feb 14, 2020 11:48 am
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