Page 1 of 1

Autosave block if invalid

Posted: Fri May 26, 2023 4:44 pm
by aujunior
Hello!

I'm studying the web-author-block-save-if-invalid plugin and I've read that it doesn't block autosave.

Is there any autosave listener to call some custom method?

Re: Autosave block if invalid

Posted: Mon May 29, 2023 11:32 am
by Bogdan Dumitru
Hello,

Unfortunatelly currently there is no API to intercept autosave in Oxygen XML Web Author. But we have an issue registered in our internal issue tracker and I've registered your interest.

If you absolutely need to block saving invalid docs, you may consider using that sample plugin and disabling autosave with &autoSaveInterval=0 URL parameter.