Level 1
Level 2
Sign in to Community
Learn more
Sign in to view all badges
Expand my Community achievements bar.
I am trying to invalidate dispatcher cache from author via SCD request as mentioned in this URL.
https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/conten...
When I try this code. I am unable to find enum
DistributionRequestType.INVALIDATE
I tried going over the Javadoc of the same but could not find any similar reference. Does anyone know of any alternative or any other method of clearing dispatcher cache from author
Javadoc - https://developer.adobe.com/experience-manager/reference-materials/6-5/javadoc/org/apache/sling/dist...
Solved! Go to Solution.
Hello @omkar20xx1
I am readily able to use it with AEMaaCS SDK (Nov-23 release)
import org.apache.sling.distribution.DistributionRequestType;
String.valueOf(DistributionRequestType.INVALIDATE);
View solution in original post
Yes, I can see it now. I was using a different SDK version. Which caused the issue. Once i updated it. It was fine.
Views
Likes
Replies