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
BedrockMission!

Learn More

View all

Sign in to view all badges

AEM Forms - Clearing Forms Cache Programatically

Avatar

Avatar
Ignite 1
Level 1
LingeshP
Level 1

Likes

2 likes

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Ignite 1
Validate 1
Boost 1
View profile

Avatar
Ignite 1
Level 1
LingeshP
Level 1

Likes

2 likes

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Ignite 1
Validate 1
Boost 1
View profile
LingeshP
Level 1

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

Avatar

Avatar
Validate 1
Level 10
Mayank_Gandhi
Level 10

Likes

284 likes

Total Posts

1,105 posts

Correct Reply

182 solutions
Top badges earned
Validate 1
Contributor 2
Ignite 5
Ignite 3
Ignite 10
View profile

Avatar
Validate 1
Level 10
Mayank_Gandhi
Level 10

Likes

284 likes

Total Posts

1,105 posts

Correct Reply

182 solutions
Top badges earned
Validate 1
Contributor 2
Ignite 5
Ignite 3
Ignite 10
View profile
Mayank_Gandhi
Level 10

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