Modifying a document through JavaScript in Web Author

Post here questions and problems related to oXygen frameworks/document types.
antonyterrence
Posts: 41
Joined: Thu Jun 02, 2022 1:39 pm

Modifying a document through JavaScript in Web Author

Post 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
mihaela
Posts: 515
Joined: Wed May 20, 2009 2:40 pm

Re: Modifying a document through JavaScript in Web Author

Post by mihaela »

Hello,

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

Best Regards,
Mihaela
Mihaela Calotescu
http://www.oxygenxml.com
Post Reply