Attributes Control |
Content |
|||||||||||||||||
|
Overview |
|
|
The "Attributes" Control inserts Attributes associated with an SDI into an ELN/LES Worksheet. This Control provides OOB Global Control Templates that allow Attributes to be added for Samples, QC Batches, and Workorders (depending on the configuration properties).
Description |
|
|
The example below assumes Sample Attributes defined in the Attributes Master List for the Sample SDC. Clicking "Add" opens a Lookup page where you choose the Samples. As shown in Attributes, the Attributes are then inserted into the Control.
See Configuration Properties and Additional Configuration Information for more information concerning available options.
![]() |
Configuration Properties |
|
|
These properties are available for configuring overall behavior.
Property | Description | ||||||||
Name | Name of the Control that is displayed in the ELN interface. Leaving this blank defaults to the Control name provided in the OOB configuration. | ||||||||
Mode | Determines behavior of the Control based on the relationship
of the Attributes to the Worksheet.
|
||||||||
Attribute Source | This is applicable only when "Mode" is "Worksheet
Attributes". This determines where to look for the Attributes:
|
||||||||
Data Source | This is applicable only when "Mode" is "Standard
Attributes". This determines where the Control searches for SDIs
from which the Attributes will be retrieved.
|
||||||||
Data Source SDC | This is applicable only when "Mode" is "Standard Attributes". This is the SDC for the SDIs that are in the Control or Worksheet. | ||||||||
Attribute Type | This is applicable only when "Mode" is "Standard
Attributes". This determines where to look for the Attributes, either
the Primary record (e.g. if Samples are assigned to Worksheet), the SDIWorkItems
attached to the SDIs or the SDIData records attached to the SDIs.
If the "Data Source SDC" is "SDIWorkItem", the Attribute Type should be SDIWorkItem or SDIData. It cannot be Primary (the Primary SDI is not supported in this context).
|
||||||||
Workitem Id | This is applicable only when "Attribute Type" is "SDIWorkitem". This defines the Test (SDIWorkitem). | ||||||||
ParamListId
Paramlist Version Id Variant Id |
This is applicable only when "Attribute Type" is "SDIData". This defines the Data Set. | ||||||||
Source Relation | This is applicable only when "Mode" is "Worksheet Attributes". This is the context of the Attributes on the Worksheet (Workitem or ParamList). | ||||||||
Position | This is applicable only when "Mode" is "Worksheet Attributes". This is the position context of the Attributes on the Worksheet. See LES Text Content and Positioning. | ||||||||
Attribute Id | This shows a list of Attributes. Choosing one filters to show only that specific Attribute. | ||||||||
Values Only | Shows/hides the checkboxes and buttons in Edit mode. This means that only values are editable and Attributes cannot be removed or added. | ||||||||
Display Style | Determines how the Attribute grid is rendered.
|
||||||||
Full Width | "Yes" renders the Attribute grid or table across the full width of the editor. "No" renders the Attribute grid or table to fit the content. | ||||||||
Hide Borders If Info Only | "Yes" hides the borders on "Information Only" Attribute Types. This allows several of such Attributes to be merged into an Information section. | ||||||||
Primary Display Columns | When displaying Attributes in a Control or Worksheet (for SDIs of the SDC defined in "Data Source SDC"), use this collection of properties to configure only the Primary columns (when "Attribute Type" is "Primary").
The Primary Display column supports the dot operator with sdcid, tableid or the linkid as defined in the sdclink table with columnid. In addition, nested select statements such as: ( select batchdesc from s_batch where s_batchid=primary.batchid) bd are also supported. |
||||||||
SDI Workitem Display Columns | When displaying Attributes in a Control or Worksheet (for SDIs of the SDC defined in "Data Source SDC"), use this collection of properties to configure both the Primary and the SDI Workitem columns (when "Attribute Type" is "SDIWorkitem").
The Primary Display column supports the dot operator with sdcid, tableid or the linkid as defined in the sdclink table with columnid. In addition, nested select statements such as: ( select batchdesc from s_batch where s_batchid=primary.batchid) bd are also supported. |
||||||||
SDIData Display Columns | When displaying Attributes in a Control or Worksheet (for SDIs of the SDC defined in "Data Source SDC"), use this collection of properties to configure the Primary, SDIWorkItem and DataSet columns (when "Attribute Type" is "SDIData").
The SDI Data Display column supports the dot operator with sdcid, tableid or the linkid as defined in the sdclink table with columnid. In addition, nested select statements such as: ( select batchdesc from s_batch where s_batchid=primary.batchid) bd are also supported. |
||||||||
Primary Sort By | When "Primary Display Columns" are configured, choose to define a sort directive.
Click "Add" to specify the column to sort by and the sort direction.
|
||||||||
Grid Layout | When displaying multiple SDIs, determine whether to display the Attributes across the top, or the SDIs. | ||||||||
Finished SDIs Attributes Color | Color to use when highlighting finished SDIs.
Click the ellipsis to select a color.
See "Protect Attributes On Finished SDIs" below for information about how an SDI is determined to be finished. |
||||||||
Cancelled SDIs Attributes color | Color to use when highlighting "Cancelled" SDIs. Click the ellipsis to select a color. | ||||||||
Protect Attributes On Finished SDIs | Whether or not to prevent Users from adding new, or editing existing Attributes when the associated SDI is finished. The default is "Yes".
An SDI is determined to be finished according to the following rules:
|
||||||||
Protect Attributes On Cancelled SDIs | Whether or not to prevent Users from adding new, or editing existing Attributes when the associated SDI is "Cancelled". The default is "Yes". | ||||||||
No Data Available Message | Specify text to show when there are no SDIs to display. | ||||||||
Operations | Defines operations available on the Control Toolbar. See Common Control Operations for details. | ||||||||
Includes | Allows complex/extended JavaScript to be added to an Operation of Type "Custom". |
Additional Configuration Information |
|
|
Views |
Here are examples of views available in the Control:
|
Attributes of a single SDI with Instructions and Standard Attributes:
Be advised that Attributes of a single SDI with Instruction Only show only the Instruction. |
||
|
Attributes of mutliple SDIs:
|
||
|
Highlighting finished SDIs (such as Samples that are "Complete") or Cancelled SDIs.
|
Editing Attributes |
The "Edit" button on the Control Toolbar launches the maintattribure Element configuration inline if a single SDI is involved. These are rendered as though you are editing standard Attributes for an SDI. Note that the buttons and checkboxes can be hidden using the "Values Only" Configuration Property. When dealing with single SDIs for Worksheet Attributes, if only "Information Only" Attributes are associated with the SDI, the "Edit" operation is not available.
![]() |
If multiple SDIs are involved, a MultiSDIAttributeMaint page configuration is launched.
![]() |
Example Configurations |
Here are some example configurations:
|
Single Sample SDI with Primary Attributes
The properties below are configured to view Attributes of a Sample that is associated with the Control.
|
|||||||||||||||||||||
|
Single Sample SDI with SDI WorkItem Attributes
The properties below are configured to view Attributes of SDIWorkitems that are associated with the Sample that is associated with the Control.
|
|||||||||||||||||||||
|
Single Sample SDI with SDI Data Attributes
The properties below are configured to view Attributes associated with SDIData that are on the Alkali Metals Prep Data Sets for the Sample that is associated with the Control.
|
|||||||||||||||||||||
|
Attributes Associated with the Control
The properties below are configured to view Attributes associated directly with the Control.
|
Here is an invalid configuration:
|
The configuration below is invalid. You cannot configure the Control
to view SDIWorkItem records, then get Attributes on the Primary SDC (such
as Sample).
|