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
August 19, 2020
Solved

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

  • August 19, 2020
  • 2 replies
  • 1039 views

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.
Best answer by Nikhil-Kumar

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

2 replies

Nikhil-Kumar
Community Advisor
Nikhil-KumarCommunity AdvisorAccepted solution
Community Advisor
August 19, 2020

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

VeenaVikraman
Community Advisor
Community Advisor
August 19, 2020

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

jayv25585659
Level 8
August 21, 2020

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)