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

Are you missing a feature? Request its implementation here.
dreifsnider
Posts: 105
Joined: Thu Aug 30, 2018 10:06 pm

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

Post 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
web-author-set-root-ditamap-restrict-to-ditamaps.png (34.67 KiB) Viewed 906 times
Thank you!

Daniel
Bogdan Dumitru
Site Admin
Posts: 142
Joined: Tue Mar 20, 2018 5:28 pm

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

Post 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?
Bogdan Dumitru
http://www.oxygenxml.com
dreifsnider
Posts: 105
Joined: Thu Aug 30, 2018 10:06 pm

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

Post 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
editor-dita-maps-manager-recently-opened.png (21.15 KiB) Viewed 875 times
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
windows-file-type-selector.png (25.4 KiB) Viewed 875 times
Thanks!

Daniel
Bogdan Dumitru
Site Admin
Posts: 142
Joined: Tue Mar 20, 2018 5:28 pm

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

Post by Bogdan Dumitru »

Just to confirm, your mean something like this?
Yes, exactly like in your screenshot.
Bogdan Dumitru
http://www.oxygenxml.com
Post Reply