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
- 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>
- 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">.
- 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.
- Save the system.xml file.
- Start the IBM Cognos service.