What's the impact of DELETE on Brand Portal vs. Unpublish? | Community
Skip to main content
Level 2
July 1, 2020
Solved

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

  • July 1, 2020
  • 2 replies
  • 2629 views

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?  

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by diksha_mishra

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.

 

2 replies

diksha_mishra
Community Advisor
diksha_mishraCommunity AdvisorAccepted solution
Community Advisor
July 2, 2020

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.

 

G_369Author
Level 2
July 2, 2020
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
July 17, 2020

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