Skip to main content
Inspiring
November 25, 2023
Question

open CEP panel with data

  • November 25, 2023
  • 0 replies
  • 190 views

I am looking to open a CEP panel from extendscript code and have some fields already populated.

I assume that the panel can not reopen itself when it receives an event (and is running persistent)

So I came up with this pingpong idea:

extendscript sends event - including the initial data

An invisible panel (I already have one) gets the event, stores the data and requests the other panel to open

When the panel opens (window.onload or visibility change) it sends an event to ask for the saved data.

The panel also listens to the event from extendscript, and so can setup itself in case it is already open.

Could there be a more straightforward way to achieve this?

 

This topic has been closed for replies.