SiteSettings.saveMisc (Method)

Saves miscellaneous settings for the site such at retaining usage logs, allowing images to be resized, and so on.

Returns:

Void

Arguments:

Name Type Required Description
allowImageResize Boolean Required Boolean flag which when set to true indicates that users can resize images.
enableRejectApprovalOption Boolean Required Boolean flag which when set to true indicates if the 'Reject' option is available when approving content.
requirePublicationComments Boolean Required Boolean flag which when set to true requires that publication comments be made.
enableUsageStats Boolean Required Boolean flag which when set to tells CommonSpot to save usage statistics.
daysToKeepUsageStats NonNegativeInteger Required How many days CommonSpot keeps information on user activities for this site. This setting can be overwritten on any page.
emailCopyOfLogEntries Boolean Required Boolean flag indicating if CommonSpot emails a copy of log entries.
removeLinksDefaultFileName Boolean Required Boolean flag which when set removes the default file name from all links.
sendApproversEmailNotification PublicationSettings Optional. Defaults to 'Default OFF'. Flag indicating the setting for the 'Send Approvers Notification Email' setting in the Submit Changes for Publication dialog.
sendPublicationNotifications PublicationSettings Optional. Defaults to 'Default OFF'. Flag indicating the setting for the 'Send Publication Notification' setting in the Submit Changes for Publication dialog.
viewPublishedPageDefault Boolean Optional. Defaults to '0'. Boolean flag indicating the default setting for the 'View page as published after submission' setting. If 1 then the Submit Changes for Publication dialog will have the 'View page as published after submission' option checked.
majorContentChangeDefault Boolean Optional. Defaults to '1'. Boolean flag indicating the default setting for the 'Treat Content Change as Major' setting. If 1 then the Submit Changes for Publication dialog will have the Treat Content Change as Major' option checked.
showUploadConfirmation Boolean Optional. Defaults to '0'. Boolean flag indicating if CommonSpot shows upload confirmation after an upload operation.
excludeExpiredPagesIndexing Boolean Optional. Defaults to '0'. Boolean flag indicating whether CommonSpot should prevent search engines from indexing expired pages.
useHTML5DocType Boolean Optional. Defaults to '1'. Boolean value controlling whether CommonSpot renders pages with the HTML5 doctype string. If false, DocTypeString setting in servervars is used.
allowHTML5Containers Boolean Optional. Defaults to '0'. Boolean value controlling whether HTML5 semantically meaningful container tags can be used to render container elements.
useHTML5Shim Boolean Optional. Defaults to '0'. Boolean value controlling whether CommonSpot will output CSS and JavaScript shims to support the new HTML5 container tags. Should be enabled if allowHTML5Containers is enabled.
includeKeywordsMetaTag Boolean Optional. Defaults to '0'. Boolean flag when set as true, includes the list of CommonSpot keywords in keywords meta tag on all the pages.
globalFormsResource ResourceName_EmptyString Optional. Defaults to an empty string. Optional URL of a style sheet to include when rendering simple forms, custom element edit forms, custom properties, and other custom forms.
defaultPageFilename Filename Optional. Defaults to an empty string. Default filename to be removed from links of a page.

Context:

License Requirements None
Permission Requirements site:SiteAdmin
Deny Context None
Require Context AuthoringEnabled
Author Lock (not required)
Transaction Logging If transaction logging is enabled at the site level, calls to this method will be logged
Customization Customization is not supported for this method.

Error Codes:

None

Notes:

None