Disabling automatic email notification on downloadAdded by IBM on February 11, 2013 | Version 1 (Original)
|When an authenticated user downloads a file for the first time, Files automatically sets a preference so that the user receives emails when that file is edited or commented on. The assumption is that users want to receive emails about updates to the file. You can disable this automatic preference-setting by changing a configuration property in the files-config.xml file.
Before you begin
To edit configuration files, you must use the IBM
® Application Server wsadmin client. See Starting the wsadmin client
for information about how to start the wsadmin command line tool.
About this task
Email notifications can also be enabled or disabled for all applications. See the topic Enabling email notifications
Parent topic: Administering Files
Enabling email notifications
Starting the wsadmin client
Applying Files property changes
- Start the wsadmin client.
- Access the Files configuration files using the following command:
If you are asked to select a server, you can select any server.
- Check out the Files configuration files using the following command:
- working_directory is the temporary working directory to which the configuration XML and XSD files are copied. The files are kept in this working directory while you make changes to them.
- cell_name is the name of the WebSphere Application Server cell hosting the IBM Connections application. If you do not know the cell name, type the following command while in the wsadmin command processor:
- Microsoft® Windows®:
To check out email templates with the configuration files you can add the parameter includeEmailTemplates
, and set it to "true"
. For example:
FilesConfigService.checkOutConfig("/opt/my_temp_dir", "CommServerNode01Cell", includeEmailTemplates = "true")
You can edit the emails that users receive by editing the templates. For information on email templates, see the topic Customizing email templates
- To set the emailNotification.addOnMediaDownload.enabled property to false, use the following command:
- You must check the configuration files back in after making changes, and they must be checked in during the same wsadmin session in which they were checked out for the changes to take effect. See the topic Applying Files property changes for details.
Note: If you checked out the email templates, use FilesConfigService.checkInConfig(includeEmailTemplates = "true") to check them back in as well.