{"id":640,"date":"2021-02-19T10:24:33","date_gmt":"2021-02-19T10:24:33","guid":{"rendered":"http:\/\/167.71.55.215\/?page_id=640"},"modified":"2023-02-03T11:10:32","modified_gmt":"2023-02-03T11:10:32","slug":"repeat","status":"publish","type":"page","link":"https:\/\/info.documotor.com\/?page_id=640","title":{"rendered":"Repeat"},"content":{"rendered":"\n<p>This binding type is used to mark sections of your Word template that you want repeated. <\/p>\n\n\n\n<p>It works similarly to the <a href=\"https:\/\/info.documotor.com\/?page_id=4934\">List<\/a> binding type, but will simply duplicate it&#8217;s content without any special consideration for what that content is. <\/p>\n\n\n\n<p>The scope of the bound data is changed to the current element being iterated through.<\/p>\n\n\n\n<h3>Syntax<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"json\" class=\"language-json\">{ \"BindingType\": \"Repeat\", \"BindingKey\": \"ArrayPath\", \"Separator\": \"SeparatorText\" }<\/code><\/pre>\n\n\n\n<h3>Parameters<\/h3>\n\n\n\n<p><strong>BindingType:<\/strong> Static. Must be &#8220;Repeat&#8221;.<br><strong>BindingKey: <\/strong>The array to create the duplicated content from.<br><strong>SeparatorText:<\/strong> String. Optional. If&nbsp;this parameter is not an empty string, it will be appended to the end of each repeated element, except for the last one.<\/p>\n\n\n\n<h3>Notes<\/h3>\n\n\n\n<p><strong>Repeating fields<\/strong><\/p>\n\n\n\n<p>It is possible to include <a href=\"https:\/\/info.documotor.com\/?page_id=4229\">fields<\/a> in the range that should be repeated. Beware the change in scope for field bindings nested within repeater bindings.<\/p>\n\n\n\n<p><strong>Repeating rows<\/strong><\/p>\n\n\n\n<p>The <code>Repeat<\/code> binding type can be used to repeat single rows in a table. Make sure the row is included in the repeater&#8217;s range.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This binding type is used to mark sections of your Word template that you want repeated. It works similarly to the List binding type, but will simply duplicate it&#8217;s content without any special consideration for what that content is. The scope of the bound data is changed to the current element being iterated through. Syntax [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"parent":148,"menu_order":2,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/info.documotor.com\/index.php?rest_route=\/wp\/v2\/pages\/640"}],"collection":[{"href":"https:\/\/info.documotor.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/info.documotor.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/info.documotor.com\/index.php?rest_route=\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/info.documotor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=640"}],"version-history":[{"count":15,"href":"https:\/\/info.documotor.com\/index.php?rest_route=\/wp\/v2\/pages\/640\/revisions"}],"predecessor-version":[{"id":4938,"href":"https:\/\/info.documotor.com\/index.php?rest_route=\/wp\/v2\/pages\/640\/revisions\/4938"}],"up":[{"embeddable":true,"href":"https:\/\/info.documotor.com\/index.php?rest_route=\/wp\/v2\/pages\/148"}],"wp:attachment":[{"href":"https:\/\/info.documotor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=640"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}