Skip to main content
Participant
December 30, 2020
Answered

What is the best way to refresh the extension panel after the remote HTML page was updated ?

  • December 30, 2020
  • 1 reply
  • 735 views

The Premiere Panel extension I built is hosting a HTML page in an iframe.
This page is located on my server and every once in a while I'm updating the HTML page with new features or bug fixes.
I want to request the users to refresh the panel when there is an updated version in my cloud, to avoid the schnario of old page related errors for users that are not closing and reopening the PPro for a long time.

One way to solve it can be using long polling to my server with the current HTML version but I wonder if there is a better solution.
 

This topic has been closed for replies.
Correct answer Bruce Bullis

Perhaps your panel could check for new HTML once every N minutes; when an update is available, turn the panel background red (or something), and offer an "update" button as appropriate...

1 reply

Bruce Bullis
Legend
December 30, 2020

You say 'every once in a while'; is it not enough, to refresh the panel's contents each time the panel is opened? 

Elad5EAFAuthor
Participant
December 30, 2020

Thank you Bruce Bullis for reply.

The way it's work is like that, I'm updateing the HTML file once a week approx.  Some of the clients that are working with the PPro leave it open all the time so I don't get a chance to update the content, I need a way to notify them that they are runnig an old version of the panel and that they need a refresh.

Bruce Bullis
Bruce BullisCorrect answer
Legend
December 30, 2020

Perhaps your panel could check for new HTML once every N minutes; when an update is available, turn the panel background red (or something), and offer an "update" button as appropriate...