Page 1 of 1

Modifying a document through JavaScript in Web Author

Posted: Fri Feb 10, 2023 1:28 pm
by antonyterrence
Regarding the option to customize Web Author with JavaScript, is it possible to do the following through a javascript configured with a custom framework?
  • Detect if a doccument is new or existing
  • If it's new, add the user and date details to the doc and save.
  • If it's an existing doc that's modified, add the user and modified date.
What are the JavaScript APIs that we can use to achieve the requirement: https://www.oxygenxml.com/maven/com/oxy ... index.html

Re: Modifying a document through JavaScript in Web Author

Posted: Fri Feb 10, 2023 2:43 pm
by mihaela
Hello,

Please see our answers to you in this related post: post69631.html

Best Regards,
Mihaela