- Introduction
- What's New?
- Features
- Getting Started
- Integration with E-commerce
- Integration with Remote Asset Sources
- Printable Files and Proof Images
- Configuring Products
- Creating Product Templates
- User Interface
- Configuration Files
- API
- Introduction to IFrame API
- IFrame API Reference
- BaseEditor Module
- IframeApi Module
- Configuration Module
- Editor Class
- applyProductTheme Method
- BarcodeFormat Enumeration
- BarcodeSubType Enumeration
- dispose Method
- finishProductDesign Method
- getProduct Method
- getProofImages Method
- getUnchangedItems Method
- IBarcodeData Interface
- IFinishDesignResult Interface
- IProofResult Interface
- ISaveProductResult Interface
- ISurfacesChanges Interface
- ISurfaceUserInfo Interface
- IUnchangedItem Interface
- IUnchangedItems Interface
- IUserChangeItem Interface
- IUserChanges Interface
- IUserInfo Interface
- IValidationResult Interface
- IViolationWarningData Interface
- loadUserInfo Method
- redo Method
- revertProduct Method
- saveProduct Method
- subscribe Method
- undo Method
- validateUserInfo Method
- ViolationState Enumeration
- loadEditor Function
- loadEditorByQueryString Function
- ObjectModel Module
- PostMessage Module
- preload Function
- RuntimeConfiguration Class
- Web API
- Old Query-string API
- Visual Proofing Tool
- Variable Data Printing
- System Requirements
- Troubleshooting
- Licensing
- Copyright Notices
You’re viewing outdated documentation. View the latest Customer’s Canvas On-Premises documentation.
revertProduct Method
Applies to: Customer's Canvas On-Premises; Design Editor 4.4.25, 4.x (may differ) · Archived documentation
Callable
-
Cancels all changes made by a user.
Parameters
-
Optional revertToinitial: boolean
Enables reverting the user changes to the initial product state.
falseallows for reverting to the print areas which were set by setPrintAreas withupdateRevertDataset totrue.trueallows for reverting to the initial product despite theupdateRevertDataparameter. The default value isfalse.
Returns Promise < void >
-