Frequently Asked Questions

Q1. Why doesn't the value of my variable display with the mgiGet tag?

A1. The wrong scope is specified in the mgiGet tag. Variables can be set as a page scope or site scope. By default the mgiGet tag requests a page variable. Therefore, if the variable was set as a site variable, the scope parameter of mgiGet is required.
 
A2. The mgiGet tag is requesting a value that has not been set. MGI generally processes pages from top to bottom. For page variables, if an mgiGet tag appears before the mgiSet tag that saves the variable, then the variable will not display.


[Return to the Using Variables Menu]


[User Guide Main Menu] [Understanding MGI Menu] [Using MGI Menu] [Referencing MGI Menu]