ExtendedConditions class

Build 1501 on 14/Nov/2017  This topic last edited on: 10/Feb/2016, at 15:55

Description

Defines a predefined or context-related search.

Namespace

xmlns:l="http://www.teradp.com/schemas/GN4/1/Shell/Presentation"

Members

Nameuse it as parameter for resultView.Navigate command.
SearchNodeDefines variable search conditions.

Example

extendedconditions

Remarks

A BaseQuery can contain zero or more ExtendedConditions, each one for a related search. ExtendedConditions typically appear in the parent BaseQuery under SearchList.

Each ExtendedConditions is defined by its name, that has to be unique within the parent base query.

An extended condition contains one SearchNode node.Calling an extended condition from a script

The script calls the extended condition with name="linked". The "pageIds" parameter corresponds to the name of the VariableSearchNode within <Ids of <List that belongs to the child <SearchNode.

Public class Fred4MainAddIn

  .

  .

  .

  " <summary>Shows all the objects linked to the selected pages.</summary>

  <ShellCommand(CanExecute:="Ena_HasSelectedPageObjects")> _

  Public Sub ShowObjectsLinkedToPage()

    ShowExtendedConditionsOnSelection("EditionShell", _

      "linked", "pageIds", My.Resources.IDS_EXTCOND_LINKED)

  End Sub

See also

SearchNode