Context

In Vienna Advantage Context variables are like ‘global’ variables OR ‘for a specific window’ OR ‘tab’. You can see all context variables in context tab of Preference Window.  

 

Context is a key/value pair dictionary that holds information about the login user, default values and information about current record on which user is working. Context is very useful during the development because information in context can be fetched and new context keys can be created easily. When new user login, new context object is created by the system and this context object stays in session. After user logout, context object is destroyed. That means no two users will have same context. 

 

In this document, we are going to discuss about types of context, meaning of context keys and how to use these keys to get and set information in context.