Remove an Action From the Actions Page

Actions available from the Perform an action page can be removed from the user interface.

Remove actions from the user interface by adding the exclude attribute to the appropriate object class in the base-object-actions section of the c10_location/templates/ps/portal/system.xml file.

If the action that you want to remove from this page is also available from the Actions column in the main IBM® Cognos® Connection view, and you want to remove the action from both places, perform the steps in the Remove an Action From the Main View in IBM Cognos Connection section in addition to 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. In this section, find the object class for which you want to remove an action.

    For example, to modify report actions, find <object class="report">.

  5. To remove an action listed under the object class, add the exclude attribute to the object node, as in the following example:
    <object class="report" exclude="customview"> >
    	<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>

    This example excludes the Create the report view of this report action from the Perform an action page.

    You can remove a few actions for the same object class, as shown in the following example:

    <object class="report" exclude="run_history previous_versions
    schedule shortcut">

    This example removes the View report output versions, New schedule, and Create a shortcut to this entry actions from the Perform an action page.

    Note: The removed actions may still be available in the Actions column in the main IBM Cognos Connection view.

  6. Save the system.xml file.
  7. Start the IBM Cognos service.