SitePageLifecycleHandler Members
The SitePageLifecycleHandler type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
|
|
PostCopyToDraft |
Runs after a copy-to-draft commits. The return value is advisory only — the
operation has already happened and cannot be rolled back from here.
|
|
|
PostDeleteDraft |
Runs after a site-page draft delete commits. The return value is advisory only — the
operation has already happened and cannot be rolled back from here.
|
|
|
PostPublish |
Runs after a site-page publish commits. The return value is advisory only — the
operation has already happened and cannot be rolled back from here.
|
|
|
PostSaveDraft |
Runs after a site-page draft save commits. The return value is advisory only — the
operation has already happened and cannot be rolled back from here.
|
|
|
PostUnpublish |
Runs after a site-page unpublish commits. The return value is advisory only — the
operation has already happened and cannot be rolled back from here.
|
|
|
PreCopyToDraft |
Runs before a published page is copied into a new draft. Return false to veto
the copy.
|
|
|
PreDeleteDraft |
Runs before a site-page draft delete commits (the published version stays). Return
false to veto the delete.
|
|
|
PrePublish |
Runs before a site-page publish commits. Return false to veto the publish.
|
|
|
PreSaveDraft |
Runs before a site-page draft save commits. Return false to veto the save.
|
|
|
PreUnpublish |
Runs before a site-page unpublish commits. Return false to veto the unpublish.
|
|
|
Validate |
Called at the start of every CRUD/publish operation on a SitePage,
before any Pre hook. Return false to veto the entire operation.
|

