Custom Form Command

Use a Custom Form Command extension type to add a form command to a session.

Examples:

  • To add a form command to start an own session with the selection made in the standard session.
  • To execute an own function to calculate a field value.

This table shows the available properties:

Name

Activation Type

Command Type

Field

Name

Description Label

Short Description

Long Description

Advanced Properties

This table shows the available hooks:

Name

Signature

Is Visible

boolean <command>.is.visible()

Is Enabled

boolean <command.is.enabled()

Before Command

void <command>.before.command()

Command Executed

void <command>.command.execute()

After Command

Void <command>.after.command()

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 form command disabling/enabling is dependent on all selected records, you must iterate over the selected records.