Variables
Variables are a key concept in AEM, allowing Swedbank and the Savings Banks to share centralised content while enabling local customisation of names, phone numbers and URLs.
Instead of duplicating content for each bank, Swedbank uses variables as placeholders for details that differ. Each savings bank then provides its own local value, ensuring the correct information is displayed without breaking inheritance. This approach improves both content efficiency and consistency across all banks.
New and improved Variable list
2026-09-16
Variable list will work the same way as before, but with filter options.
Now you can:
- Filter out Type: Link and Text
- Filter out Area by tag
- Add a description text
- Show and hide filters
- See if variable is in use etc.
You should never delete a variable in the list, set it as disable instead
Types of variables
Text variables
Used for bank names, phone numbers and other textual content that varies between banks. For example, instead of writing “Swedbank” directly, a variable like BankName is inserted. Savings banks then provide their own local value, such as “Sparbanken Sjuhärad”.
Link variables
Link variables are mainly used for bank-specific links, for example links to the internet bank (URLs with bank ID:s, ?bankid=8xxx.) and links to download pages for apps.
Swedbank editors
- Creates variables key and values
- Can modified existing value but not edit the variable key after it has been created
- Place new variables at the end of the variable list
- Should avoid delete a variable
Savings banks editors
- Savings banks manage their own local values for each variable key. This allows their bank-specific information to be shown wherever a variable is used.
How filter works in Variable list
For you that edit a variable value
Select Edit mode and then select filters.
For you that wants to copy the key variable to a page
Select Preview mode and then select filters.
Note: if you switch between edit and preview then it will not work, you need to refresh the page
Variable list with filters
You can filter by ...
- hide and show filters
- type: All, Link or Text
- area: showing the tags - the tags are not set yet
- is variable disabled: All, Yes or No - used for showing if we have a variable that is no longer in use, if disable it will not work on the site
The filter header is always sticky in the variable list.
Variable example of Area tags
The Area tags is not set - it's work in progress
Edit existing Text or Link variable
- Key : Do not change
- Value: Fill in the new value
- Tags: Browse or start typing to add a suitable tag for the variable
- Description: Add a description text that describes the variable
- Enabled: If checked - it's in use and works in the site. When not checked, the variable is no longer used, use that function when you no longer use the variable
- Select Done and publish the variable list.
If you select a filter and the page is not showing any variables, please scroll up and you will see them.
As a Savings bank you will get updates from Swedbank and what is new is that you can see if we use the variable or not. Since we will not delete variables.
So under "In Master" you will see if the variable is in use, you can then filter that by using the filter "Is variable on .se:"
Filter by:
- Type: All, Link and Text
- Area: All, and tags that we set (work in progress)
- Is variable disabled - All, No, Yes - means if the variable is in use or not. Use this if you no longer use the variable on your site. Note: don't delete a variable
- Is variable on .se: - All, No, Yes - means if the variable is in use in the master (in swedbank variable list)
Text variables
Text variables are used on many pages on swedbank.se. Text variables (bank name, phone numbers, etc.) are added manually by Swedbank editors. A complete list of the currently available text variables can be found in Swedbank's variable list.
Savings banks manage their own local values for each variable key. This allows their bank-specific information to be shown wherever a variable is used. For example, "Sparbanken Sjuhärad" instead of "Swedbank."
To update a variable value:
- Navigate to the Variables folder under data-source.
- Click on Edit to access the variable list.
- Locate the variable you want to configure.
- Break inheritance.
- Click Configure.
- Enter the local value (e.g. your bank name, number or link).
- Save and publish the page.
Tip: Use Ctrl + F in the variable list to search for a specific variable name quickly.
Wherever Swedbank editors have inserted the BankName variable, your local bank name, e.g. "Sparbanken Sjuhärad", will be displayed instead of "Swedbank".
Link variables
Creating a link variable
- Go to the variable list on swedbank.se. You’ll find it under Data source > Variables.
- Select the variable list and click Edit.
- Scroll to the bottom of the list, click "Drag component here", then click the "+" icon (Insert component) in the toolbar.
- Select Link as the component type.
- Open the configuration settings.
- In the Key field: Enter the URL without the BankID. Example: https://online.swedbank.se/app/ib/foretag/foretagskollen
- In the Value field: paste the same URL and add the BankID at the end. Example: https://online.swedbank.se/app/ib/foretag/foretagskollen?bankid=08999
- Add a tag that suits the variable
- Add a description text
- Select Done and publish the variable list.
- Go to the variable list on the local site.
- Find the variable by searching for the URL using Ctrl + F.
- Click on the variable, then click the link icon to Cancel Inheritance.
- Paste the URL into the Value field and append the BankID (e.g., ?bankid=08xxx) at the end.
- Select Done and publish the variable list.
Phone number variables
Phone number variables have two components: one for the display text and one for the link.
Therefore, Savings Banks need to provide local values for both fields to ensure the phone number works correctly.
Text variable
Link variable
Known problem
We know that someone, not all see the Area tags with the url name for the tags and variables infront.
IT is aware and is working on it.
I don't see Swedbank variable!
If a savings bank is unable to retrieve a variable or if it seems to be missing, it may be a ghost variable.
Do this to re-enable the ghost:
- Go to content tree (open toggle panel), select correct ghost
- Click on re-enable inheritance
- Go to properties and click on synchronize or rollout from Swedbank
- Done! Now you should see the variable in the list
If that don't work, then report it via Snap incident.