Accessing staff profile info inside a HTML template
  • Rob

    Accessing staff profile info inside a HTML template

    by Rob » Thu Feb 02, 2017 3:15 pm

    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.
  • COBS Tech Support
    Posts: 678
    Joined: Fri Sep 09, 2005 8:23 am

    by COBS Tech Support » Thu Feb 02, 2017 3:20 pm

    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

Who is online

Users browsing this forum: No registered users and 1 guest