How can we publish huge number of assets to Brand Portal via backend code?
Is there any workflow OOTB step for the same?
Solved! Go to Solution.
Views
Replies
Total Likes
How are you distinguishing those 100 assets which you do not want to publish? You can use that property/metadata in JCR:SQL2 query and filter out the assets you want to publish.
ex: java - How to get Expiry Assets from DAM in AEM 6.3? - Stack Overflow
@shikhasoni1 You should start asset publish at folder level such as if your DAM Assets root folder is /content/dam/demo, publish the demo folder accordingly all the assets in demo folder and its sub-folders will get published to brand portal.
Ref:
Publish assets to Brand Portal | Adobe Experience Manager
Migrate assets in bulk | Adobe Experience Manager
ya that is fine but how through code we can achieve it? suppose i have one folder having 1000 assets, i want to publish some 900 of it only. selecting exact asset manually will be hectic.
How are you distinguishing those 100 assets which you do not want to publish? You can use that property/metadata in JCR:SQL2 query and filter out the assets you want to publish.
ex: java - How to get Expiry Assets from DAM in AEM 6.3? - Stack Overflow
We can write custom service logic for replication of the assets by passing all the assets paths for this service
Use replicator API provided and replicate the asset.
Please find the below example for replicating programatically.
https://aem.redquark.org/2018/10/day-19-replication-api-in-action.html
Hope this is useful
I am asking for AEM Brand Portal actually not for publisher instance.
Views
Likes
Replies
Views
Likes
Replies