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

Delete multiple content templates (fragments) at once

JH-W
Level 1
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
SatheeskannaK
Correct answer by
Community Advisor
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!

View solution in original post

2 Replies
SatheeskannaK
Correct answer by
Community Advisor
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!

View solution in original post

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