Navigation :
URL
URL, concept
URLs are represented as text values. Use the StyleCode href
property to make a tile clickable.
Example
TheURL = "https://example.com"
show label "Learn more" { href: #(TheURL) }
Lokad URL helpers
These functions generate Lokad URLs that remain stable across deployments:
| Function |
Purpose |
| currentDashUrl |
Open the dashboard produced by the executing run. |
| dashUrl |
Open the latest dashboard of a script. |
| downloadUrl |
Download a file stored in the account. |
| fileUrl |
Open the folder containing a file. |
| folderUrl |
Open a folder in the file explorer. |
| homeUrl |
Open the home page of the account. |
| previewUrl |
Open a preview page for a file. |
| sequenceUrl |
Open a script sequence. |
| sliceSearchUrl |
Open a matching slice in a dashboard. |
| sliceUrl |
Open a slice of the current dashboard. |
| syncUrl |
Open the page of a sync script. |
| taskUrl |
Open a Discuss task. |
All these functions return URLs prefixed with ~/, which is expanded to the
account base URL when rendered by href.