---
title: "Overview of Creating Templates in InDesign"
canonical: https://customerscanvas.com/docs/cc6/creating-templates-in-indesign-overview.htm
archived: true
applies_to:
  - product: "Customer's Canvas On-Premises"
  - product: "Design Editor"
    versions: ["6.15.0", "6.x (may differ)"]
---

**You’re viewing outdated documentation.** [View the latest Customer’s Canvas On-Premises documentation](https://customerscanvas.com/docs/on-premises/).

# Overview of Creating Templates in InDesign

**Applies to:** Customer's Canvas On-Premises; Design Editor 6.15.0, 6.x (may differ) · **Archived documentation**
 
Customer's Canvas can import product templates from InDesign files.
 
## Valid InDesign Templates
  
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.
 
### Images
 
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](https://customerscanvas.com/docs/cc6/supported-markers.htm.md), you can enable **Auto-Fit** and use the following frame fitting options:
 
- **Fit Content to Frame** or **Fit Content Proportionally** to enable the **Fit** mode.
- **Fill Frame Proportionally** to enable the **Fill** mode.
- **None** to enable the **Original** mode.

Customer's Canvas supports scale, move, and rotate transforms. Other transforms are ignored.
 
### Shapes
 
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.
 
### Text
 
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](https://customerscanvas.com/docs/cc6/supported-markers.htm.md) by using the corresponding markers.
 
### Groups
 
Customer's Canvas allows you to both maintain groups of design elements and ungroup them when importing InDesign templates. The [FlattenGroups](https://customerscanvas.com/docs/cc6/aurigma-designatoms-config.htm.md) 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.
 
## Tutorial: Creating Your First Template
  
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:
 
1. **Create a new document**. On the **File** menu, click **New** &gt; **Document** and specify the size of 3.5x2.25 inches and the portrait orientation.
2. **Add a background image**. On the **File** menu, click **Place**.
3. **Add an image frame**. On the **Tools** panel, select an **Ellipse Frame Tool** and draw an ellipse.
4. **Add a photo**. For example, drag it from the Windows File Explorer to the ellipse frame.
5. **Add a name**. On the **Tools** panel, click the **Type Tool**, and drag to create a bounding rectangle, then enter the name.

As a result, you should get something like this:
 
![An IDML template.](https://customerscanvas.com/docs/cc6/images/IdmlTemplate.png)
 
## Converting Templates to IDML
  
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:
 
1. On the **File** menu, click **Package**.
2. In the **Package** dialog box, click **Fonts** and **Links and Images** to verify that fonts and images are available and there are no missing links, then click **Package**.
3. In the **Package Publication** dialog box, select and clear check boxes according to the following image: 
    ![InDesign package publication.](https://customerscanvas.com/docs/cc6/images/IdPackagePublication.png)
4. Click **Package**.

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:
 
![The IDML template loaded to the web-to-print designer.](https://customerscanvas.com/docs/cc6/images/IdmlTemplateInCc.png)
 
## Managing the Behavior of Design Elements
  
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](https://customerscanvas.com/docs/cc6/supported-markers.htm.md) 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:
 
![The elements List in the IDML template.](https://customerscanvas.com/docs/cc6/images/MarkersInIdml.png)
 
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.
 
## Preparing Customer's Canvas Templates from Existing InDesign Files
  
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.
 
### Images Do Not Load
 
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:
 
1. Open your IDML template right from the `\designs\` folder.
2. Navigate to the **Links** tab and specify the correct path.

As an alternative, you can embed these images in the IDML template:
 
- On the **Links** tab, right-click an image link, and then click **Embed Link**.

Ensure that image links have either the **OK** or **Embedded** status.
 
![Image Links in the IDML template.](https://customerscanvas.com/docs/cc6/images/IdmlImageLinks.png)
 
### Only the First Page Appears in the Editor
 
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](https://customerscanvas.com/docs/cc6/multipage-products.htm.md) interface and set the **file** property to this multipage template.
 
### Group Splits into Objects
 
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.
 
### Anything Else?
 
If your template is displaying incorrectly, you can [contact our tech team↗](https://customerscanvas.com/support) and send your zipped template to us. We will see what the problem is with it and suggest a solution.
 
## See Also
  
### Manual
 
- [Supported Markers](https://customerscanvas.com/docs/cc6/supported-markers.htm.md)
- [Gallery of InDesign templates](https://customerscanvas.com/docs/cc6/idml-samples.htm.md)

### Downloads
 
- [IDML template](https://customerscanvas.com/docs/cc6/samples/badge.zip)
