Skip to content

Server side variables

Server Side Variables

In text node many server side variables are available.

In Processing order:

System variables

  • [[kv.v. .....]] all variables in kv.v. scope
  • [[kv.v.owner.name]] Owner Name, also in footer
  • [[kv.v.owner.contact]] Owner contact, also in footer
  • [[kv.v.owner.footer]] Footer additional text
  • [[kv.v.owner.language]] Default language
  • [[kv.v.user.username]] username
  • [[kv.v.user.userid]] user id
  • [[kv.v.user.currency]] currency
  • [[kv.v.user.teamid]] teamid
  • [[kv.v.user.app_name]] user current applicaiton name
  • [[kv.v.api.version]] version
  • [[app_name]]
  • [[apimethod]] - GET/POST
  • [[apipath]] - example {{host}}/api/srs/xtet?param=param
  • [[userpermission]] csv list
  • [[basepath]] - example http://test.com
  • [[srs_name]] - srs_name
  • [[session_id]] - Sql Server UUID, database friendly

User Variables defined in the command "srssetup"

Example:

XML
<itm model="command"  name="srssetup"  opts="server">select getdate() currentdate</itm>
  • [[currentdate]] current date