---
title: "Page and Flow"
slug: "page-and-flow"
abstract: ""
---
# Page and Flow

The Page and Flow elements contain the same attributes.

This table lists the use, (default) values, and description of the attributes of the page and flow elements.

|     |     |     |     |
| --- | --- | --- | --- |
| **Attribute** | **Use** | **Values (default value in bold)** | **Description** |
| Name | Implied |     | Only used for internal purposes by InDesign Connector. |
| SitecoreID | Implied |     | The SitecoreID attribute is used to identify each page object (TextFrame, ImageFrame, etc) with a corresponding Sitecore item. The SitecoreID attribute contains the ID value of that specific item. Each page object item created with the InDesign Connector is related to a Sitecore item.<br><br>When you use a script to create a page object (TextFrame, ImageFrame, etc), you should add the SitecoreID attribute and use a default value (e.g. *null*) to make the InDesign Connector identify this item. |
| Number | For Page: Required<br><br>For Flow: Implied |     | The number used to identify the page. If a page exists, the page objects are added to that specific page. If a page does not exist, a new page is created and the page objects are added to that new page. |
| ContNr | Implied | **True**<br><br>False | Continue from previous. Specifies whether page numbers continue from the previous section. If the attribute is not specified, the value is taken from the master document. |
| MasterPrefix | Required |     | The prefix of the master spread applied to the page. For example: *A*, *B, C* and so on. |
| MasterBase | Required |     | The name of the master spread applied to that page for example *Master*. |
| FlowMasterPrefix | Implied |     | The Prefix of the InDesign master document that is applied to flow pages. Used for Flow element. If value is not set, MasterBase/MasterPrefix value is used as fallback value. |
| FlowMasterBase | Implied |     | The name of the InDesign master document that is applied to flow pages. Used for Flow element. If value is not set, MasterBase/MasterPrefix value is used as fallback value. |
| Transition | Implied | Blinds<br><br>Box<br><br>Comb<br><br>Cover<br><br>Dissolve<br><br>Fade<br><br>PageTurn<br><br>Push<br><br>Split<br><br>Uncover<br><br>Wipe<br><br>ZoomIn<br><br>ZoomOut | Sets the page transition.<br><br>If the attribute value is empty no transition is applied. |
| Direction | Implied | Down<br><br>Left<br><br>LeftDown<br><br>LeftUp<br><br>Right<br><br>RightDown<br><br>RightUp<br><br>Up<br><br>In<br><br>Out<br><br>Horizontal<br><br>Vertical<br><br>HorizontalIn HorizontalOut<br><br>VerticalIn<br><br>VerticalOut | Sets the transition direction.<br><br>Direction values depend of the type of transition that is selected:<br><br>Blinds, Comb - Horizontal, Vertical<br><br>Box - In, Out<br><br>Cover, Push, Uncover, Wipe, ZoomIn, ZoomOut - Down, Left, LeftDown, LeftUp, Right, RightDown, RightUp, Up<br><br>Dissolve, Fade, PageTurn - no direction(empty)<br><br>Split - HorizontalIn, HorizontalOut<br><br>If the attribute value is empty no direction is applied. |
| Speed | Implied | Slow<br><br>**Medium**<br><br>Fast | Sets the transition speed. |
| HorizontalGuides | Implied |     | Shows the horizontal guides on the page in case the document is published through IDC. The value contains real numbers in mm split by \|. |
| VerticalGuides | Implied |     | Show the vertical guides on the page in case the document is published through IDC. The value contains real numbers in mm split by \|. |
| Margin | Implied | \[0, 11559.469\] | Pipeline separated list of page margin sizes in mm, in the following order:<br><br>Inside \| Outside \| Top \| Bottom. |
| Width | Implied |     | Sets the width of the page. The default value is fetched from the page preferences of the master document |
| Height | Implied |     | Sets the height of the page. The default value is fetched from the page preferences of the master document |