Edge Delivery Services how-tos · updated
How to use placeholders for shared text in Edge Delivery Services
Placeholders are reusable strings, such as button labels or form messages. They are kept in a spreadsheet named placeholders (placeholders.xlsx in SharePoint) with a Key column and a Text column. For multilingual sites you keep one placeholders sheet in each locale's root folder, and code reads the text by key instead of hard-coding it.
Why use them
Hard-coded strings in block JavaScript can't be edited by authors and have to be translated in code. With placeholders, authors change 'Read more' to 'Continue reading', and translators work in each locale's sheet.
| Key | Text (en) | Text (hi locale sheet) |
|---|---|---|
| Read More | Read more | और पढ़ें |
| Search Placeholder | Search the site | साइट पर खोजें |
| Form Success | Thanks, we'll be in touch. | धन्यवाद, हम संपर्क करेंगे। |
The Key column is transformed automatically so code can access it easily (the boilerplate provides a helper that fetches the sheet and returns keys in camel case).
Testing
After editing placeholders, preview the sheet and check the .page site with stakeholders before publishing to production. Like other sheets, it is delivered as JSON.
How to do it
- Create 'placeholders' in the content root, or in each locale root for multilingual sites.
- Add Key and Text columns and your strings.
- Read placeholders in block code instead of hard-coding text.
- Preview, test on .page, then publish.
Related pages on this site
Questions
Where should the placeholders sheet go on a multilingual site?
In each locale's root folder, so each language has its own sheet.
Can authors change placeholder text without a developer?
Yes. They edit the sheet, preview and publish.
Are placeholders required?
No. aem.live notes some sites don't use them, depending on content structure.
Sources
- aem.live: Placeholders (checked 10 Nov 2026)
- aem.live: Spreadsheets and JSON (checked 10 Nov 2026)
Facts about Adobe's platform are from the linked Adobe pages, checked 10 Nov 2026. Explanations and examples are ours unless marked as Adobe's.