Extending DITA Framework

Post here questions and problems related to oXygen frameworks/document types.
msambasiva
Posts: 87
Joined: Tue Jul 17, 2018 6:57 am

Extending DITA Framework

Post 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
dita-framework-extension-100421.png (240.86 KiB) Viewed 868 times
Thanks in advance,
Samba.
msambasiva
Posts: 87
Joined: Tue Jul 17, 2018 6:57 am

Re: Extending DITA Framework

Post by msambasiva »

Issue got fixed with appending * to the template directories path as ${frameworkDir}/templates/*. :D :D
Radu
Posts: 9054
Joined: Fri Jul 09, 2004 5:18 pm

Re: Extending DITA Framework

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply