Highlighted

Different user commenting same pdf on PDF embed viewer

New Here ,
Aug 07, 2020

Copy link to clipboard

Copied

I have problem when testing pdf editing collaboration on my local web containing pdf embed viewer, i've set some users but when opening the web from different browser and login as different user then saving some comments with FILE_MODIFIED scenario. this error show up

testuser5_0-1596785396740.png

i've already set the user profile from get_user_profile_api but the popup not showing the details of user that making changes. is there any sample code for multi user modifying collaboration?

Views

62

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Different user commenting same pdf on PDF embed viewer

New Here ,
Aug 07, 2020

Copy link to clipboard

Copied

I have problem when testing pdf editing collaboration on my local web containing pdf embed viewer, i've set some users but when opening the web from different browser and login as different user then saving some comments with FILE_MODIFIED scenario. this error show up

testuser5_0-1596785396740.png

i've already set the user profile from get_user_profile_api but the popup not showing the details of user that making changes. is there any sample code for multi user modifying collaboration?

Views

63

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Adobe Employee ,
Aug 10, 2020

Copy link to clipboard

Copied

Hi, 
Thanks for using PDF Embed API. It looks like you are not providing correct data in modifiedBy field. The dialog you got usually comes when the email id of user profile (from get_user_profile_api) and the one provided in modifiedBy are the same.

 

/* Status callback file modified case */
       return new Promise((resolve, reject) => {
            resolve({
               code: AdobeDC.View.Enum.ApiResponseCode.FILE_MODIFIED,
               data: {
                  modifiedBy: {
                     name: <Username of the user who modified the file>,
                     mail: <Email of the user who modified the file>,
                  }
               }
            });
         });

 

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Resources