So it’s my first attempt at creating a script.
My goal is to a) duplicate a set of filtered views, b) rename the views as created by changing block name from 1A to 1B, c) when a & b are successful, I wanted to assign view template and scope box.
The image shows my attempt at a & b, but falling at the last hurdle. I can mange to filter the views, replace the string to 1B but the clockwork View.Duplicate seems to the be the failing point.
Can anyone please advise ?