Placeholder text in content blocks updated by attribute?

I’ve got a requirement to create multiple pages from a csv file. Each page will be populated by the content of a Page Type with defaults including multiple Content blocks.

We’ll be able to make something that uploads a csv file, creates the pages and attributes for each column it’s the last bit I’m missing.

Is anyone aware of an AddOn that will allow placeholder text in Content blocks populated by attribute values?

You can just make a block that pulls the page attribute in. Blocks can pull data from page attributes just make sure you do a check first to see if the data exists.

The text blocks are going to need to be editable by the client afterwards so I’m thinking maybe I’ll do a find and replace as part of the import routine or even in the Content block view file.

@mesuva might be able to help code something

There used to be an addon that did something like this.

If its a one off, maybe a route is to convert the csv to concrete xml and import.