Implementing ContextualNavigationCommandRef commands

ContextualNavigationCommandRef specifies a command that navigates to a page that takes a single parameter. (The user's current location determines the parameter.) You specify the Command Name and Command Target in exactly the same manner as for a static navigation command. You must also specify the Context Symbol and the Context Type. These parameters have the following meanings:

  • Context Symbol specifies that name of a variable on the user’s current page.
  • Context Type specifies that variable’s type.

PolicyCenter passes the value of this variable to the target location as the only parameter. If no such variable exists on the current page, then the command is not available to the user and the command does not appear in the QuickJump box’s auto-complete suggestions.

If the Context Type is an entity, then any EntityViewCommands matching the entity type can automatically be “chained” by the user into the ContextualNavigationCommand. For instance, suppose that there is an EntityViewCommand called Policy that takes a policy number and navigates to a Policy. Also, suppose that there is a ContextualNavigationCommand called Contacts whose context type is Policy. In this case, the user can type Policy 35-402398 Contacts to invoke the Contacts command on the specified Policy.

See also