• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Different user commenting same pdf on PDF embed viewer

New Here ,
Aug 07, 2020 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

273

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
community guidelines
Adobe Employee ,
Aug 10, 2020 Aug 10, 2020

Copy link to clipboard

Copied

LATEST

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>,
                  }
               }
            });
         });

 

 

Votes

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
community guidelines
Resources