Page 1 of 1

Author Action to create New Document?

Posted: Tue Dec 17, 2024 2:59 pm
by yamahito
Hi Oxygen,

I'd like to create an Author action which inserts an

Code: Select all

xi:include
as well as an associated New document (using a framework template).

Is this possible out of the box?

Thanks,
Tom

Re: Author Action to create New Document?

Posted: Tue Dec 17, 2024 3:47 pm
by Radu
Hi Tom,

Do you want this for Oxygen desktop or for our WebAuthor in-browser editor?
We do not have such an action out of the box. Our Java APIs allow people to create their own AuthorOperation implementation:
https://www.oxygenxml.com/doc/versions/ ... a-api.html
and take control over what gets inserted in the edited content.

Regards,
Radu

Re: Author Action to create New Document?

Posted: Tue Dec 17, 2024 5:57 pm
by yamahito
Thanks, Radu; I'll take it back to see if that's what we want to develop.

It might be easier just to train authors to create the necessary files first then link in using the existing xlink action.

T