Page 1 of 1

In the DITA Maps Manager, inserting a reference should consider the selected topic's path

Posted: Thu Jun 22, 2023 2:09 am
by chrispitude
In the DITA Maps Manager, when I click on a map element to insert a new file, the resulting dialog box defaults to the directory location of the currently selected topic:

image.png

This is an extremely useful behavior, and we like it!

But we noticed that when inserting a reference to an existing file, this behavior does not apply. Instead, the resulting dialog defaults to the top-level directory of the project:

image.png

This is inconvenient when we are working in an area of our repository that is several directory levels down.

Could you please consider making the reference insertion behavior consistent with the new-file insertion behavior, such that it defaults to the directory path of the currently selected file?

Testcase:
webhelp_default_path_for_references.zip

Thanks!

Re: In the DITA Maps Manager, inserting a reference should consider the selected topic's path

Posted: Thu Jun 22, 2023 5:39 am
by ritus
This is a much needed feature!
I want to add my vote to it.

Re: In the DITA Maps Manager, inserting a reference should consider the selected topic's path

Posted: Fri Jun 23, 2023 7:05 am
by Radu
Hi Chris,
Thanks for the report, I added an internal issue to consider it. Pasting the issue ID below for future reference:
EXM-53338 Improve file chooser current folder behavior for Insert Topicref
Regards,
Radu