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.

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

Posted: Fri Mar 20, 2026 1:50 pm
by cosminef
Hello,

We are pleased to announce that Web Author 28.1 has been released.

The file browser was enhanced to filter available files based on the current task.
When inserting images, maps, DITAVAL files, or other resources, only compatible file types are displayed.
This helps you quickly locate the appropriate files and prevents selecting unsupported resources during authoring.

For more information about the File Browser Descriptor API, please refer to this topic: https://www.oxygenxml.com/doc/versions/ ... ation.html

To learn more about what’s new in this version, please see the What's New section [1].

Best,
Cosmin

[1] https://www.oxygenxml.com/xml_web_autho ... 8.1.0.html