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

SOLVED

What's the impact of DELETE on Brand Portal vs. Unpublish?

GFox
Level 2
Level 2

We have a large number of published assets on the Brand Portal that need to be removed.  It's a little difficult to find in Author (not impossible, but will require some reporting/queries).  I am wondering what happens to their status in Author, if I delete the images from the Brand Portal?

 

Is this a recommend approach?  

1 Accepted Solution
diksha_mishra
Correct answer by
Community Advisor
Community Advisor

Directly deleting images from AEM/Dynamic Media/Brand Portal isn't recommended.

You need to unpublish/deactivate the assets first and then delete them from the system.

Reason: The assets if removed in published state, will still be cached for a specified TTL (~11hrs). This will bring inconsistencies to your website where the images are displayed (some images might disappear, some will still show up and no way to track and fix the behavior).

I hope this answers your question.

 

View solution in original post

4 Replies
diksha_mishra
Correct answer by
Community Advisor
Community Advisor

Directly deleting images from AEM/Dynamic Media/Brand Portal isn't recommended.

You need to unpublish/deactivate the assets first and then delete them from the system.

Reason: The assets if removed in published state, will still be cached for a specified TTL (~11hrs). This will bring inconsistencies to your website where the images are displayed (some images might disappear, some will still show up and no way to track and fix the behavior).

I hope this answers your question.

 

View solution in original post

GFox
Level 2
Level 2
Thanks, I understand the impact. Now, I have 32K images that need to be deactivated- any suggestions on how best to do this? I thought Bulk Workflow Manager (ACS AEM Commons) but not sure how to setup
FreedomMarketin
Level 4
Level 4

Hi Gary,

 

Agree with the previous answer that unpublish is better, but since you're only using the Brand Portal rather than AEM Sites, the impacts of straight deletion are less serious.  (The TTL situation I believe only applies to AEM Sites with a dispatcher and/or CDN caching layer in front of it).

 

Basically, the only impact of a straight delete on the Brand Portal is that the author instance (i.e the DAM) will still show those assets as published to the Brand Portal.  The deletion on the Brand Portal just removes the assets--it doesn't send any message back to the DAM to adjust status / metadata there.

 

Hope this helps evaluate the tradeoffs,

Beau