Customer's Canvas can import product templates from InDesign files.
You can feed .idml
files to Customer's Canvas. The editor works with one-page and multipage templates containing images, texts, and shapes. Although Customer's Canvas supports RGB, CMYK, and Grayscale color spaces, it is recommended to stick to the same color space in a single frame. Customer's Canvas does not support templates containing such master items as page numbers, footers, etc.
The web-to-print editor supports embedded and linked images. You can use both raster and vector graphics in your templates. Customer's Canvas loads image frames as image items by default. If you want them to act as placeholders, add the <PH>
marker to the image name.
You can create image placeholders of arbitrary forms by using frames from a free shape and placing images into these frames. To define how images inserted into the placeholders should be resized, you can enable Auto-Fit and use the following frame fitting options:
Customer's Canvas supports scale, move, and rotate transforms. Other transforms are ignored.
Customer's Canvas allows you to work with any shape that you created in InDesign. When importing shapes, Customer's Canvas applies a solid stroke and solid fill to them.
Fancy, rounded, or other corner types are not applied. When you import these shapes into the editor, they will have normal corners.
You can use both text in frames and text on type paths. Text on a path appears on the canvas with default formatting.
Text in text frames supports multi-column layouts. However, when you change the column number in Customer's Canvas, the text frame becomes a rectangular box, and the gutter resets to the default value of 10pt. Therefore, we recommend that you disable changing the columns for non-rectangular text by using the <TACCC>
marker. Customer's Canvas only supports copyfitting by using the corresponding markers.
Customer's Canvas allows you to both maintain groups of design elements and ungroup them when importing InDesign templates. The FlattenGroups parameter defines this behaviour. If this parameter is True
, Customer's Canvas parses grouped elements one by one and splits a group into separate objects on the canvas and in the Object Inspector. By default, this patameter is False
, which allows you to keep the design elements grouped. You can also add the <GR>
or <GR_f>
marker to the group name to define how that group should be imported.
As an alternative, you can paste the group of design elements into a frame in your IDML template if you want them to appear as a single image in Customer's Canvas.
Now, let us try to create an InDesign template that is compatible with Customer's Canvas.
Let us imagine that we want to create a template for a badge. The size of this badge is 3.5x2.25 inches, and to keep it simple, it comprises three elements: a background image, a name, and a photo. In InDesign, perform the following steps:
As a result, you should get something like this:
Customer's Canvas works with .idml
files. If you already have a library of .indd
files or are going to use linked images in Customer's Canvas, you need to build a package as follows:
To open this template in Customer's Canvas, copy the resulting .idml
file with images in the \Links\
folder to \assets\designs\
. If your template uses fonts that have not been installed on your server, you can copy them from the \Document fonts\
subfolder to \assets\fonts\
.
When you initialize a product by using its template name, you should see something like this:
You may want to manage the template's behavior in the web-to-print designer, for example, by disabling transforms of some design elements or locking the position of others. Since Adobe InDesign does not provide this type of formatting, we have created a system of so-called markers - special symbols which you add to an element name and are used by Customer's Canvas to manage permissions for each design element. You can find details on the syntax of the markers and a complete list of them in the Supported Markers topic.
So, as the last step of this tutorial, let us configure this template to disallow changing the background and enable copyfitting for the text element. This exercise gives you an idea of how to work with the markers.
To mark the background as a non-editable image, select the appropriate element name on the Layers tab in InDesign and add <LC><OID_f>
to it. There is no difference in what position you place the marker - at the beginning of the name, in the end, or somewhere inside a line. Moreover, you may leave only the marker if you like.
You can enable copyfitting in a similar way. Double-click the text layer name and add the <TOS_FitToWidth>
marker to fit text to the width of its bounding rectangle.
As a result, the Layers tab looks as follows:
Now if you upload the modified template to the server, you see that the background disappears from the list of editable objects and long names fit the box width.
It is easy to keep IDML files compatible with Customer's Canvas when you create them from scratch. However, you may already have a number of INDD files created by designers before they become aware of the way the systems work together. In this case, convert your templates to the IDML format as we described earlier in this topic. Moreover, if you load those templates in Customer's Canvas, they might not look as you would expect.
Here is a list of the most common issues with IDML files and guidelines on how to address them.
Customer's Canvas loads linked images if they are in the same folder as the IDML file or in the \Links\
subfolder.
Solution: First, verify that these images are in the required folders. If they are but still do not load, relink them in InDesign:
\designs\
folder.As an alternative, you can embed these images in the IDML template:
Ensure that image links have either the OK or Embedded status.
When you define products through the surfaces array, Customer's Canvas loads only the first page from IDML files.
Solution: To open a multipage IDML template as a product, use the ISurfacesFromMultipageTemplate interface and set the file property to this multipage template.
Customer's Canvas ignores groups in IDML templates and parses group elements one by one. This may result in poor performance.
Solution: Paste groups into frames in your IDML template.
If your template is displaying incorrectly, you can contact our tech team and send your zipped template to us. We will see what the problem is with it and suggest a solution.