What are the ways to bulk insert some piece of text into pages (1000+)? (we're not using editable templates) | Community
Skip to main content
jayv25585659
Level 8
Aug 19, 2020 9:24 AM UTC
Solved

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

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Nikhil-Kumar
Nikhil-KumarAccepted solution
New Participant
Aug 19, 2020 12:50 PM UTC

@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.

3 replies

VeenaVikraman
New Participant
Aug 19, 2020 1:44 PM UTC

@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 ? 

Translate
jayv25585659
Level 8
Aug 21, 2020 3:24 AM UTC

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)

Translate
Nikhil-Kumar
Nikhil-KumarAccepted solution
New Participant
Aug 19, 2020 12:50 PM UTC

@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.

Translate