ScriptBlock Element for SelectionCondition for EntrySelectedBy for WideControl

Specifies the script that triggers the condition. When this script is evaluated to true, the condition is met, and the wide entry definition is used.

Schema

  • Configuration Element
  • ViewDefinitions Element
  • View Element
  • WideControl Element
  • WideEntries Element
  • WideEntry Element
  • EntrySelectedBy Element
  • SelectionCondition
  • ScriptBlock Element

Syntax

<ScriptBlock>ScriptToEvaluate</ScriptBlock>

Attributes and Elements

The following sections describe attributes, child elements, and the parent element of the ScriptBlock element.

Attributes

None.

Child Elements

None.

Parent Elements

Element Description
SelectionCondition Element for EntrySelectedBy for WideEntry Defines the condition that must exist for this definition to be used.

Text Value

Specify the script that is evaluated.

Remarks

The selection condition must specify at least one script or property name to evaluate, but cannot specify both. For more information about how to use selection conditions, see Defining Conditions for when Data is Displayed.

For more information about other components of a wide view, see Wide View.

See Also

Creating a Wide View

Defining Conditions for When Data Is Displayed

PropertyName Element for SelectionCondition for EntrySelectedBy for WideEntry

SelectionCondition Element for EntrySelectedBy for WideEntry

Writing a PowerShell Formatting File