ELN Controls share many of the same Operations properties. These common properties are detailed below.

Property Description
Operations Defines operations available on the Control Toolbar.
PropertyDescription
IdentifierUnique label for this operation within this control.
ShowDetermines if the operation is visible on the toolbar.
TextText shown on the operation.
TipTooltip shown for the operation.
ImageImage displayed for the operation icon.
Activate OperationDetermines if the Operation is executed from the Control Toolbar (and F2 Edit shortcut key). In general, "Activate Operation" is typically enabled only when the Control is view-only and does not have an editor (such as the SDI Viewer Control).
TypeDefines the functionality performed by the Operation (with the exception of the "Menu" option as described below).
OptionDescription
MenuAllows an Operation button to display a sub-menu of other Operations.
ExternalAddDefines a Lookup page that returns one or more SDIs. The SDIs are then associated with the Control in the WorksheetItemSDI table.
TaskExecutionDefines a Standalone Task to execute. The Standalone Task automatically adds the SDIs associated with the Control (in the WorksheetItemSDI table) to a matching (by SDC) Input Queue, and adds any SDIs generated to the WorksheetItemSDI table on completion. If you are unfamilar with Standalone Tasks, see Workflow Task Conceptual Reference → Standalone Tasks. Choosing this exposes the "SDC Operation" property (below).
ModalLinkDefines a Maintenance page to edit the set of SDIs associated with the Control. Choosing this exposes the "SDC Operation" property (below).
ModelessLinkDefines a page to display when the Operation button is clicked. Choosing this exposes the "SDC Operation" property (below).
ActionBlock Allows Actions to be executed. The Action sequence and control logic is defined using the Action Block Editor (open by clicking "Edit Action Block"). Choosing this exposes the "SDC Operation" property (below).

Standard substitutions of [worksheetid], [worksheetversionid], [worksheetitemid], and [worksheetitemversionid] are available. LIMS Controls have the additional substitutions of [sdcid], [keyid1], [keyid2] and [keyid3]. KeyId substitutions are derived from the SDIs associated with the Control (or Worksheet if the "Operation Source" property is set to "Worksheet").

CustomDefines JavaScript to execute when the Operation button is clicked.
NOTE:For page operations (Modal, Modeless, ExternalAdd) and Task operations, the following substitution is supported:

[metadata.xxx] where xxx is the "attributeid"

When substituting, the system will first check to see if the attribute (metadata) exists on the Control. If not, then it will check the Worksheet metadata.

NOTE: SDIs can be added to Controls using any of the following methods:
Drag SDIs from the LIMS Data panel into the Control. No new SDIs are created or added to the Worksheet. Associations are simply being added to the WorksheetItemSDI table.
Use the "ExternalAdd" Operation Type. No new SDIs are created, but the WorksheetSDI and WorksheetItemSDI tables are updated with the selected SDIs.
Use the "TaskExecution" Operation Type. For example, this could define a "LoginSample" Standalone Task that creates new SDIs and adds/associates them to the Worksheet on Task completion.
PageLookup page to open when selecting SDIs.
Operation Data Source Determines which SDIs in the Worksheet are used/updated. This applies to the "ExternalAdd", "TaskExecution", "ModalLink", "ModelessLink", and "ActionBlock" Operation Types.

This determines the source of the input SDIs for "TaskExecution", "ModalLink", "ModelessLink" and "ActionBlock" Operation Types ("Control" or "Worksheet").

This means that Operations can use the Worksheet SDIs rather than the WorksheetItem SDIs, irrespective of the source they are using for display.

For example: The "Data Source" can be set to "Control" to display SDIs associated with the Control, while "Operation Data Source" can be set to "Worksheet" for the "Add" Operation. Newly added SDIs are then associated with the Worksheet as a whole.

SDC Operation Associates an operation on the Control Toolbar with an SDC Operation. This applies to the "TaskExecution", "ModalLink", "Modeless Link, and "ActionBlock" Operation Types.

When a Worksheet Contributor clicks the button to execute the operation, ALL of the SDIs on the Worksheet (or Control, as applicable) are checked to ensure that the User has security privileges to perform the operation on the SDIs. If the User does not have privileges for any of the SDIs, the button operation is aborted and a message is displayed indicating that the operation is not permitted on all of the Samples.

Filter Items Filters (based on an SDIs column value) the list of SDIs on which this button operates.
PropertyDescription
Column idThe column in the SDC shown by the control.
OperatorChoose either "In" or "Not In".
Value ListValue List is a semicolon separated list of possible values on which the "In" or "Not In" will match against.
Only those SDIs that match this criteria will be passed to the operation.

This applies to the "TaskExecution", "ModalLink", "Modeless Link, and "ActionBlock" Operation Types.

Is View-Only (No Refresh)This provides a view only option for operations that do not modify the data in a Control, or the SDIs of a Control.

When "Yes":

After the Control, Section or Worksheet has been completed, only the "View" button (for view only operations) remains available.
Once the operation behind the button completes (i.e., a Task completes, or the modal dialog closes), no controls (including the current one) are Refreshed. Since the Control, Section or Worksheet has been marked as Complete, and modifications are no longer permitted, a refresh is unnecessary.

The View Only operation is not available for "External Add" button types.
The "Dock" button remains available (if appropriate).

Refresh Determines how to refresh the Worksheet upon completion. This applies to the "ExternalAdd", "TaskExecution", "ModalLink", and "ActionBlock" Operation Types.

This determines the type of refresh required at the completion of the operation ("Control", "LIMS Controls", "Section", or "Worksheet"). The default behavior is to refresh only the Control.

Note that LIMS Controls are all Controls in the worksheet that "support SDIs", i.e., drive their display using SDIs associated with the Worksheet or Control.

For example: "Refresh" can be set to "Worksheet" for the "Add" Operation to refresh the entire Worksheet after adding new SDIs.

Role protection can be enabled for defined Operations. Clicking the lock icon opens the "Roles" dialog. Select the Role(s) required to perform the Operation. Consider the following when enabling Roles for a Control:

Roles defined against Controls on Templates will be copied (not inherited) when that Template is used on a Worksheet. 
If Roles are defined against an operation, the User must have at least one of the specified Roles to see that particular operation. They must ALSO have permissions to execute the operation based on the Worksheet privileges.
If the roles are defined against the "Activate Operation", and the user does not have the appropriate Role, then the "F2" (or double-click) method of activating the control will be disabled.
Includes Allows complex/extended JavaScript to be added to an Operation of Type "Custom".