Page 1 of 1
Accessing staff profile info inside a HTML template
Posted: Thu Feb 02, 2017 3:15 pm
by Rob
With HTML Templates I can use, Username, User Email and User Position. Can I use other fields in Staff Profiles (COMRATE.DBF), I need to populate different branch addresses and Phone numbers per staff member.
Posted: Thu Feb 02, 2017 3:20 pm
by COBS Tech Support
You could define some variables in, say, the Log-In script (R-SECLOG.MAC) and then reference those variables in other scripts later on. In this case, inside a template.
Declare your variables GLOBAL so they are accessible from everywhere.
I.e.,
Code: Select all
DECLARE GLOBAL MyPosition Type Character