SP.Site.allowDesigner property (sp.js)
Gets or sets a value that specifies whether a designer can be used on this site collection.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.Site.get_allowDesigner ()
var value = SP.Site.set_allowDesigner ()
Return value
Type: Boolean
Specifies whether a designer can be used on this site collection. If true, the designer can be used on this site collection; otherwise, the designer cannot be used on this site collection.
Remarks
See Web.AllowDesignerForCurrentUser, which is the method for determining the behavior for the current user. The default, if not disabled on the Web application, is true.
REST resource endpoint
Endpoint URI structure
http://<sitecollection>/<site>/_api/site/allowDesigner
HTTP requests
This resource supports the following HTTP commands:
- POST
POST syntax
POST http://<sitecollection>/<site>/_api/site/allowDesigner
GET syntax
GET http://<sitecollection>/<site>/_api/site/allowDesigner