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

Are you missing a feature? Request its implementation here.
dreifsnider
Posts: 176
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
Thank you!

Daniel
You do not have the required permissions to view the files attached to this post.
Bogdan Dumitru
Site Admin
Posts: 177
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: 176
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
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
You do not have the required permissions to view the files attached to this post.
Bogdan Dumitru
Site Admin
Posts: 177
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
cosminef
Site Admin
Posts: 285
Joined: Wed Aug 30, 2023 2:33 pm

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

Post 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
Cosmin Eftenie
www.oxygenxml.com
Post Reply