Expose a Shortcut Action

A shortcut action gives users the ability to create shortcuts to a class of objects.

By default, shortcut actions appear on the Perform an action page.

To add a shortcut action for a class of objects, such as reports, to the IBM® Cognos® Connection main page, you must modify the system.xml file.

Procedure

  1. Stop the IBM Cognos service.
  2. Open the c10_location/templates/ps/portal/system.xml file in an XML or text editor.
  3. Locate the following XML code that describes the actions for the objects in IBM Cognos Connection:
    <param name="base-object-actions">
      <actions>
        ...
      </actions>
    </param>
  4. Add the following line of XML code to the actions for the class of objects:
    <action name="shortcut" visible="main"/>

    For example, the following XML code includes a shortcut action in the actions for folders:

    <param name="base-object-actions">
      <actions>
        ...
        <object class="folder">
          <action name="shortcut" visible="main"/> 
        </object>
        ...
      </actions>
    </param>
  5. Save the file.
  6. Start the IBM Cognos service.

Results

The shortcut icon Shortcut icon now appears in the Actions column, to the left of the More link, in the main IBM Cognos Connection view.