Page.forcePermanentLock (Method)
Sets or removes a page's permanent lock. If you are removing a page's locks and other users have locks on the page, CommonSpot removes the locks held by all of these users.
Returns:
Void
Arguments:
Name | Type | Required | Description |
---|---|---|---|
pageID | RealPageID_NonBaseTemplate | Required | A page's ID. |
bLock | Boolean | Required | Boolean flag which when set to true indicates that CommonSpot will lock a page. |
Context:
License Requirements | None |
Permission Requirements | page:Admin |
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:
Code | Error Message |
---|---|
403 |
Notes:
None