Copy link to clipboard
Copied
Hi all,
how to prevent storing cache of cep extension in indesign.. or how to remove extension's cache using code..
pls help
Copy link to clipboard
Copied
Did you try
<Parameter>--disable-application-cache</Parameter>
within your <CEFCommandLine> section?
Copy link to clipboard
Copied
yes but did not worked..
by pbm is extension name did not changed in indesign after update..
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?
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
Checked on Mac, it doesn't work on InDesign there either
Copy link to clipboard
Copied
ok, thanks for your response
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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
Find more inspiration, events, and resources on the new Adobe Community
Explore Now