Page 1 of 1

Suppressing Unused Framework Templates from "New File" Dialog

Posted: Wed Jun 11, 2025 9:29 am
by Dinesh
Hi,

We are using the DocBook format to maintain our content and have a framework in place that displays our templates in the "New File" dialog. However, the dialog currently shows templates for other formats such as DITA and XHTML, which we do not use.

Is it possible to suppress these additional templates? I understand that frameworks can be added or removed via the Frameworks GUI, but I’d like to confirm whether it is safe and effective to remove frameworks like DITA and XHTML. If we remove them, will their associated template folders also be removed from the "New File" dialog?

I’ve attached an image for reference. The marked folder represents our framework templates (note: the actual folder name differs; this is just for illustration). Ideally, we’d like to remove all other folders and have only our template options appear directly in the "New File" menu.
Workflow (12).png
Thanks,
Dinesh

Re: Suppressing Unused Framework Templates from "New File" Dialog

Posted: Wed Jun 11, 2025 12:52 pm
by Radu
Hello Dinesh,

In the Oxygen Preferences->"Document Type Association" page there are a number of enabled document type associations. Each one may contribute new file templates which appear in the "File->New" wizard dialog. If you start for example to disable the "DITA" and "DITA Map" document type associations in the "Document Type Association" page, then save the preferences, the "File->New" wizard dialog should no longer contain "DITA" templates.
Some new file templates are marked as "Popular" and appear further up.
If you look in "OXYGEN_INSTALL/frameworks/dita/templates/topic/Topic.properties", it is a properties file placed next to the new file template, having the same name but the ".properties" extension and it has "tags=popular". This particular tag value makes it appear in the "Popular" folder.

Regards,
Radu