makhoul22
New Creator

Changing content in multiple files

Hi

We're changing the name of one of our health plans. Is there a way to do a universal search and replace for all the site pages or does it have to be done manually?

 

Thanks

0 Kudos
1 Reply
DavidGreenberg
Crownpeak Employee
Crownpeak Employee

Re: Changing content in multiple files

Unfortunately there is nothing prebuilt in the cms to make changes to multiple assets at once due to how different assets can be.

 

However a script can be written to make the change across multiple assets. Generally these scripts will use a filterlist (https://developer.crownpeak.com/Documentation/CMSAPI/Asset/Methods/GetFilterList(FilterParams).html) to generate a list of assets than traverse through them to change the values necessary. 

0 Kudos