Does the issue only happen on certain browsers?
No.
Is your issue related to a front-end framework?
No.
Is your issue related to annotations?
Yes.
Please give a brief summary of your issue:
Comments on annotations in Read Only mode not working.
Please describe your issue and provide steps to reproduce it:
We recently update the WebViewer to version 11.3.0 from 10.1.1.
And we noticed that it is not possible anymore to add comments to existing annotations when the WebViewer is in Annotation Read Only mode.
We set the read only mode like this:
annotationManager.enableReadOnlyMode()
Is there a way we could reenable this, to allow our users to add comments to existing annotations, when the WebViewer is in Annotation Read Only mode?
Hello, Iām AiRon, an automated tech support bot While you wait for one of our customer support representatives, I can help you with your question.
When WebViewer is in Read Only mode using annotationManager.enableReadOnlyMode(), it restricts all modifications to annotations, including adding comments. This is by design to ensure that no changes are made to the document or its annotations.
Some things you can try:
Consider disabling Read Only mode temporarily to allow users to add comments, and then re-enable it. Use a custom UI control to toggle this mode based on user actions.
Implement a custom permission system where you manage comment permissions separately from other annotation modifications. This would require additional logic to handle comment additions when annotations are otherwise read-only.
Check if there are specific settings or permissions that can be adjusted within your application to allow comments while maintaining other read-only restrictions.
Thank you for your answer.
Is there a way, using the permissions and not the read only mode, to enable adding comments, but to disable the functionality to add new annotations?