Skip to main content
Participant
August 7, 2020
Question

on setting callback type to GET_USER_PROFILE_API when will the function trigger ?

  • August 7, 2020
  • 2 replies
  • 951 views

I am trying to set user profile using this . But when i try adding annotations it still shows as Guest.

 

https://pastebin.com/Ww8rH40M

This topic has been closed for replies.

2 replies

Joel Geraci
Community Expert
Community Expert
August 7, 2020

For other developers who might run into this question, I have a CodePen here that shows how to set up user profiles. There are two views side by side reviewing the same document. The left and right sides have two different user profiles assigned and the event callbacks make it so that the user on each side can only select their own annotations.

SaurabhWAuthor
Participant
August 7, 2020

Thanks a lot Joel 🙂

SaurabhWAuthor
Participant
August 7, 2020

NVM, I was previewing somewhere else. Maybe that's why it didn't work. Got it working after doing a previewFile