Home

 

Disable automatic e-mail notification on download


Overview

When an authenticated user downloads a file for the first time, Files automatically sets a preference so that the user receives e-mails when that file is edited. The assumption is that users want to receive e-mails about updates to the file. You can disable this automatic preference-setting by changing a configuration property in files-config.xml.

If you disable automatic preference setting, users can enable the preference by opening the file page, clicking...

Similarly, if automatic preference setting is enabled, users can disable the preference by opening the file page, clicking...

...and then deselecting...

E-mail notifications can also be enabled or disabled for all features.

  1. Start the wsadmin client.

  2. Access the Files configuration files...

  3. Network deployment:

    If you are asked to select a server, you can select any server.

  4. Check out the Files configuration files...

    FilesConfigService.checkOutConfig("<working_directory>", "cell_name")

    where:

    • <working_directory> is the temporary working directory to which the configuration XML and XSD files are copied. The files are kept in this working while you make changes to them.

    • cell_name is the name of the WebSphere Application Server cell hosting the Lotus Connections feature. This argument is required even in stand-alone deployments. If you do not know the cell name, do one of the following to determine it:

      • Stand-alone deployment: Look at the name after the following in the file system:

          WAS_HOME\profiles\profile_name\config\cells\
          

    • Network deployment: Type the following command while in the wsadmin command processor:

        print AdminControl.getCell()
        

    For example:

    • AIX/Linux:

        FilesConfigService.checkOutConfig("/opt/my_temp_dir", "CommServerNode01Cell")
        

  5. Microsoft Windows:

      FilesConfigService.checkOutConfig("c:/temp","foo01Cell01")
      

    To check out e-mail 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 e-mails that users receive by editing the templates. For information on e-mail templates, see the topic Customizing e-mail templates.

  6. To set the emailNotification.addOnMediaDownload.enabled property to

    false

    ..

      FilesConfigService.updateConfig("emailNotification.addOnMediaDownload.enabled", "false")
      

  7. Check in the changed configuration property file using the following wsadmin client command:

      FilesConfigService.checkInConfig()
      

  8. To exit the wsadmin client, type exit at the prompt.

  9. Stop and restart the server hosting the Files feature.

 

Related tasks

Administer Files
Enable e-mail notifications
Customizing e-mail templates
Start the wsadmin client

+

Search Tips   |   Advanced Search