Delete multiple content templates (fragments) at once

Avatar

Avatar

JH-W

Avatar

JH-W

JH-W

27-01-2020

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!

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

SatheeskannaK

MVP

Avatar

SatheeskannaK

MVP

SatheeskannaK
MVP

07-02-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!

Answers (0)