simplespec Element

 

Content

simplespec Element

Description

Example

Properties

Description

The simplespec Element provides a subset of features for use with very simple Specifications that do not require the full Specification feature set.

Example

See Products → Tests and Specifications → Simple Mode.

simplespec Element Properties

Property Name Description
SDC Id Identifier of the parent SDC (the SDC that contains the Element).
Filter Param Type When a Parameter Type is selected here, only Parameters of that Parameter Type are shown. If left blank, all Parameters of all Parameter Types are shown.
Workitem Lookup Page Lookup page to open when the lookup icon is used to add new Tests to the SDI.
Read Only Determines if the column is read-only (Yes) or editable (No).
Spec Id Column Column of the parent SDC that contains the embedded Spec Id for the SDI.
Spec Version Id Column Column of the parent SDC that contains the embedded Spec Version Id for the SDI.
Automatic Spec Versions "Only Referenced" creates new Specification versions every time the Specification is changed and has been referenced from any other SDI.

"Always" creates new Specification versions every time the Specification is changed.

"Never" never creates new Specification versions.

Enable Testing Levels Determines if Sampling Plan Testing Levels are maintained. If set to "No", the button for adding Testing Levels should be be set to "Hidden".
Sampling Plan Id Column Column of the parent SDC that contains the embedded Sampling Plan Id for the SDI.
Sampling Plan Version Id Column Column of the parent SDC that contains the embedded Sampling Plan Version Id for the SDI.
Automatic Sampling Plan Versions "Only Referenced" creates new Sampling Plan versions every time the Sampling Plan is changed and has been referenced from any other SDI.

"Always" creates new Sampling Plan versions every time the Sampling Plan is changed.

"Never" never creates new Sampling Plan versions.

Tab Properties of the tab that adds the detail items. In the example above, adding a Limit Type adds detail items to the Parameter Limits and Parameter Details tabs.
Property Name Description
ShowYes (default) displays the Element.
TextText displayed in the tab header.
WidthWidth of the tab in pixels (defaults to the size of the tab).
body WidthWidth of the content body (text area beneath the tab). The default is 100%.
body HeightFixed height of the content body. A scrollbar is added as required.
ExpandableYes (default) allows the tab to be expanded and collapsed. No disables this feature and the tab is always expanded.
ExpandedYes (default) initially expands the tab if Expandable property is set to Yes.
HighlightYes (default) highlights the tab on a mouseover event. The CSS defines this.
TipHelp text to appear on mouseover.
IdIdentifier of the Element (defaults to the Element name).
FunctionOptional JavaScript function to execute.
GroupDefines a tab group. See Tab Groups and Field Groups in the maint Element.
Buttons Properties of the buttons:
Property NameDescription
IdentifierUnique identifier for this item, rendered as an ID attribute in the HTML tag.
ShowYes (default) shows the button.
TextText displayed on the button.
WidthWidth of the button in pixels (defaults to the width of the text on the button).
FunctionJavaScript to execute for an onclick mouse event.
TipHelp text to display for an onmouseover button event.
ImageURL of the image displayed on the button.
AppearanceOptions to select the appearance of the button. If you leave this blank, it defaults to standard.
MarginMargin of the button in pixels.
styleChoose a style, or specify a CSS if you need to define button style using a stylesheet.
HighlightYes (default) highlights the button on mouseover. The CSS defines this.
Workitem Columns Columns in the Workitem table that are rendered in the Element:
Property NameDescription
IdUnique identifier for this item, rendered as an ID attribute in the HTML tag.
Column IdIdentifier of the column in the Primary SDC.
titletitle displayed as the column header.
TipHelp text displayed on mouseover.
ModeDisplay format of the column: Read Only or Hidden.
SDIWorkitem Columns Columns in the SDIWorkitem table that are rendered in the Element (these columns can be edited):
Property NameDescription
IdUnique identifier for this item, rendered as an ID attribute in the HTML tag.
Column IdIdentifier of the column in the Primary SDC.
titletitle displayed as the column header.
TipHelp text displayed on mouseover.
ModeDisplay format of the column: Read Only or Hidden.
WidthWidth of the column in pixels.
Ref Type IdReference Type to use if the value is a Reference Value.
Param List Item Columns Columns in the ParamListItem table that are rendered in the Element:
Property NameDescription
IdUnique identifier for this item, rendered as an ID attribute in the HTML tag.
Column IdIdentifier of the column in the Primary SDC.
titletitle displayed as the column header.
TipHelp text displayed on mouseover.
ModeDisplay format of the column: Read Only or Hidden.
Spec Param Items Columns Columns in the SpecParamItem table that are rendered in the Element (these columns can be edited):
Property NameDescription
IdUnique identifier for this item, rendered as an ID attribute in the HTML tag.
Column IdIdentifier of the column in the Primary SDC.
titletitle displayed as the column header.
TipHelp text displayed on mouseover.
ModeDisplay format of the column: Read Only or Hidden.
WidthWidth of the column in pixels.
Ref Type IdReference Type to use if the value is a Reference Value.
Limits Defines Limit Types and titles for a maximum of three pairs of Limits/Target/InSpec definitions. Each Limit (except Target and InSpec) has a high and low Limit Type that are configured separately.
Property NameDescription
Limit 3 Limit 3 definition:
Property NameDescription
VisibleDetermines if the Limit if visible.
Lower titletitle that identifies the Low Limit Type.
Upper titletitle that identifies the High Limit Type.
High Limit TypeLimit Type that defines the upper limit.
Low Limit TypeLimit Type that defines the lower limit.
Limit 2Limit 2 definition:
Property NameDescription
VisibleDetermines if the Limit if visible.
Lower titletitle that identifies the Low Limit Type.
Upper titletitle that identifies the High Limit Type.
High Limit TypeLimit Type that defines the upper limit.
Low Limit TypeLimit Type that defines the lower limit.
Limit 1Limit 1 definition:
Property NameDescription
VisibleDetermines if the Limit if visible.
Lower titletitle that identifies the Low Limit Type.
Upper titletitle that identifies the High Limit Type.
High Limit TypeLimit Type that defines the upper limit.
Low Limit TypeLimit Type that defines the lower limit.
TargetTarget definition:
Property NameDescription
VisibleDetermines if the Limit if visible.
titletitle that identifies the Limit Type.
Limit TypeLimit Type that defines the Target.
In SpecIn Spec definition:
Property NameDescription
titletitle that identifies the Limit Type.
Limit TypeLimit Type that defines InSpec.