- 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
- Visual Proofing Tool
- Variable Data Printing
- System Requirements
- Troubleshooting
- Licensing
- Copyright Notices
IframeApi Module
Applies to: Customer's Canvas On-Premises; Design Editor 4.4.25, 4.x (may differ) · Archived documentation
The Iframe Api module. It provides data and methods for a product handling.
Modules
| Name | Description |
|---|---|
| Configuration |
The Customer's Canvas configuration. You can define these settings in the |
| ObjectModel |
Object model of Customer's Canvas product. |
| PostMessage |
This module carries out the Events processing. |
Classes
| Name | Description |
|---|---|
| Editor |
Represents the web-to-print editor. |
| RuntimeConfiguration |
Allows you to get/set the user ID and PDF metadata at runtime. |
Functions
| Name | Description |
|---|---|
| loadEditor |
Loads the web-to-print editor. |
| loadEditorByQueryString |
Outdated, use loadEditor instead. Loads the web-to-print editor through HTTP GET request. |
| preload |
Preloads resources of the web-to-print editor. |
Variables
Let editorUrl
URL to your Customer's Canvas instance.
Typically, you do not have to specify this URL explicitly. If you add id="CcIframeApiScript" to the script tag which links the IframeApi.js, Customer's Canvas automatically detects this URL from the script source. However, if for any reasons you do not want to use the id in the script tag, you can use this property to specify the URL to the Customer's Canvas instance explicitly.