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

Change behaviour of Get Latest Version button when new document version available

New Here ,
May 01, 2024 May 01, 2024

Copy link to clipboard

Copied

When detecting that the currently opened file has changes using the STATUS_API and returing the `AdobeDC.View.Enum.ApiResponseCode.FILE_MODIFIED` response, the user is presented with a popup asking if they'd like to "Get Latest Version", in my current test environment the button reloads the current page, as if `window.reload()` has been called.

In cases where the document has been loaded using the File Location eg: `
content: { location: url: '...'}}` object, is it possible to make that button re-request the file defined in the config, rather than reloading the window?  

TOPICS
PDF Embed API

Views

42

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
no replies

Have something to add?

Join the conversation
Resources