Do you have an issue with a specific file(s)? No
Can you reproduce using one of our samples or online demos? Nil
Are you using the WebViewer server? Yes
Does the issue only happen on certain browsers? No
Is your issue related to a front-end framework? Yes
Is your issue related to annotations? No
Please give a brief summary of your issue:
(Think of this as an email subject) Customize the AddMark on redaction search panel
Please describe your issue and provide steps to reproduce it:
(The more descriptive your answer, the faster we are able to help you)
when using redaction search panel after getting search result , i have created a custom button for Add mark on outside on webviewer , i need to invoke the function of Add mark on click that button , is there any function available to achieve this
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 customize the Add Mark functionality on the redaction search panel in WebViewer, and to invoke it via a custom button outside the viewer, you’ll need to interact with the WebViewer’s API to handle redaction marks and integrate custom UI components.
Some things you can try:
Use the instance.Core API to access and manipulate redaction annotations programmatically.
Create a custom button in your UI and bind it to a function that interacts with WebViewer’s API to add redaction marks.
Use the addSearchListener to handle search results and apply redactions based on those results.
Ensure your custom button triggers the appropriate API calls to add redaction annotations at the desired locations.
This can be manually done by searching the document for the input text. Please see our redaction documentation for more information on programatically invoking the functions here: Search and Redact | Apryse documentation