Skip to main content
Participant
Jul 18, 2024 6:57 AM UTC
Question

Only show current users annotations

I would like to share a PDF that allows for annotation. However, I only want the current user to see their own annotations, and no others. Is this possible? I'm assuming this needs be done via PDF Embed API?

This topic is closed to new replies. Start a new post to keep the conversation going.

8 replies

Joel Geraci
Community Expert
Community Expert
Jul 18, 2024 3:27 PM UTC

Do you also want someone else to be able to see all of the annotations from all users?

Translate
Participant
Jul 19, 2024 2:08 AM UTC

Ideally no one should be able to see all annotations.

Translate
Joel Geraci
Community Expert
Community Expert
Jul 19, 2024 4:22 PM UTC

Ok - So You can use the annotations API to store the annotations in localStorage. You'd write some code to read annotations from localStorage when the file opens and to save them back when there are changes. The annotations never get saved to the PDF on the server. Would that work? If so, I can write a CodePen example.

Translate
Raymond Camden
Community Manager
Community Manager
Jul 18, 2024 1:51 PM UTC

I'd take a look at the Annotation API: https://developer.adobe.com/document-services/docs/overview/pdf-embed-api/howtos_comments/

 

It lets you programatically show annotations. 

Translate