Hi,
We have a requirement of 2 types of users, author and reviewer. Authors can edit everything, whereas reviewers can only enter comments.
I'm using the javascript API to achieve read-only mode with: editor.getActionsManager().invokeOperation('SetReadOnlyStatusOperation',{'read-only': true});
However this mode does not allow comments either. Is it possible to enable comments on read-only mode?
Version: Web Author 18.0.0
Many thanks,
Oscar
Comments and track changes allow but rest read-only
-
- Posts: 310
- Joined: Thu Sep 04, 2014 4:22 pm
Re: Comments and track changes allow but rest read-only
Hello,
Web Author stores the comments in the XML document as processing instructions, so adding a comment changes the document.
We have an editing mode which is called "review". To enable it just add "&modes=review" to the Web Author URL.
Please let me know if this mode is suitable for you.
Best,
Cristian
Web Author stores the comments in the XML document as processing instructions, so adding a comment changes the document.
We have an editing mode which is called "review". To enable it just add "&modes=review" to the Web Author URL.
Please let me know if this mode is suitable for you.
Best,
Cristian
Re: Comments and track changes allow but rest read-only
Hi,
The mode review works, but it does not include the number of custom operations (JAVA) that are needed in our review mode.
How do we include our custom operations to the review mode?
Thanks,
Oscar
The mode review works, but it does not include the number of custom operations (JAVA) that are needed in our review mode.
How do we include our custom operations to the review mode?
Thanks,
Oscar
-
- Posts: 310
- Joined: Thu Sep 04, 2014 4:22 pm
Re: Comments and track changes allow but rest read-only
Hello,
I guess you added your operations in the framework-specific toolbar (e.g. DITA). You can add them in the review toolbar, or create a new toolbar using the same ACTIONS_LOADED event [1], [2].
Best,
Cristian
[1] https://www.oxygenxml.com/maven/com/oxy ... ditor.html
[2] https://www.oxygenxml.com/maven/com/oxy ... ction.html
I guess you added your operations in the framework-specific toolbar (e.g. DITA). You can add them in the review toolbar, or create a new toolbar using the same ACTIONS_LOADED event [1], [2].
Best,
Cristian
[1] https://www.oxygenxml.com/maven/com/oxy ... ditor.html
[2] https://www.oxygenxml.com/maven/com/oxy ... ction.html
Re: Comments and track changes allow but rest read-only
Thanks Cristian,
the combination of multiple toolbars with review mode works for us. Where can I find information about the different modes?
Oscar
the combination of multiple toolbars with review mode works for us. Where can I find information about the different modes?
Oscar
-
- Posts: 310
- Joined: Thu Sep 04, 2014 4:22 pm
Re: Comments and track changes allow but rest read-only
Hello,
Currently we have only two modes: edit & review. These modes can be configured when opening a document using the JS API [1] and by passing an URL parameter.
Best,
Cristian
[1] https://www.oxygenxml.com/maven/com/oxy ... ingOptions
Currently we have only two modes: edit & review. These modes can be configured when opening a document using the JS API [1] and by passing an URL parameter.
Best,
Cristian
[1] https://www.oxygenxml.com/maven/com/oxy ... ingOptions