LassoScript Utility
Basics Browse Detail


Tag Link [LassoApp_Link] Category Technical
Type Substitution Source Available No
Support Preferred Version 5.0
Change Unchanged Data Source Any
Output Type String Security Tag
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0


[LassoApp_Link] is used to mark links to files which are internal to a LassoApp. It need only be used within format files that are going to be compiled into a LassoApp.

A LassoApp is compiled out of all the format files within a folder. Any links from file to file within that folder including links in HTML anchor tags <a href="..."> ... </a>, image tags <img src="...">, form actions, -Response tags, [Include] tags, [Library] tags, or [Link_...] tags must be marked with a [LassoApp_Link] tag.

Note: This tag can be used with any relative path valid within HTML anchor tags. The ../ construct is valid for referencing the enclosing directory.


[LassoApp_Link: 'File Path']

<a href="[LassoApp_Link: 'File Path']"> ... </a>

<img src="[LassoApp_Link: 'File Path']">

<form action="[LassoApp_Link: 'File Path']"> ... </form>

<form action="Action.Lasso">
  <input type="hidden" name="-Response" value="[LassoApp_Link: 'File Path']">

<a href="Action.Lasso?-Response=[LassoApp_Link: 'File Path']"> ... </a>

[Include: (LassoApp_Link: 'File Path')]

[Library: (LassoApp_Link: 'File Path')]

[Link_DetailURL: -Response=(LassoApp_Link: 'File Path')]


Required Parameters
File Path The path to a local format file.


To mark an HTML anchor tag as a LassoApp link:

Use the [LassoApp_Link] tag. The following example marks a link to the file response.lasso in the same page as the current format file as a LassoApp link.

<a href="[LassoApp_Link: 'response.lasso']"> Response </a>