Zum Hauptinhalt gehen

Run Custom Command in Home Panel using an Hyperlink

Kommentare

1 Kommentar

  • Permanently deleted user
    Hi Fernando,

     

    In order for a command to available for use in hyperlink, it must be registered with the viewer, e.g.: geocortex.essentialsHtmlViewer.Commands.commandsMetadata.push({ "name": "MyCommandName", "metadata": { "isHyperlinkable": true } }); One thing you need to be extremely careful with, however, is ensuring that your command is 100% safe to expose like this. If, for example, your command parameter accepted a URL and the command implementation downloaded and executed scrit at that URL, you would be creating a security vulnerability.

     

     

     
    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.