Share via


SP.BrowserFileHandling enumeration

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

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

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

Members

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