Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

What are the ways to bulk insert some piece of text into pages (1000+)? (we're not using editable templates)

Avatar

Level 8

as above.

 

I believe we're using static templates which is the solution before 6.2?

I was thinking of editing the static template directly and using JS to show/hide this piece of text. This piece of text does not appear in all pages.

 

Thanks

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@jayv25585659  If you want to display some content across all the pages which are using the same template then, you add it as part of it's templates .html file. It should reflect on all the pages.

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

@jayv25585659  If you want to display some content across all the pages which are using the same template then, you add it as part of it's templates .html file. It should reflect on all the pages.

Avatar

Community Advisor

@jayv25585659 I am not sure what exactly you want to add and how your content is structured , but still if you ask me what I would do in such a scenario is to write some script ( a one time ) an insert the content to the required pages. But it depends totally on where you want to insert the content and how your content is structured. How will you identify this 1000+ pages ? do you have any tag attached to them ? 

Avatar

Level 8

1. The content that will be changed are inside a path so it's easy to identify them that way.

2. I thought of either using a deploy script or a workflow (after I saw your suggestion)