Remove an Action From the Main View in IBM Cognos Connection

You can remove object actions from the Actions column in the IBM® Cognos® Connection main view.

Remove object actions by deleting or commenting out the action from the base-object-actions section in the c10_location/templates/ps/portal/system.xml file.

This functionality applies only to actions that are available from the Actions column.

If you want to remove an action from the Perform an action page, but keep it in the main view in IBM Cognos Connection, perform the steps in the Remove an Action From the Actions Page section instead of the steps below.

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 objects in IBM Cognos Connection:
    <param name="base-object-actions">
      <actions>
        ...
      </actions>
    </param>
  4. Find the object class that you want to customize, and delete or comment out the required action.

    In the following example, the actions to run reports using the associated studio and to view report output versions are commented out.

    <object class="report">
    	<action name="run_options"/>
    	<!-- action name="edit"/-->
    	<action name="schedule"/>
    	<action name="run_once"/>
    	<!-- action name="previous_versions"/-->
    	<action name="run_history"/>
    	<action name="customview"/>
    	<action name="shortcut"/>
    	<action name="add_alert"/>
    	<action name="remove_all_alerts"/>
    </object>

    As a result, these actions are no longer available for reports in the Actions column in the IBM Cognos Connection main view, but they are still available in the Perform an action page.

  5. Save the file.
  6. Start the IBM Cognos service.