Hello All, I have a requirement where I would like to find the dependent assets (The default behaviour of aem where if i try to publish a page, it will ask to publish the dependent images etc) through java code and have them replicated first.
is this do-able via code?
You can use Asset API
Thanks Gaurav, This was really helpful.
Activate page and related assets in workflow
AEM Search Pages and Asset References in one result
Get all Asset reference in a page in CQ - Adobe AEM / CQ Code Examples