This documentation is archived and is not being maintained.

SP.BrowserFileHandling enumeration

SharePoint 2013

Specifies whether the file is allowed to be displayed in the Web browser.

Last modified: March 09, 2015

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var SP.BrowserFileHandling = {permissive : "Undefined",strict : "Undefined",registerEnum : "Undefined"}

The BrowserFileHandling object enumeration has the following members.

Member

Value

Description

permissive

0

Enumeration whose value specifies whether content types that allow script are allowed to be displayed in the Web browser.

strict

1

Enumeration whose value specifies whether content types that allow script must be forced to download.

registerEnum

Undefined

Show: