Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

AEM Forms - Clearing Forms Cache Programatically

Avatar

Level 2

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.

1 Reply

Avatar

Level 10

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