Learn how to use a global variable in a login form to customize a prototype and simulate what it would be like if an admin user logged in. Discover how to set up conditional cases in the OnPageLoad event to customize a prototype based on a global variable.
- [Instructor] We can use global variables in Axure…to completely customize how a page looks or behaves…based on something else that happened…on a different page of our prototype.…Once an area where you might wanna do something like this…is if you wanna show how your prototype would look…for different users.…In this example, I've got a prototype with…a log in page and a dashboard…and I wanna be able to show…what this dashboard would look like for an admin user.…Here on the dashboard,…I have some hidden admin tools in this header here.…
They're over here in a button called Admin Tools…and in the main part of the dashboard,…I've also got some edit links…right next to all my dashboard metrics.…These are going to be hidden for normal users,…but I wanna show them for my admin.…To simulate what that would be like,…I'll set it up so that if I type the user name…Admin into the log in form,…then it will show all those links on the dashboard page.…To set this up, I'll need a global variable.…Global variables are the only things in Axure…
- Using variables in Axure
- String methods in Axure
- Truncating text strings
- Formatting dates and times
- Setting up a looping animation
- Setting up a responsive background image
- Positioning widgets in the browser
- Repeater and item properties
Skill Level Advanced
1. Widget Properties
3. Dates and Times
4. Window Properties
5. Repeater and Item Properties
6. Global Variables
Global variables2m 14s
Using plugins on Axure Share2m 49s
8. When Things Go Wrong
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.