Describes the type of action to perform when saving a content item.
Assembly: EPiServer.dllVersion: 11.20.7
public enum SaveAction
This enumeration contains both primary commands (CheckIn, Publish, Schedule) that defines the main action and option flags (ForceNewVersion, ForceCurrentVersion) that provide additional information about the save operation.
Mask that can be used to clear option flags from a combined SaveAction value.
Save and transition content to CheckedIn state.
Save and transition content to a CheckedOut state, creating a new version if not already checked-out.
Save content without updating the status.
NOTE: This action has been replaced by the Schedule primary action and will be removed in a future version.
Save and check in content, creating a new version only if necessary and sets the content as delayed publish.
Option that will ensure that the any existing version is updated.
Option that ensures that a new version is created when saving preventing the current content from being overwritten.
Replaced by Default.
Update the current version without changing the status or trigger any validation.
Save and publish content. Content will transition to a Published state.
Save and transition content to the Rejected state.
NOTE: This is a pre-release saveAction that is UNSTABLE and might not satisfy the compatibility requirements as denoted by its associated normal version.
Save and transition content to AwaitingApproval state.
NOTE: This action has some inconsistent behavior and has been deprecated in favour of either Default or CheckOut depending on your needs. This action will be obsoleted and removed in a future version.
Save content, leaving it in a checked out state.
Save and schedule content to be published. Content will transition to a DelayedPublish state.
Option to avoid setting the version as the commond draft in cases where the save results in a new version being created.
Option that indicates that the content data should not be validated against IValidationService.