Aller au contenu principal

Run Custom Command in Home Panel using an Hyperlink

Commentaires

1 commentaire

  • 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

Vous devez vous connecter pour laisser un commentaire.