Is Visible hook

Use this hook to remove standard commands from the session. Depending on the standard command, the command can remain visible but disabled. This is the case when removing the command would change the standard toolbar.

This hook should not use actual values of the form fields. The code in the hook is processed before actual data is read from the database or the form. To control the availability of the command based on data on the screen, you can use the Is Enabled hook. You can use data that is not related to actual contents of the screen, for example parameter data.

Example:

function extern boolean cmd.ssi.import.is.visible()
{
|* Don’t allow excel import
        return(false)
}