Importing DITA new topic preferences

<oXygen/> general issues.
hestonhoffman
Posts: 2
Joined: Fri Jul 19, 2019 9:39 pm

Importing DITA new topic preferences

Post by hestonhoffman » Fri Jul 19, 2019 9:54 pm

Hi,

I'm having trouble importing global options "DITA / New topics" preferences. I want to make sure everyone on the team is using the following settings:

Image

When I import a global settings file with the following entry, nothing happens (the other entries in the file work fine):

Code: Select all

		<entry>
				<String>Filename_generation_from_topic_title_options</String>
				<titleBasedFileNameGenerationOptions>
					<field name="charToReplaceSpacesWith">
						<String>_</String>
					</field>
					<field name="allLowerCase">
						<Boolean>true</Boolean>
					</field>
					<field name="upperCaseFirstLetter">
						<Boolean>false</Boolean>
					</field>
					<field name="howToGenerateFilenameFromTitle">
						<Integer>1</Integer>
					</field>
				</titleBasedFileNameGenerationOptions>
		</entry>
I'd appreciate any help on this.

sorin_carbunaru
Site Admin
Posts: 242
Joined: Mon May 09, 2016 9:37 am

Re: Importing DITA new topic preferences

Post by sorin_carbunaru » Mon Jul 22, 2019 9:38 am

Hello,

If everyone in the team is working on the same project, the best approach for sharing the options is to save them at the project level. Please see https://www.oxygenxml.com/doc/versions/ ... ns-section.

However, I also tested changing the global DITA > New Topics options in one oXygen instance (version 21), then I exported them to an XML file and finally I imported the options from that file in another instance of oXygen (version 22). After restarting this latter instance of oXygen, the options were set as expected and worked accordingly.

A third possibility for sharing your options would be to create a special plug-in written in Java or JavaScript. See https://www.oxygenxml.com/doc/versions/ ... ple_plugin.

All the best wishes,
Sorin Carbunaru
oXygen XML

hestonhoffman
Posts: 2
Joined: Fri Jul 19, 2019 9:39 pm

Re: Importing DITA new topic preferences

Post by hestonhoffman » Tue Jul 23, 2019 8:03 pm

Thanks, I'll take another look and see if I can get the import to work on a separate instance of of oXygen. The plugin option sounds intriguing. I'll look into that as well!

Post Reply