Skip to main content
Known Participant
October 14, 2021
Question

Show annotations from other users

  • October 14, 2021
  • 1 reply
  • 374 views

Hello! Just a newbie here, I'm trying to play with this sample:

https://codepen.io/practicalPDF/pen/dyGBQqJ

 

Is it possible to show annotations from other users instantly (like the sample above) but using a different browser instead of in the same page?

 

Hope the gurus notice my question. Thanks in advance!

    This topic has been closed for replies.

    1 reply

    Participant
    November 5, 2021

    I am new here, Ijust started working on the same thing! and I will try to upload the codes here when i finish.

     

    I think we need to do this:

     

    1- Create the data model based on the `Annotations Data Model` https://www.adobe.com/devnet-docs/dcsdk_io/viewSDK/howtos_comments.html#annotation-schema

    2- When we have the tables in db, we need to add the service endpoints for the incoming request from the Adobe Embed API from the UI (in our case angular)

    3- Use the sample codes provided in this forum which contains the blue print for sending the annotations to server and listen to them(it is called annotation crud api angular sample).

    4- The last part is loading the annotations from other users on the same file. I think we need to use HttpSocket to push the new annotations to whoever having the pdf open using this Adobe Embed PDF API.