What are Expressions?

How Can We Help?

< Back

Answer

Expressions are a very simple mechanism that can be used to great effect on the UI for end users as an example:

  • There is an object group and one of the columns contains a value of Yes/No, it can be true/false or whatever you are configuring.

Create a new control and setup the expression on it as follows:

  • The QR1081HidStatus is a hidden control online level which contains the value of Yes/No.
  • If it is not Yes, then output a red square otherwise a green square. (File attached below)
  • And the resulting UI:

Power_of_expressions

Sample Expression is as follows:

Iif([QR1081HidStatus]  != 'Yes', '<span style=''background-color:red;'' >',  '<span style=''background-color:green;'' >') + '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>'

 

Comments are closed.

This is the legacy version of the XMPro Documentation site. For the latest XMPro documentation, please visit documentation.xmpro.com

X