{"id":4934,"date":"2023-02-03T11:08:56","date_gmt":"2023-02-03T11:08:56","guid":{"rendered":"https:\/\/info.documotor.com\/?page_id=4934"},"modified":"2023-02-03T11:10:25","modified_gmt":"2023-02-03T11:10:25","slug":"list","status":"publish","type":"page","link":"https:\/\/info.documotor.com\/?page_id=4934","title":{"rendered":"List"},"content":{"rendered":"\n<p>Works similar to the <a href=\"https:\/\/info.documotor.com\/?page_id=640\" data-type=\"URL\" data-id=\"https:\/\/info.documotor.com\/?page_id=640\">Repeat<\/a> binding type, except when the marked range of the document contains a list. In this case the <code>List<\/code> binding type will update the list, while <code>Repeat<\/code> would repeat the first entry without updating the list. <\/p>\n\n\n\n<p>The scope of the content 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\": \"List\", \"BindingKey\": \"ArrayPath\" }<\/code><\/pre>\n\n\n\n<h3>Parameters<\/h3>\n\n\n\n<p><strong>BindingType:<\/strong> Static. Must be &#8220;List&#8221;.<br><strong>BindingKey<\/strong>: array, The array to create the list from.<\/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 listed. Beware the change in scope for field bindings nested within repeater bindings.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Works similar to the Repeat binding type, except when the marked range of the document contains a list. In this case the List binding type will update the list, while Repeat would repeat the first entry without updating the list. The scope of the content 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\/4934"}],"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=4934"}],"version-history":[{"count":2,"href":"https:\/\/info.documotor.com\/index.php?rest_route=\/wp\/v2\/pages\/4934\/revisions"}],"predecessor-version":[{"id":4937,"href":"https:\/\/info.documotor.com\/index.php?rest_route=\/wp\/v2\/pages\/4934\/revisions\/4937"}],"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=4934"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}