Content

Overview

Description

Configuration Properties

Additional Configuration Information

 
 

 

 

 

Overview

Top../images/arwup.gif (846 bytes)

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

Top../images/arwup.gif (846 bytes)

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

Top../images/arwup.gif (846 bytes)

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.
ModePurpose
Worksheet AttributesView and maintain Attributes added to the Control.
Standard AttributesView and maintain Attributes of SDIs added to either the Worksheet or the Control.
Attribute Source This is applicable only when "Mode" is "Worksheet Attributes". This determines where to look for the Attributes:
OptionDescription
WorksheetLooks at Attributes that have been added to the Worksheet. 
SectionLooks at Attributes that have been added to the current Section.
ControlLooks at Attributes that have been added to the Control.
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.
OptionDescription
WorksheetLooks at SDIs that have been added to the Worksheet. 
ControlLooks at SDIs that have been added to the Control.
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).

OptionLooks for Attributes in:
PrimaryPrimary SDI (such as Samples added to the Worksheet).
SDIWorkitemSDIWorkitems associated with the Primary SDI.
SDIDataSDIData records associated with the Primary SDI.
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.
OptionDescription
GridRenders the Attributes in a tabular grid.
Open TableRenders the Attributes as table rows.
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").
PropertyDescription
ColumnThe column to include.
TitleThe Title to display in the heading.
ShowWhether or not to show this column.

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").
PropertyDescription
ColumnThe column to include.
TitleThe Title to display in the heading.
ShowWhether or not to show this column.

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").
PropertyDescription
ColumnThe column to include.
TitleThe Title to display in the heading.
ShowWhether or not to show this column.

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.
PropertyDescription
ColumnThe column to sort by.
DirectionThe sort direction. Choose Ascending or Descending.
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:

SDI Rule
SDIData, SDIWorkitemWhen the status is "Completed".
SampleWhen status is "Completed" and now review is required.
Batch, Request, BatchStage, Monitor GroupWhen status is "Released"
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

Top../images/arwup.gif (846 bytes)

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.

NameAttributes Control
ModeStandard Attributes
Data SourceControl
Data Source SDCSample
Attribute TypePrimary
Attribute Id 
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.

NameAttributes Control
ModeStandard Attributes
Data SourceControl
Data Source SDCSample
Attribute TypeSDIWorkitem
Workitem Id 
Attribute Id 
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.

NameAttributes Control
ModeStandard Attributes
Data SourceControl
Data Source SDCSample
Attribute TypeSDIData
Workitem Id 
Param List IdAlkali Metals
Paramlist Version Id1
Variant IdPrep
Attribute Id 
Attributes Associated with the Control

The properties below are configured to view Attributes associated directly with the Control.

NameAttributes Control
ModeWorksheet Attributes
Source RelationWorkitem
Position 
Workitem Id 
Param List Id 
Paramlist Version Id 
Variant Id 
Attribute Id 

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).
NameAttributes Control
ModeStandard Attributes
Data SourceControl
Data Source SDCSDIWorkitem
Attribute TypePrimary
Workitem Id 
Attribute Id