Page 1 of 1

Extending DITA Framework

Posted: Mon Oct 04, 2021 7:07 am
by msambasiva
Hi,
Oxygen XML 23.0

I have a requirement to extend DITA Framework to have a custom templates & content completion.

Started with a new project creation named as uae-custom-framework-project. Then created two folders uae-custom_frameworks\dita-extension as per the documentation. Below is the folder structure,

D:\PROJECTS\Oxygen\Code\uae-custom-framework-project>tree
Folder PATH listing for volume Data
Volume serial number is FCD8-3AF3
D:.
└───uae-custom_frameworks
└───dita-extension
├───resources
└───templates
├───Maps
└───Topics

I tried in two ways 1) script based and 2) Configuration dialogue

https://www.oxygenxml.com/doc/versions/ ... cript.html

Issue: I am getting an additional folder named 'templates' in Choose a file temple window. Please find the attachment for more information. Please suggest how best can we hide the 'templates' folder in Choose file template window.
dita-framework-extension-100421.png
Thanks in advance,
Samba.

Re: Extending DITA Framework

Posted: Mon Oct 04, 2021 9:47 am
by msambasiva
Issue got fixed with appending * to the template directories path as ${frameworkDir}/templates/*. :D :D

Re: Extending DITA Framework

Posted: Mon Oct 04, 2021 2:24 pm
by Radu
Hi Samba,

Right, good idea, either add references to each subfolder of the "templates" folder or use "*" to achieve the same effect.

Regards,
Radu