Product: Web viewer
Product Version: 10.12.0
Please give a brief summary of your issue: I want to disable adding new comments from annotation or anything.
(Think of this as an email subject)
Please describe your issue and provide steps to reproduce it:
(The more descriptive your answer, the faster we are able to help you)
Please provide a link to a minimal sample where the issue is reproducible:
1 Like
kkim
2
Hi there,
You can set the conditions for disabling replies via the disableReplyForAnnotations API:
https://sdk.apryse.com/api/web/UI.html#.disableReplyForAnnotations__anchor
Best regards,
Kevin
1 Like
I want to disable adding new comments base on permission for all annotation. I there any way.
1 Like
kkim
4
Hi there,
You can set the API for all annotations like this:
instance.UI.disableReplyForAnnotations((annotation) => {
return true
});
best regards,
Kevin
1 Like