You are using an unsupported browser. Please update your browser to the latest version on or before July 31, 2020.
close
Home > Access It! Universal.NET > Utilizing Print When The Following Expression Is True
Utilizing Print When The Following Expression Is True
print icon

Overview

There are times when a BadgeType field should only be rendered for printing when the criteria is present or true. The Print when the following expression is true: attribute within a BadgeType object makes it easy to conditionally do so. BadgeType objects include Images, Shapes, Static Text, Badge Data, Common Expressions or any object placed on the badge data object frame.

Example

For instance an image of a vehicle needs to be displayed in the upper right hand corner of the ID badge for cardholders who have access to the West Parking Lot. By using this technique, one BadgeType can be used rather than creating separate BadgeType for all of the different conditions.

The Print when the following expression is true function must be updated within the Static Image Properties as follows:

  • [West Parking Lot Access] = "Yes"

In the above example, if the West Parking Lot Access data field for the Cardholder is set to No, the vehicle would not appear on the printed ID badge. Conversely, if the West Parking Lot Access data field for the Cardholder is set to Yes, the vehicle would appear on the printed ID badge.


scroll to top icon