Lasso Soft Inc. > Home

[Link_CurrentActionURL]

[Link_CurrentActionURL] returns a link to the current Lasso action. The result of this tag is a URL that references the current format file with parameters that perform the current Lasso action.

If this tag is used within [Inline] ... [/Inline] tags then the action specified in the starting [Inline] tag will be returned. If this tag is used within a format file that is a response to an HTML form or URL based action then the parameters of that action will be used.

The URL can be used as the base to add additional parameters to the action or the -No... parameters can be used to filter out various types of parameters to replace them in the finished URL.

The URL will specify an action using Classic Lasso syntax. If Classic Lasso support is disabled then an [Inline] tag with an [Action_Params] parameter will be required on the response page to trigger the action.

[Link_CurrentSearchURL] is a synonym for and [Link_CurrentAction] ... [/Link_CurrentAction] can be used to create an HTML anchor tag pair <a href="..."> ... </a> automatically with the same URL that [Link_CurrentActionURL] provides.

  • Syntax
  • Parameters
<a href="[Link_CurrentActionURL]"> Current Action </a>

[Link_CurrentActionURL]

[Link_CurrentActionURL: -NoAction,
  -NoDatabase,
  -NoTable,
  -NoKeyField,
  -NoKeyValue,
  -NoLogicalOperator,
  -NoResponse,
  -NoSkipRecords,
  -NoMaxRecords,
  -NoSort,
  -NoTokens]


Optional Parameters
-NoAction Specifies that the action should not be included in the URL.
-NoDatabase Specifies that the database should not be included in the URL.
-NoTable Specifies that the table/layout should not be included in the URL.
-NoKeyField Specifies that the key field name should not be included in the URL.
-NoKeyValue Specifies that the key field value should not be included in the URL.
-NoResponse Specifies that the response should not be included in the URL.
-NoMaxRecords Specifies that the max records should not be included in the URL.
-NoSkipRecords Specifies that the skip records should not be included in the URL.
-NoSearch Specifies that the name/value parameters should not be included in the URL.
-NoSort Specifies that the sort parameters should not be included in the URL.
-NoTokens Specifies that the token parameters should not be included in the URL.
-NoLayout Specifies that the table/layout should not be included in the URL.
Examples

To link to the current search with different sorting:

Use the [Link_CurrentActionURL] tag. The following example uses the -NoSort parameter to remove the sort arguments from the current search. Additional search parameters are then added to the end of the URL.

<a href="[Link_CurrentActionURL: -NoSort]&-SortField=Last_Name"> Sort by Last Name </a>
Tag Link [Link_CurrentActionURL] Category Link
Type Substitution Data Source Any
Support Preferred Version 5.0
Output Type String Security None
Implementation Sets Lasso 5.0

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft