[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.
<a href="[Link_CurrentActionURL]"> Current Action </a>
[Link_CurrentActionURL]
[Link_CurrentActionURL: -NoAction,
-NoDatabase,
-NoTable,
-NoKeyField,
-NoKeyValue,
-NoLogicalOperator,
-NoResponse,
-NoSkipRecords,
-NoMaxRecords,
-NoSort,
-NoTokens]
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 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft