For the complete documentation index, see llms.txt. This page is also available as Markdown.

Services

JavaScript

The JavaScript runtime can be accessed with the JavaScript service. It allows for executing JavaScript on the client and optionally returning a response.

function OnClick {
    #Don't return a value    
    $JavaScript.InvokeVoid("alert('Hello!')")
    
    #Return a value
    $Value = $JavaScript.Invoke("'String'")
    $Message.Success($Value)
}

Messages

The message service is used to display messages to the end user. It is based on IMessageService.

function OnClick {
   $Message.Success("Hello!")
}

Notifications

The notification service displays notifications that include more information than the message service. You can customize the title, message, and icon.

The navigation service can be used to move between portal pages, admin pages and external pages. The navigation service is an instance of NavigationManager.

Last updated

Was this helpful?