Standard Command
Use a Standard Command extension type to code additional logic around a session’s standard command, such as
mark. delete
, print
, edit. text
, etc.
Examples:
- To prevent Excel Import in a session.
- To run an own session after a standard command is executed.
This table shows the available hooks:
Name |
Signature |
---|---|
Is Visible |
|
Is Enabled |
|
Before Command |
|
After Command |
|
Do not use the hooks of the session extension to influence the behavior of updating tables. We recommend that you use the table extension, for example the Method Is Allowed
and Before Save
hooks.
In an overview session with multiple records, you must be aware that multiple records are selected. The values available in the selection are the ones of the last (un)selected record. If the command disabling/enabling depends on all selected records, you must iterate over the selected records.