Changes

Jump to: navigation, search

Passing Values Using Parameters

206 bytes added, 16:16, 8 October 2009
Sending Page
==Sending Page==
Values can be sent from the initial (sending) page by creating a link to the destination page that includes parameter linking the variables to be passed.
'''PortalSyntax:''':<font size="3">'''/urltopage?parameter1=@variable1@&parameter2=@variable2@'''</font>  '''Where:'''* ''urltopage'' is the relative [[URL]] to the destination page.* ''variable1'', ''variable2'' etc. are the variable names (eg. @firtsname@).* ''parameter1'', ''parameter2''corresponding names for the variables  ===Portal===
* Create a [[Portal]] shortcut and associate the link with that shortcut.
/urltopage?parameter1=@variable1@&parameter2=@variable2@
</pre>
 
 
User and Company variables can be used to pass the current logged in user details and their company details.
'''===Application'''===
* Create a [[Custom Field]] of the type [[Custom Field Type: Read Only – System Variables|Read Only - System Variables]] with one of the following.
<a href="/urltopage?parameter1=@variable1@&parameter2=@variable2@">Click Here</a>
</pre>
 
Replace "variable1" with the actual variable name and "parameter1" with a corresponding name (eg. firstname=@firtsname@).
 
 
==Receiving Page==
0
edits

Navigation menu