Currently in my environment I am not setup to use email(no server configured) and I want to stop users from using the email options in Cognos 8.3(RTM) since they try to send reports and then they just hang in a waiting status and eat up resources. Does anyone know of a way to either restrict it via security or by modifying the portal/system.xml files?
thanks
We have been trying to do the same thing. Here are a few hints:
To remove the reference to email in the report viewer in the 'Keep this version' option at the top of the screen:
Find the id for the Consumer group (since everyone is included in our Consumer group, this edit will apply to all users - replace 'asdaasdfasasdfasdf' with your id). Edit the templates/ps/portal/system.xml file and add the following. This affects the email buttons in the menu of the report viewer.
<!-- added to hide the email function -->
<param name="ui_hide">
<RV_TOOLBAR_BUTTONS_SEND/>
</param>
<param name="ui_groups">
<group id="Consumers">asdaasdfasasdfasdf</group>
</param>
<!-- end of addition to hide the email function -->
When a report is running, in the 'Your report is running' dialogue box, the email option is displayed:
To eliminate this in the English version:
Navigate to the Cognos 8 directory and then to webapps/p2pd/WEB-INF/classes.
Edit the viewer_en.properties file:
In the following group of lines, change the RV_EMAIL_REPORT line:
RV_BUSY_OPTIONS_LINK = Select a delivery method.
RV_PRINT_REPORT = Print the report
RV_EMAIL_REPORT = Email function is disabled. Please do not use!
or
RV_EMAIL_REPORT = (to eliminate the text all the way)
RV_SAVE_REPORT = Save Report
The functionality is not disabled here with the above lines but at least the item is clearly labeled.
To hide the icon: in /webcontent/rv/images - rename action_send_reports.gif and replace with another blank, one pixel, white gif (with the same name) to hide the icon.
In the 'Run with Options' screen:
You can eliminate the text between the string tokens in the templates/ps/messages/portal_en.xml file for the entry:
<string id="IDS_OTHERRUN_DELIVERY_BASIC_DELIVERY_EMAIL" usage="checkbox label"></string>
However, this does not eliminate the radio button which still functions without the text label.
In the 'Run with advanced options' screen:
You can eliminate the text (or replace it as in below) in the templates/ps/messages/portal_en.xml file for the entry:
<string id="IDS_OTHERRUN_DELIVERY_REPORT" usage="checkbox label">Email has been disabled. Please do not use!</string>
<string id="IDS_OTHERRUN_DELIVERY_REPORTS" usage="checkbox label">Email has been disabled. Please do not use!</string>
Then eliminate the 'edit the options' link by eliminating the text as in the following string:
<string id="IDS_OTHERRUN_SET_EMAIL" usage="checkbox label"></string>
Then eliminate the reference to email in the heading of the screen:
<string id="IDS_OTHERRUN_DELIVERY_DESCRIPTION" type="String" usage="text describing the delivery section">Select at least one delivery method. </string>
<string id="IDS_OTHERRUN_DELIVERY_DESCRIPTION_REPORT" usage="text describing the delivery section">Select at least one delivery method. </string>
Hope this helps.
If you find other solutions, please post them.