1. The Page elements

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.

AttributeUseValues (default value in bold)Description
NameImpliedOnly used for internal purposes by InDesign Connector.
SitecoreIDImpliedThe 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.

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.
NumberFor Page: Required

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.
ContNrImpliedTrue

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.
MasterPrefixRequiredThe prefix of the master spread applied to the page. For example: A, B, C and so on.
MasterBaseRequiredThe name of the master spread applied to that page for example Master.
FlowMasterPrefixImpliedThe 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.
FlowMasterBaseImpliedThe 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.
TransitionImpliedBlinds

Box

Comb

Cover

Dissolve

Fade

PageTurn

Push

Split

Uncover

Wipe

ZoomIn

ZoomOut
Sets the page transition.

If the attribute value is empty no transition is applied.
DirectionImpliedDown

Left

LeftDown

LeftUp

Right

RightDown

RightUp

Up

In

Out

Horizontal

Vertical

HorizontalIn HorizontalOut

VerticalIn

VerticalOut
Sets the transition direction.

Direction values depend of the type of transition that is selected:

Blinds, Comb - Horizontal, Vertical

Box - In, Out

Cover, Push, Uncover, Wipe, ZoomIn, ZoomOut - Down, Left, LeftDown, LeftUp, Right, RightDown, RightUp, Up

Dissolve, Fade, PageTurn - no direction(empty)

Split - HorizontalIn, HorizontalOut

If the attribute value is empty no direction is applied.
SpeedImpliedSlow

Medium

Fast
Sets the transition speed.
HorizontalGuidesImpliedShows the horizontal guides on the page in case the document is published through IDC. The value contains real numbers in mm split by |.
VerticalGuidesImpliedShow the vertical guides on the page in case the document is published through IDC. The value contains real numbers in mm split by |.
MarginImplied[0, 11559.469]Pipeline separated list of page margin sizes in mm, in the following order:

Inside | Outside | Top | Bottom.
WidthImpliedSets the width of the page. The default value is fetched from the page preferences of the master document
HeightImpliedSets the height of the page. The default value is fetched from the page preferences of the master document
If you have suggestions for improving this article, let us know!