Skip to main content
Participant
June 6, 2019
Question

CEP panels persisted state

  • June 6, 2019
  • 1 reply
  • 452 views

I am trying to enable persisted state in the latest version of photoshop with the following code:

var csInterface = new CSInterface();
var event = new CSEvent();

event.type = "com.adobe.PhotoshopPersistent";

event.scope = "APPLICATION";

event.appId = csInterface.getApplicationID();

event.extensionId = csInterface.getExtensionID();  

csInterface.dispatchEvent(event);

either I don't know what to expect from this code or it doesn't work. I try to keep the state of an input field that gets populated from jsx, but no state whatsoever gets to be persisted. I am using VueJs and Vuex to build my app.

This topic has been closed for replies.

1 reply

Community Expert
June 6, 2019

Can you confirm that the Photoshop version you are using is in accordance to what is mentioned in the documentation at the following URL

CEP-Resources/CEP 9.0 HTML Extension Cookbook.md at master · Adobe-CEP/CEP-Resources · GitHub

-Manan

-Manan
Participant
June 6, 2019

yes. I have version 20.0.4