KLINK (for templates)

Autotemplate components do not insert a KLINK, and so they must be inserted manually into a template.

Type

Tag Attribute

Explanation

Inserts a hyperlink to an Arcos page with a recordset field value appended after the "?" to the URL.

Format

<a KLINK__recordset.field..="" pagename>
...
</KLINK__recordset.field>

Example

<a KLINK__DisplayBarGroupListingsTable.groupingid=""
   pagename="querycategoriessearch" >

<img
src="KVALUE__DisplayBarGroupListingsTable.groupingimagebarurl.string="""
alt="KVALUE__DisplayBarGroupListingsTable.groupingname.=""">
</KLINK__DisplayBarGroupListingsTable.groupingid>

Hyperlinks

A normal hyperlink to an Arcos page loses the State, since the State is passed around by form submissions. However we can use KLINK in a different way to work around this:

Type

Tag Attribute

Explanation

Inserts a hyperlink to an Architecture page with the encrypted state string appended after the "?" to the URL.

Format

KLINK__name..="" pagename

Example

<a KLINK__Link..="" pagename="AddSupplier"><
img src="images/admin_btn_addnew.gif" border="0"></a>

Note: the System_URLLink component must also be present in the XML page definition, for example:

<Component Type="SYS_System_URLLink" Name="Link" />