Delete multiple content templates (fragments) at once | Community
Skip to main content
January 27, 2020
Solved

Delete multiple content templates (fragments) at once

  • January 27, 2020
  • 1 reply
  • 4641 views

Hi folks,

 

in ACS, is it possible to make a workflow to delete old content templates, fragments (hundreds of them), content blocks, etc, using query and delete activity or using script? something that could be configured possibly by date range or key word and then executed? 

 

Thanks!

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 SatheeskannaK

Hi @jh-w ,

 

Yes, it's possible to delete the content templates, content blocks etc using query activity and Update data activity. For example to delete content templates do the following:

Create a workflow then on

Query activity: set the Resource to content template and using the content template attributes available defined the target (you can date ranges as well).

Update data activity: Select the operation type as "delete" and under identification tab select the "Directly using the targeting dimension" as "Content template".

This will delete the content templates for the criteria defined on query activity.

 

Thanks!

1 reply

SatheeskannaK
Community Advisor
SatheeskannaKCommunity AdvisorAccepted solution
Community Advisor
February 7, 2020

Hi @jh-w ,

 

Yes, it's possible to delete the content templates, content blocks etc using query activity and Update data activity. For example to delete content templates do the following:

Create a workflow then on

Query activity: set the Resource to content template and using the content template attributes available defined the target (you can date ranges as well).

Update data activity: Select the operation type as "delete" and under identification tab select the "Directly using the targeting dimension" as "Content template".

This will delete the content templates for the criteria defined on query activity.

 

Thanks!

Thanks, Sathees
JH-WAuthor
February 10, 2020
Thanks! That is exactly what I was looking for and will save tons of time.