After adding a web panel it is good practice to flush caches in the application.
Link to a web panel
You can add a link in your web panel that will load another panel when pressed. The HTML<a> tag has multiple attributes. In addition to the href attribute, we can set the target attribute to specify where to open the link.
Syntax:
- To open a link in a new browser window, set
target="_blank - To open a link in your panel, set
target=<window name>
target="project.pdetails" with link text Show project info.
Pass 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 ofhttp://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>
Steps
-
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
&.
- Write the code of the target webpage so that it does something useful with the template variables.