There are several parameters that users can build into reports that Lucity will recognize and perform a special function for.
Hiding Secured Fields
Some fields in the Work program are considered "secured fields," meaning that only users with "View Secured Fields" permission in Security can view the data in those fields. Users who do not have the "View Secured Fields" permission will only see asterisks (*) in the secured field.
To make secured fields "hidden" in a reports, add a Number parameter with the name "ViewSecureFields." Lucity will then pass a 1(true) or 0 (false) to the parameter. Use this parameter to mask or suppress secured fields. Then only users with "View Secured Fields" permission will be able to view that field data in the reports.
To do this, add the following format formula to the suppress option in the secured field:
{?ViewSecuredFields} = 0
Passing Employee ID's or Codes to a report
Sometimes agencies want the report to know which employee is running it. They can use the following parameters to pass information to the report about the user currently logged into Lucity.
LOGGEDINUSERID - provides the user ID the employee uses to login to Lucity.
LOGGEDINEMPCODE - Provides the employee code found in the Work > Work Flow Setup > Employee
module.
Note: This only works if the users login id is entered into the Login ID field on their employee record.
See Also |