Background: We are trying to cleanup the DAM and there are som many assets that got migrated from elsewhere, from what i know Assets were literally dumped in the AEM DAM.Task: We are trying to cleanup the DAM by moving very old and unused assets to a archive folder.Issue: In order to do so we have u...
One of the solution is to call the internal AEM API - which creates a package ands triggers the provided workflow/etc/workflow/instances.packageWhich will create the package as well as create the workflow too which you want.<dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apach...
I have done using iText as PDF Box have more complexity but good Controls for drafting the PDF.import com.day.cq.dam.api.Asset;
import com.day.cq.dam.api.AssetManager;
import com.itextpdf.text.Document;
import com.itextpdf.text.Font;
import com.itextpdf.text.Paragraph;
import com.itextpdf.text.pdf.P...
Hi @Shashi_Mulugu ,
Thanks for the reply.
The problem here is I am not able to see the value of the expression "%{dispatcher:cache}e" as I am able to see the "Dispatcher-cache" added in the request header.
The header I have set in the publish.vhost file, so there is no need to have it in the c...
One of our use cases is to provide the hit or miss value in the response header of any request.
I am able to do that on my local setup that is on MAC M1 and every request i am receiving the hit or miss value in the response header of any request.
Below is the expression that gets the value, written...