Variables are an Axure RP feature that people are often afraid of approaching, as it sits at the more complicated end of the feature list. Don't panic! I've got some tips to help you get to grips with them and get your Axure prototypes to the next level.
Learning how to use variables can be extremely useful, and I personally think are simpler to get your head around than adding conditions to actions.
Learning how to use variables can be extremely useful.
There are two different types of variable in Axure 7 – Local and Global.
For most prototypes, I find global variables more useful; being able to change the content on the next page dynamically depending on user choices is really handy. For more complex use of variables, in an e-commerce purchasing process for example, you may have to use a combination of Local and Global to achieve the functionality you're looking for.
Regardless of which you use, there are 3 basic stages to setting up variables in Axure: Save, Store and Show. If you have a go at setting up variables and they're not working, I guarantee there will be something wrong with one of these stages.
My top tip: Make sure you name everything (within reason). This is my general rule of thumb and my first piece of advice to everyone on our training courses. Naming things – using easy or sensible words! – makes your life much easier in Axure when you start playing with interactions, conditions and variables in particular. It's very difficult to work with 100 widgets all called 'Shape'...
If you are more interested in how to put these principles into practice, please take a look at our Prototyping with Axure and Advanced Axure training courses, where we cover variables in much more detail, alongside the rest of the Axure RP functionality.
Our Axure training courses are hosted in our London Bridge offices, or if you're interested on behalf of your team, we have private Axure training courses available – where we come to you. If you're interested in either, please get in touch!