Home > Customize the wiki > Allow other file types to be added to attachments

Allow other file types to be added to attachments

ShowTable of Contents

Attaching files in Notes vs the web


Currently, any file type can be attached to an article in the Notes client.

However, file types are limited when adding attachments to articles on the web. The file types are limited to: gif, jpeg, png, and pdf

You can change the file types allowed by updating the template in Domino Designer.

How to change the file types allowed to be uploaded on the web

  1. In Domino Designer open the Custom Control called prtContent
  2. Locate section_attachments
  3. Select the Browse field and button (File Upload).
  4. Click All Properties and look for accept under basics.

    accept currently has this computed value:
    "image/gif,image/jpeg,image/png,application/pdf,image/pjpeg"
  5. Click on the value and select Computed Value to open the Script Editor.
  6. Modify the condition to include additional MIME types for the uploaded file.
    For example, the following MIME types are supported:
    • text/html
    • text/css
    • video/mpeg
    • audio/basic
    • All MIME types are acceptable.


This Version: 3 August 25, 2011 11:53:14 AM by Jennifer Heins  IBMer
Originally Added: Version 1 August 25, 2011 11:37:16 AM by Jennifer Heins  IBMer