Skip navigation
Currently Being Moderated

Illustrator CC Extension Preferences aren't being saved

Jul 1, 2013 2:29 PM

Tags: #illustrator #creative_cloud #extension_development #csxs_extensions

I am trying to save preferences in the onClose function of my extension using the following code:

 

CSXSInterface.instance.storePreference("shapeStrokeSize", model.shapeStrokeSize.toString());

 

But the values I save do no persist and I can't find the prefs file. I am checking in:

/Users/mitya/Library/Application Support/Adobe/CEPServiceManager4/preference

 

What am I doing wrong?

 

Thanks in advance.

 

PS. The crazy thing is if I run this same extension in CS6 everything works fine.

 
Replies
  • Currently Being Moderated
    Jul 2, 2013 1:35 AM   in reply to mityaf

    Hi,

     

    Preferences are no longer supported in CC products and are marked as deprecated in the CSXSLibrary. Some alternatives are:

    - Encrypted Local Store in AIR (for non 64 based systems)

    - Database

    - Local encrypted file

     

    I hope this helps,

    Lea

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points