Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

clear cep extension cache in indesign

Contributor ,
Dec 31, 2018 Dec 31, 2018

Hi all,

how to prevent storing cache of cep extension in indesign.. or how to remove extension's cache using code..

pls help

3.7K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Jan 05, 2019 Jan 05, 2019

Did you try

<Parameter>--disable-application-cache</Parameter>

within your <CEFCommandLine> section?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Jan 07, 2019 Jan 07, 2019

yes but did not worked..

by pbm is extension name did not changed in indesign after update..

Untitled.png

after update, the extension name must changed to next version

ex: UpdateUI to UpdateUI(1.1)

during update function, i have replaced old manifest.xml with new one.. i have changed extension name in new manifest.xml

but extension name does not changed in cep panel and also in extensions menuitem..

i have reopened the indesign application.. but did not worked

is there any cache folder within the indesign application?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Jan 07, 2019 Jan 07, 2019

Any changes you make to the manifest will not apply until restart.

There is a cache that can effect panels.

C:\Users\YOU_USER_NAME\AppData\Local\Adobe\InDesign\Version YOUR_VERSION_NUMBER\YOUR_LANGUAGE\Caches\InDesign SavedData

You can delete it if you want to reset it.

You should be able to set the title dynamically using csInterface.setWindowTitle('fred');  or window.__adobe_cep__.invokeSync("setWindowTitle", 'fred'); but it's not working on InDesign (BUG) at least on Windows.

It did work in InDesign 2015 CEP 6.0.1 but by InDesign 2017 CEP 7 it broke. Oh well!

If the issue is really important you can either write the panel on an app were it works like Illustrator or file a bug report and hope it's fixed before CEP is chucked. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Jan 08, 2019 Jan 08, 2019

Checked on Mac, it doesn't work on InDesign there either

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Jan 10, 2019 Jan 10, 2019

ok, thanks for your response

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Jan 10, 2019 Jan 10, 2019
LATEST

If you change your extension id in the manifest it should work without needing to delete the cache file BUT it won't work without the app restart.

It is an InDesign specific bug.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Jan 09, 2019 Jan 09, 2019

Hi,

I have restart my system after update, the extension name remains unchanged..

but i have deleted "InDesign SavedData" folder by manually and restart indesign its works fine..

but i could not delete that folder when the indesign is in open.. and there is no event like "afterQuitAppliction"

and yes i have tried csInterface.setWindowTitle('fred') but it did not worked

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines