Is there a way to show the user name for the annotations overview like you can on the web (the person who created it)?
1 Like
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 display the username of the creator of annotations in Apryse’s WebViewer, you need to ensure that this information is stored within the annotations themselves. Annotations can include metadata such as the author’s name, which can be set when the annotation is created or imported.
Some things you can try:
- Ensure that the username is included in the annotations as metadata when they are created or imported. This can be done by setting the
author
property of the annotation object. - When exporting annotations to XFDF, ensure that the author information is preserved so it can be re-imported correctly.
- Use the WebViewer API to access the annotation data and display the username in the UI. You can iterate over the annotations and extract the
author
property to display it.
Here are some resources that might help you:
- Import/export of annotations in XFDF - Learn how to save and load annotations with metadata, including author information.
- WebViewer Basics - Understand how WebViewer works and how to manipulate annotations.
- WebViewer Guides - Explore various guides for customizing the UI and handling annotations.
- InteractiveForms - Learn about handling form fields and annotations with metadata.
Hopefully, this helps you solve your problem while you wait for a human to get back to you.
1 Like
You can display annotation authors using the following API:
https://docs.apryse.com/api/ios/Classes/PTAnnotationViewControllerConfiguration.html#/c:objc(cs)PTAnnotationViewControllerConfiguration(py)displayAnnotationAuthors
You can use the following:
PTAnnotationViewController.defaultConfiguration.displayAnnotationAuthors = YES
1 Like