Passing data with template variables

You can use template variables to pass data to the destination page to tailor it to the client context. This could be information about the current contact, person, or project.

For example, instead of http://www.search.com/search?q=SuperOffice, we can use the template variable for company name - which is <name> - and type http://www.search.com/search?q=<name>

Available variables:

Here’s how it works:

  1. Append the template variables to the URL when editing the web panel properties.

    • Type the URL without padding (no extra spaces). SuperOffice handles the URL encoding.
    • Separate the parameters with an ampersand &.
  2. Write the code of the target webpage so that it does something useful with the template variables.

🛈 Tip
You can also pass template variables as hidden variables in your custom screens. And then do something like this in the suitable load or creation script:
User u;
u.load(getVariable("activeUser").toInteger());