Do you have an issue with a specific file(s)? NO
Can you reproduce using one of our samples or online demos?NO
Are you using the WebViewer server?NO
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?NO
Please give a brief summary of your issue: I want to show user changes done on the annotation.
Please describe your issue and provide steps to reproduce it: I want to show user changes done on the annotation. For that I have created history table in which I save the annotation changes using annotId. Show in webviewer, I want to show that changes when user click on any annotation. Do we have any pre-defined function.
Please provide a link to a minimal sample where the issue is reproducible:
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.
To track annotation changes in WebViewer, you can use event listeners to capture changes made to annotations. You can then store these changes in your history table using the annotation ID. When a user clicks on an annotation, you can retrieve and display the stored changes. While there isn’t a predefined function specifically for this, you can achieve it by using the available APIs and events.
Some things you can try:
Use event listeners such as annotationChanged to detect when an annotation is modified.
Store the annotation ID and the change details in your history table whenever an annotation is changed.
On annotation click, retrieve the stored changes from your history table and display them to the user.
Utilize the getAnnotationManager to manage and access annotation data.
To store annotation changes, you can use the event listener annotationChanged that returns actions made on the annotation: Apryse WebViewer Class: AnnotationManager