HTML documents and attachments settings

Salesforce allows you to upload various types of documents. These documents can be uploaded in the notes and attachments section of any record or in the documents section. Uploading HTML can be a security risk (due to an XSS attack), and for security reasons, your organization may prohibit this type of document upload to Salesforce. Once this feature is enabled, it doesn't allow users to upload a file with any of these extensions: htm, html, htt, htx, mhtm, mhtml, shtm, shtml, and acgi. These settings won't affect the previously-uploaded HTML documents and attachments, but when users try to view an HTML attachment or document, their browser first prompts them to open the file in the browser, save it to their ...

Get Salesforce.com Customization Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.