Documentation

Parameters: Accessing the application parameters

The application parameters can be accessed starting from the application detail window, where there is a second folder named “application parameters”:

appPars

The parameters set through this folder are then available both on the client and server side:

  1. within a client side JS action  these parameters are accessed since they are global variables, so they can be referred by simply using their name, e.g.  MANSIONE_PL_HOLDER
  2. within a server side JS action they can be accessed using an ad hoc function: utils.getParameter(‘MANSIONE_PL_HOLDER’)
  3. within a SQL business component they can be referred using the :XXX format, as for :MANSIONE_PL_HOLDER, Note that these parameters are managed always as String values and consequently the value is surrounded by the ” symbols.