SiteSettings.getMisc (Method)
Returns a structure that contains information on the current site settings; for example, emailing log entries, retaining usage information, publication content approval, and so on.
Returns:
SiteMiscSettings (struct)
Each row of the returned query results has the following fields:
Field Name | Type | Description |
---|---|---|
AllowHTML5Containers | Boolean | Boolean value controlling whether HTML5 semantically meaningful container tags can be used to render container elements. |
AllowImageResize | Boolean | Boolean flag which when true indicates that a user can resize images. |
DaysToKeepUsageStats | NonNegativeInteger | The number of days CommonSpot keeps information on user activities for this site. |
DefaultPageFilename | Filename | Default filename to be removed from links of a page. |
EmailCopyOfLogEntries | Boolean | Boolean flag which when true indicates that CommonSpot sends email to the webmaster whenever CommonSpot catches an error. |
EnableRejectApprovalOption | Boolean | Boolean value which when true indicates that CommonSpot shows the 'Reject' menu in the approval view. |
EnableUsageStats | Boolean | Boolean flag which when true indicates that CommonSpot saves a site's usage statistics. |
ExcludeExpiredPagesIndexing | Boolean | Boolean flag which when true indicates Commonspot to prevent search engines from indexing excluded pages. |
GlobalFormsResource | ResourceName_EmptyString | Optional resource to include when rendering simple forms, custom element edit forms, custom properties, and other custom forms. |
IncludeKeywordsMetaTag | Boolean | Boolean flag when true, indicates that the list of CommonSpot keywords in keywords meta tag on all the pages. |
MajorContentChangeDefault | Boolean | Boolean flag which when true indicates that the Submit Changes for Publication dialog will have the Treat Content Change as Major' option checked. |
RemoveLinksDefaultFileName | Boolean | Boolean flag which when set removes the default file name from all links. |
RequirePublicationComments | Boolean | Boolean flag which when true indicates that CommonSpot requires publication comments for this site. |
SendApproversEmailNotification | PublicationSettings | Flag which when true indicates that CommonSpot sends email notification to approvers. |
SendPublicationNotifications | PublicationSettings | Flag which when true indicates that CommonSpot sends publication notifications. |
ShowUploadConfirmation | Boolean | Boolean flag which when true indicates that CommonSpot displays a confirmation message after successful upload operation. |
UseHTML5DocType | Boolean | Boolean value controlling whether CommonSpot renders pages with the HTML5 doctype string. If false, DocTypeString setting in servervars is used. |
UseHTML5Shim | Boolean | 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. |
ViewPublishedPageDefault | Boolean | Boolean flag which when true indicates that the Submit Changes for Publication dialog will have the 'View page as published after submission' option checked. |
Context:
License Requirements | None |
Permission Requirements | ContributorOrServerCode |
Deny Context | None |
Require Context | None |
Author Lock | (not required) |
Transaction Logging | Transaction logging is disabled for this method |
Customization | Customization is not supported for this method. |
Error Codes:
None
Notes:
None