Page 1 of 1

configuring cc_config.xml outside the installed directory

Posted: Tue Jan 31, 2023 10:41 am
by roopesh79
Hi Team,
Is there any way to configure the cc_config.xml with in a custom framework or outside the oxygen installed directory? I have a use case for modifying some attribute values frequently.
Thanks
Roopesh

Re: configuring cc_config.xml outside the installed directory

Posted: Tue Jan 31, 2023 12:24 pm
by Radu
Hi Roopesh,

Our advice for customizing framework related settings (including the cc_config.xml) is to create an extension of a certain framework outside of the Oxygen installation folder:
https://blog.oxygenxml.com/topics/autho ... aring.html
So we never recommend making changes inside the Oxygen installation folder.
Once you have a framework customization outside of the Oxygen installation folder you can have your own cc_config.xml there:

https://www.oxygenxml.com/doc/ug-editor ... ually.html
If you extend a framework, you need to copy the content of the cc_config.xml file from the base framework and modify it (e.g. create a resources folder in your framework extension folder and place the file there). You also need to make sure that the folder that contains the cc_config.xml file in your extension (e.g. resources) is listed in the Classpath tab before the one from the base framework.

If you only want to make small changes or add extra rules in your custom content completion configuration file, you need to name it cc_config_ext.xml and all the rules inside it are merged with the base cc_config.xml file. The merging is done by taking all the rules specified in the cc_config_ext.xml file into consideration after processing the set of rules from the base cc_config.xml file.
Regards,
Radu

Re: configuring cc_config.xml outside the installed directory

Posted: Thu Feb 02, 2023 10:23 am
by roopesh79
Thank you for the suggestion