LassoScript Utility
Basics Browse Detail

[Link] ... [/Link]

Tag Link [Link] ... Category Link
Type Container Source Available Yes
Support Preferred Version 7.0
Change Unchanged Data Source Any
Output Type String Security None
Implementation LDML Sets Lasso 8.5, Lasso 8.0, Lasso 7.0


[Link] ... [/Link] generates a pair of anchor tags with a URL based on an
array of parameters. This tag processes an array of parameters
removing duplicates and ordering them according to the same rules as
the other link tags.

the -Response parameter is used to define the base of the URL. If
no -Response is specified then the value for [Response_FilePath] is

Parameters such as command tags or name/value pairs can be added to
the tag using the [Link_SetFormat] tag or by specifying them within
the tag itself. Array parameters are inserted as if all the elements
of the array were placed at the location of the array (similar to
how they are interpreted in inline tags).

Parameters can be eliminated from the generated link using -No...
parameters. These can be specified in [Link_SetFormat] or in the
tag itself. The following -No.. parameters can be used.

-NoName removes every instance of the specified command tag.
(e.g. -NoDatabase, -NoTable, -NoLogicalOperator).

-NoAction removes the action tag (e.g. -Search, -FindAll).

-NoClassic removes all command tags which are usually specified
within inline tags including -Database, -Table, -KeyField, and

-NoParams removes all name/value parameters from the array (including
associated -Required, -Op, -OpBegin, and -OpEnd command tags).

-No.Name removes every instance of the the specified
parameter from the array. (e.g. -No.First_Name or -No.Company).

-NoSort removes all -SortField and -SortOrder tags.

-NoTokens removes all tokens. -NoToken removes the unnamed token.
-NoToken.Name removes the specified token.

The parameters are specified in the following order. First, the
action (if any) is specified. Next, the command tags (with the
exceptions listed later) are included in alphabetical order. Each
command tag is only included once. Finally, all of the name/value
parameters and the following command tags are included in the order
they were specified (-SortField, -SortOrder, -Op, -OpBegin, -OpeEnd).

The -Username, -Password, -SQL, and -ReturnField parameters are
never output by this link tag. If the action is -Nothing then it is
not output since an action of -Nothing is assumed.


[Link: (Action_Params)] ... [/Link]

[Link: (Action_Params),


Optional Parameters
-No... Removes a specified command tag from the link (e.g -NoDatabase, -NoMaxRecords, etc.).
-No.Name Removes a specified name/value parameter from the link (e.g. -No.First_Name).
-NoAction Removes action command tag from the link.
-NoClassic Removes -Database,-Table,-KeyField command tags from the link.
-NoParams Removes all name/value parameters from the link.
-NoSort Removes all sort command tags from the link.
-NoTokens Removes all tokens from the link.
-Response Sets the base URL for the link.
Other Parameters All other keywords and name/value parameters are added to the link.


See the Lasso 8 Language Guide for examples of how to use this tag.