Expand my Community achievements bar.

SOLVED

Delete multiple content templates (fragments) at once

Avatar

Level 1

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!

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

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

Avatar

Level 1
Thanks! That is exactly what I was looking for and will save tons of time.