When creating a page template, I want to add some variables that the user enters when creating the page.
Then, within the same page, I want to be able to insert the value previously specified by the user for a particular variable. However, when attempting to do this in Confluence, it creates 2 separate variables with text boxes for each.
For example, I want to specify a version number for a release note, so I create the variable $AppVersion.
Release Note for Application v$AppVersion.
Then later on in the same page I want to include some text like this:
Run the installer with the filename ApplicationInstaller_v$AppVersion.msi
However, when I attempt to do this, Confluence seems to create a new variable with the name $$AppVersion, and inserts another textbox. I don't want this, I want the value the user previously entered.
which browser did you use? When you're adding the Application Installer variable thing you should be able to choose from existing variable as you've already created it.
If you're using Chrome - there is a known issue CONFSERVER-35911 which should already been fixed(according which version you use).
I made similar experiences you mentioned in Chrome. So maybe using another browser may help. Also have a look if the variable can be chosen after you created it for the first time.
I am using Chrome, however I've also tried this using Internet Explorer and it has the same behaviour. I'm using v6.6 of Confluence.
If I create a variable "VersionNumber", when it gets added to the list of variables it appears as $VersionNumber. If I think want to insert this variable, Confluence creates a new variable with the name $$VersionNumber.
See the following screenshots:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For some reason, I cannot post any more images showing the $$Version status
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've done some more testing, and it seems that variables only work correctly when using Firefox browser. They do not work in either Internet Explorer or Chrome browsers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Should have mentioned that I used Firefox to create the templates. IE is a f***ing nightmare and with Chrome I also had this problem. Sorry for not responding earlier.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.