Example of @ViewWorkObject Special Command

The following table and the second table in this topic provide an example command using the @ViewWorkObject special command. This example defines a command and associated command data that allows a user to view the work-item tracking record. The command specifies the menu item to be used for viewing the record and assigns the command to the hot key SHIFT+F8. The command is enabled only when a work-item tracking object exists. For more information, see the description for @ViewWorkObject in the table in the Special Commands topic.

Parameter Name Parameter Value

DeviceCommand

@ViewWorkObject

HotKey

SHIFT+F8

MenuPosition

8

Title

View Work Item Object

The following table shows a command data definition for this command definition.

Parameter Name Parameter Value

Param.View

Activity Attachment View