Proxy Variables for Confluence
Introduction
Use Space name, Space key and page title as variables in your pages or templates
If you're in the business of crafting templates, this app is your ultimate time-saving companion.
Imagine effortlessly inserting customer names into various sections of your documentation, eliminating the need for tedious manual entries.
Let's walk through an example: envision generating a new customer documentation space using a template that incorporates Space Name (Proxy Variable) macros in key reference points for the customer.
For instance, you create a space named "XYZ Company." Here's where the magic happens – the customer name is automatically injected into the documentation, sparing you the hassle of repetitive data entry.
But it doesn't stop there – Proxy Variables Macro extends its capabilities to include customization of Space key and page titles. Say goodbye to manual data insertion and hello to a more streamlined, productive documentation process.
Macros:
Proxy Variables for Confluence offers 3 sets of macros:
Space Name (Proxy Variables)
Offers the space name as a variable that can be used in templates.
Space Key (Proxy Variables)
Offers the space key as a variable that can be used in templates.
Page Title (Proxy Variables)
Offers the page title as a variable that can be used in templates.
You can find all 3 through the macro browser.
Space Name (Proxy Variables)
Inject the space name into pages or templates to easily reference the space name.
For example if the Space name is a Customer space, that is named after the customer, then you can use the macro to reference the customer. Or the space is called af the department then you can easily reference the department in your content.
The real value comes when you have templates and you want to easily reference the space name in the content when you use the template.
Configuration:
Split Variable:
You can split the space name by a custom splitter.
You can define a character or multiple characters to split by.
Present text before or after the split variable.
Should it be the text before or after the split variable?
Exclude Splitter Variable text from Macro
Define if you want to exclude the Split variable from the text
Example:
Space name: IT Operations Department Space.
Split variable: Department
Present text before or after the split variable: Before
Exclude Splitter Variable text from Macro: No
Result: IT Operations Department
Space Key (Proxy Variables)
Inject the space key into pages or templates to easily reference the space key.
For example the space key is a customer short key, and you have a Customer profile template where you want to reference the customer short key automatically. Then you can use the macro in the page template.
No configuration.
Space Name (Proxy Variables)
Inject the page title into pages or templates to easily reference the subject of the content..
The real value comes when you have templates and you want to easily reference the subject in the content.
Configuration:
Split Variable:
You can split the page title by a custom splitter.
You can define a character or multiple characters to split by.
Present text before or after the split variable.
Should it be the text before or after the split variable?
Exclude Splitter Variable text from Macro
Define if you want to exclude the Split variable from the text
Example:
Space name: SOP: 13.4 Changing Subdomains
Split variable: SOP:
Present text before or after the split variable: After
Exclude Splitter Variable text from Macro: Yes
Result: 13.4 Changing Subdomains