Slide bindings

Bindings that are placed directly into the text of a slide

Slide bindings usually insert or modify a piece of text, and are therefore are placed directly where the content should be inserted, or around the content that should be modified.

List of slide bindings

Here's a complete list of bindings that can be placed directly into the slide.

Slide bindingDescription
FieldInsert text.
ListDisplay contents of an array as an inline or bulleted list.
ReferenceAdd a reference to another part of the presentation.
RichHtmlTextInsert html-formatted text into a document.
RowRepeatRepeat rows in a table based on available data.
SlideInfoDisplay slide info.
TextColorChange the text color.
TextHyperlinkAdd a hyperlink to a portion of text.
VisibleToggle the visibility of a portion of text.


The slide bindings can also be placed into the Notes pane, with the same syntax.

Abbreviated bindings

When bindings get long and perhaps need to be used multiple places, or you simply want a cleaner look, you can define variables as abbreviations of bindings in the notes of the slide. For example, you can add the following into the notes:

#-- DocuMotor-Binding-Variables --#
V1: <<Visible:someLongJsonPathForShowingField>>
F1: <<Field:someLongJsonPathForInsertingText>>
#-- DocuMotor-Binding-Variables-End --#

The first and last line are necessary for Documotor to parse the abbreviations. You can then use variables instead of bindings in text like this:






Insert the value of the received path into the slide.


JSON path TextPath

A path to the value to insert.



Repeat the content within the binding once for each element in the argument array. The element is used as the input data for the duplicated content.


JSON path ArrayPath

A path to the array to iterate over.


The placement of the left and right bounds of the binding affects the output. Here is a couple of examples:

The placement of the binding that repeats the bullet containing the name property.

The placement of the binding that repeats the bullet containing the name property.

The placement of the binding that repeats all the names under a single bullet.

The placement of the binding that repeats all the names under a single bullet.

The outputs of the two example bindings.

The outputs of the two example bindings.



Add a link to a different slide. To be able to reference a slide, you must first register it. To register a slide, add the following to the notes of the slide:

#-- Documotor-References --#
#-- Documotor-References-End --#

Each ReferencePath in the notes needs to be separated with a line break.


JSON path NoteReferencePath

A path leading to the name that will be used as a reference to the slide.

JSON path ReferencePath

A path leading to the slide reference, which will link to the slide which has been tagged with the same value.




Insert html-formatted text into the document. The html doesn’t need to be a full document, but the paragraphs do need to be tagged. For example, the string "This is a text with <b>bold</b> text" is not a valid format, but "<p>This is a text with <b>bold</b> text.</p>"\ is valid.


JSON path HtmlPath

A path to the HTML document to insert into the slide.


It is possible to define a user style through a JSON in the alt text of the text box. The JSON is removed in the generated presentation. Read HTML text formatting for complete lists of supported user styles and HTML tags in Documotor, as well as examples.



Replicate rows in a table once for each element of $arrayPath. The scope in the nth row is set to the nth element of the array. Similar to the repeat binding in Word.



The path to the array that defines the number of rows and the scope for each row.




Insert information about the slide. Currently, the only info that's supported is inserting slide numbers.


string SlideInfoType

Currently, must be equal to Index, to show slide numbers.



Set text color within the binding scope.


JSON path ColorPath

A path to a key whose value is a string with RGB format, e.g., "255,0,0".



When the binding surrounds a link in the text, changes the link to the one specified in UrlPath. If there are multiple links, only the first one will be changed.


JSON path UrlPath

A path to the URL string to insert.



Shows the content inside the binding if TestPath evaluates to true, otherwise the content is removed.


JSON path TestPath

A path to the value to be evaluated.