Highlighted

AEM Forms - Clearing Forms Cache Programatically

LingeshP

19-06-2019

Hi All,

With AEM Forms module, when an adaptive form is loaded on to a page it gets cached on the server side(as per the configuration below).

"Adaptive Form and Interactive Communication Web Channel Configuration"

And this cache is refreshed when deploying a new form content change, however when we rollback a change using packages this cache is not updated.

Is there a way to update forms cache through code?

Regards,

Lingesh P.

Replies

Highlighted

Mayank_Gandhi

Employee

26-06-2019

I don't think there is an API, you can try setting the AF cache to zero in the cache configuration for an adaptive form. Please refer below document:

Note: this is a global config

Adobe Experience Manager Help | Configure adaptive forms cache