Skip to main content
Participant
May 1, 2024
Question

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

  • May 1, 2024
  • 0 replies
  • 208 views

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?  

This topic has been closed for replies.