Subsite.activate (Method)
Activates or inactivates the current subsite.
Returns:
Void
Arguments:
Name | Type | Required | Description |
---|---|---|---|
subsiteIDOrURL | SubsiteIDorURL_EmptyString | Required | The ID of the target subsite, or the server relative path to the target subsite, or an empty string for the current subsite. |
isActive | Boolean | Required | Boolean flag which when set to true tells CommonSpot to activate a subsite. |
Context:
License Requirements | None |
Permission Requirements | subsite:SubsiteAdmin |
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 | This method may be customized at the site level |
Error Codes:
None
Notes:
None