Page 1 of 1

Restrict List of Files to DITA Maps When Setting Root DITA Map

Posted: Fri Aug 11, 2023 4:16 am
by dreifsnider
In Web Author, from the DITA Map pane, users have the option to select a new DITA Map to set as the root DITA Map of the current document.

However, the Choose File dialog that opens displays all files within a selected folder, regardless of the file's extension.

Is it possible to restrict the list of files that display when selecting a new root DITA Map to only files with a .ditamap extension?

Please see the following graphic:
web-author-set-root-ditamap-restrict-to-ditamaps.png
Thank you!

Daniel

Re: Restrict List of Files to DITA Maps When Setting Root DITA Map

Posted: Fri Aug 11, 2023 11:37 am
by Bogdan Dumitru
Hello Daniel,

Unfortunately, the file browser doesn't allow filtering displayed files but I've noted your interest on our internal issue tracker.
But how about having a dropdown with recently used DITA map files? Somewhat like in Oxygen XML Editor?

Re: Restrict List of Files to DITA Maps When Setting Root DITA Map

Posted: Sat Aug 12, 2023 12:38 am
by dreifsnider
Hi Bogdan,

Thanks for your reply and for logging this on your internal issue tracker.

Since the file browser dialog is being opened from the DITA Map pane, I think it makes sense to limit the file types that are displayed to only .ditamaps similar to opening the file browser from Oxygen XML Editor's DITA Maps Manager view.

I do like your suggestion of having a dropdown that displays recently used DITA Map files as well. Just to confirm, you mean something like this?
editor-dita-maps-manager-recently-opened.png
Another suggestion would be to have a dropdown that let users select which file types are displayed in the file browser dialog? Similar to Window's File Explorer dropdown?
windows-file-type-selector.png
Thanks!

Daniel

Re: Restrict List of Files to DITA Maps When Setting Root DITA Map

Posted: Mon Aug 14, 2023 11:17 am
by Bogdan Dumitru
Just to confirm, your mean something like this?
Yes, exactly like in your screenshot.