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
- Stop the IBM Cognos service.
- Open the c10_location/templates/ps/portal/system.xml
file in an XML or text editor.
- Locate the following XML code that describes the actions
for objects in IBM Cognos Connection:
<param name="base-object-actions">
<actions>
...
</actions>
</param>
- 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.
- Save the file.
- Start the IBM Cognos service.