Page 1 of 1

Add import button in DTA Author Actions menu

Posted: Fri Sep 04, 2020 1:10 pm
by whyme
Under Document Type Association > Author > Actions there is a button that allows you to export actions, but not a comparable button to allow you to import them. The current documentation is unclear on how to import actions that have been saved elsewhere.

Re: Add import button in DTA Author Actions menu

Posted: Fri Sep 04, 2020 3:13 pm
by alex_jitianu
Hello,

If you already have author actions saved into individual files then you need to put them in one of the 2 places we look for them:
1. {framework_directory}/externalAuthorActions - If there are multiple framework subdirectories inside {framework_directory}, using this path structure will make the actions available to all of them.
2. {framework_directory}/{framework_file_name}_externalAuthorActions - Using this path structure will make the actions only available in the framework stored inside the {framework_file_name} framework file.

I'll review the documentation, to see how we can make things clearer. I'll also add an issue to offer an Import action that will copy the files to one of those locations.

Kind regards,
Alex Jitianu