Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How do I create variable's in my Confluence document? i.e: One product, has many names.

Bec Honey
Contributor
June 11, 2019

We have one product, which has been sold to many clients. 

The product has a different name for each of our clients. 

We are creating one User Help guide using Confluence cloud. 

When the client opens the confluence help guide, I want them to see any references to the product with their name as opposed to a generic name. 

How would I  go about this? 

Thank you. 

1 answer

1 accepted

0 votes
Answer accepted
Bill Bailey
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 12, 2019

Cloud complicates what you can do. There are some plugins that might work, but they are for server. If you are on the server instance, you might be able to create a user macro that detects to group of a logged in user, and then replace text based on the user.

For Cloud, you only option I can see is to have separate spaces for each client, and manually replace the product name in each space.

In general, Cloud will not support sophisticated use cases, such as yours.

Bec Honey
Contributor
June 13, 2019

Thanks Bill. 

Julian Governale
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 27, 2019

Was running into a similar Scenario - was able to get around this following the the information in this URL - granted its for Server, but you can now add variables in the awful new editor view on Cloud.

https://confluence.atlassian.com/doc/create-a-template-296093779.html#CreateaTemplate-Templatevariables

 

Adding Variables into Template (created a Variable template for testing)

2019-11-27_1143.png

 

Variables added to template (Created Product and Approvers Name variables.  Copied product variable to have the same value in multiple places in the template)

 

2019-11-27_1144.png

 

 

Populated the Variable during the page creation (only Entered once into Products variable and it populated all instances of the variable)

2019-11-27_1145.png

Output on the New page

2019-11-27_1146.png

Like Bec Honey likes this
Bec Honey
Contributor
December 3, 2019

Thanks Julian! ... thats a small win for the 'new' editor I guess!? :) 

Merry Christmas to us all :) 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events