Page 1 of 1

How to update framework Actions

Posted: Fri Nov 04, 2011 4:48 pm
by kwringe
Is there any easy way to upgrade a framework file from one version to the next? I'm specifically concerned about updating the Actions.

We've added a number of Actions to help us insert elements (e.g, we have an action item that inserts our Task element template with our defaults and instructions). I would prefer not have to create a new framework based on the current 13.1 framework and add all these Actions (and their related toolbars., etc.).

Is there anything else I can do?

Thanks,
Kate

Re: How to update framework Actions

Posted: Fri Nov 04, 2011 6:18 pm
by sorin_ristache
Hi Kate,

No, you don't have to create your framework again based on the current 13.1 built-in one because the structure (and the syntax of the .framework file) is the same. Your custom Author framework created with an older version of Oxygen including any custom actions that you created and added to it should work by just adding the framework to the list of available frameworks from Options -> Preferences -> Document Type Association. Of course you have to make sure that the jar file containing the code of your custom Author actions is specified correctly in the Classpath section (the Classpath tab of the dialog box for editing an Author framework), the actions are added to the toolbar in the Author section, etc.

If you tried to use a custom framework in Oxygen 13.1 and it did not work (the actions were not displayed or they did not work, etc) please give us more details or the error messages that were reported by Oxygen.


Regards,
Sorin

Re: How to update framework Actions

Posted: Fri Nov 04, 2011 6:58 pm
by kwringe
I am able to the older framework file with v13.1.

However, I would like to be able to take advantage of the changes that were introduced in the new version. If I use the older framework file, then I can't use the new Actions (i.e., the xinclude insertion).

I'm looking for an easy way to compare the Action items between the different frameworks. Diffing the files is tedious.

Thanks,
Kate

Re: How to update framework Actions

Posted: Mon Nov 07, 2011 10:17 am
by sorin_ristache
Hi Kate,

In the current version you have to add the new actions manually in the old framework file because there is no automatic method for importing them in older frameworks. We will consider in a future version the simplification of the update of older frameworks.

If the creation of your custom framework did not entail extensive modifications of the built-in one I think it is easier to re-create the custom framework by re-applying the modifications to the built-in framework from version 13.1 rather than a diff between the two .framework files.


Best regards,
Sorin

Re: How to update framework Actions

Posted: Fri May 23, 2014 4:02 pm
by Radu
Hi,

Starting with Oxygen 16.0 which was released a couple of days ago you will have the possibility to extend a document type configuration in order to automatically benefit of all changes made to the base configuration in your extension.

Regards,
Radu