Back Forward About activity shortcuts and the Shortcuts Manager tool

Up

  Show all 

A shortcut is a saved URL value that simplifies retesting activities and V5 reports in your application. Using shortcuts, you can avoid the need to repeatedly retype parameter values when you test activities. C-2335 GAGNP 5.2

Using the Shortcuts Manager tool, you can group, label, arrange, update, and delete shortcuts.

  Creating an activity shortcut

To create a new activity shortcut:

  1. Open an activity rule.
  2. Click the Run toolbar button (Run).
  3. Click  Run Rule   to display parameter fields.
  4. Enter literal constants for input parameters, as desired.
  5. Click  Add to Shortcuts  .
  6. A window appears. In the ShortCut Name field, enter a text label for this shortcut. Choose a unique name for each shortcut your create. You can use spaces and special characters in the name.
  7. Click  Save  . The shortcut is added and the Organize Shortcuts window appears.

You can define many shortcuts for one activity, supplying various parameter values and giving each one a unique name.

  Creating a V5 report shortcut

To create a new V5 report shortcut:

  1. Open a list value or summary value rule.
  2. Click the Run toolbar button (Run).
  3. Click  Add to Shortcuts  .
  4. A window appears. In the ShortCut Name field, enter a text label for this shortcut. Choose a unique name for each shortcut your create. You can use spaces and special characters in the name.
  5. Click  Save  . The shortcut is added and the Organize Shortcuts window appears.

  Using a shortcut

After you define a shortcut, you can quickly re-execute the rule. For an activity, you can re-execute the rule using the parameter values that you saved with the shortcut. B-24879

  1. Select My Shortcuts > Organize Shortcuts from the Designer Studio profile menu. The submenu may contain top-level items with icons for folders (folder), activities (List View), list view rules (List View), and summary view rules (Summary View) in the submenu below the Organize Shortcuts menu item.
  2. Navigate through the folder structure to select the shortcut to execute.
  3. Results appear in a new window.

NoteThe shortcut specifies only visible key of the rule to be executed, not the RuleSet or version. When you execute a shortcut, the system uses rule resolution to find the rule to run. The rule executed may be a higher version or in a RuleSet other than the rule used earlier to define the shortcut. For example, if you have checked out an activity, the checked-out copy executes.

  Organizing shortcuts with the Shortcut Manager

Select My Shortcuts > Organize Shortcuts from the Designer Studio profile menu to organize, rename, delete, or update your shortcuts. See Help: Organizing shortcuts.

  Notes

When you execute a shortcut, the system uses rule resolution to locate the activity rule. The activity that runs is the one that matches the Applies To class (with no class inheritance) and Activity Name in the URL and is appears in the highest RuleSet version on your RuleSet list. If you checked out this activity, the checked-out copy runs. NO WAY TO TELL which one ran?

The system saves your shortcuts as an instance of the System-User-MyRules class, with these key parts:

You can define up to 1,000 shortcuts.
Use the Organize Shortcuts facility, not the My Rules form, to maintain shortcuts.

NoteDon't confuse these saved rule shortcuts — which help developers keep track of V5 report rules and activities of personal interest — with Report Browser shortcuts, used in the Manager portal.

Related topics How to unit test an activity   

Up Tools, accelerators, and wizards