What's the best way to create and read an application variable in Xpert.ivy?

I would like to create an application variable to store general information and all request can read that application variable.

asked 10.03.2014 at 05:11

toantp's gravatar image

accept rate: 0%

edited 10.03.2014 at 09:08

Reto%20Weiss's gravatar image

Reto Weiss ♦♦

To store configuration information you can use global variables.

A global variable is created in the Configuration Dialog Editor (Project tree: Definition > Configuration). Select Global Variables in the Configurations tree and use the context menu Add Configuration to add a new global variable (e.g. myFileDirectory). In ivyScript you can access the value of the global variable by using:


On the server you can change the value of a global variable in the Admin UI.

Global variables also support environments. This means, it is possible to configure different values for a global variable one for each environment.


answered 10.03.2014 at 09:05

Reto%20Weiss's gravatar image

Reto Weiss ♦♦
accept rate: 74%

edited 10.03.2014 at 09:07

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 10.03.2014 at 05:11

Seen: 1,081 times

Last updated: 10.03.2014 at 09:08

Related questions