List locations of all Blocks within Content section

I want to find all my “Keyfigure” blocks in the content section and replace them with another block. Is there a way I can find them easily in the DatoCMS UI or do I need to do this via code with @datocms/cma-client-node or sth like that?

thanks in advance,

Hi Céline,

Sorry, the UI doesn’t support fancy find & replace like that and I’m afraid you do have to use the CMA to loop through the records and update the blocks. Maybe something like:

Does that help?