{"id":367,"date":"2021-12-17T15:44:46","date_gmt":"2021-12-17T15:44:46","guid":{"rendered":"https:\/\/logicbuilder.integroscrm.com\/help\/?page_id=367"},"modified":"2022-07-28T12:56:20","modified_gmt":"2022-07-28T12:56:20","slug":"get-array-paths-for-template","status":"publish","type":"page","link":"https:\/\/logicbuilder.integroscrm.com\/help\/get-array-paths-for-template\/","title":{"rendered":"Get Array Paths For Template"},"content":{"rendered":"\n<a name=\"abstract\"><\/a>Returns full paths by the provided template. Can be used to update nested elements in Array for getting a&nbsp;<span style=\"color:#9ed267;\">Path<\/span>&nbsp;value for&nbsp;<a href=\"https:\/\/logicbuilder.integroscrm.com\/help\/set-array-element\/\">Set Array Element<\/a><\/p>\n\n\n\n<p><strong>inputs:<\/strong><\/p>\n\n\n\n<p><span style=\"color:#6888c9;\">array<\/span>&nbsp;&#8211; link with array which elements paths are needed<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Required: yes<\/li><\/ul>\n\n\n\n<p><span style=\"color:#9ed267;\">pathTemplate<\/span>&nbsp;&#8211; input path template to the elements which full paths are needed in the output. The path consists of the names of elements and is separated by dots. Part of the path of nested elements must be set with wildcard *.<\/p>\n\n\n\n<p><strong>outputs:<\/strong><\/p>\n\n\n\n<p>elements&nbsp;&#8211;&nbsp;array of find elements paths. Use this output as input into&nbsp;<a href=\"https:\/\/logicbuilder.integroscrm.com\/help\/for-each-element\/\">For Each Element<\/a>.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"252\" src=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/get-array-paths-for-template-1-1024x252.png\" alt=\"\" class=\"wp-image-366\" srcset=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/get-array-paths-for-template-1-1024x252.png 1024w, https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/get-array-paths-for-template-1-300x74.png 300w, https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/get-array-paths-for-template-1-768x189.png 768w, https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/get-array-paths-for-template-1.png 1238w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<div style=\"text-align:left\" class=\"yasr-auto-insert-visitor\"><!--Yasr Visitor Votes Shortcode--><div id='yasr_visitor_votes_367' class='yasr-visitor-votes'><div class=\"yasr-custom-text-vv-before yasr-custom-text-vv-before-367\">Click to rate this post!<\/div><div id='yasr-vv-second-row-container-8a6c4f096e99d' \n                                        class='yasr-vv-second-row-container'><div id='yasr-visitor-votes-rater-8a6c4f096e99d'\n                                      class='yasr-rater-stars-vv'\n                                      data-rater-postid='367' \n                                      data-rating='0'\n                                      data-rater-starsize='24'\n                                      data-rater-readonly='false'\n                                      data-rater-nonce='fa81b01ba5' \n                                      data-issingular='false'\n                                    ><\/div><div class=\"yasr-vv-stats-text-container\" id=\"yasr-vv-stats-text-container-8a6c4f096e99d\"><svg xmlns=\"https:\/\/www.w3.org\/2000\/svg\" width=\"20\" height=\"20\" \n                               class=\"yasr-dashicons-visitor-stats\"\n                               data-postid=\"367\" \n                               id=\"yasr-stats-dashicon-8a6c4f096e99d\">\n                            <path d=\"M18 18v-16h-4v16h4zM12 18v-11h-4v11h4zM6 18v-8h-4v8h4z\"><\/path>\n                          <\/svg><span id=\"yasr-vv-text-container-8a6c4f096e99d\" class=\"yasr-vv-text-container\">[Total: <span id=\"yasr-vv-votes-number-container-8a6c4f096e99d\">0<\/span>  Average: <span id=\"yasr-vv-average-container-8a6c4f096e99d\">0<\/span>]<\/span><\/div><div id='yasr-vv-loader-8a6c4f096e99d' class='yasr-vv-container-loader'><\/div><\/div><div id='yasr-vv-bottom-container-8a6c4f096e99d' class='yasr-vv-bottom-container'><\/div><\/div><!--End Yasr Visitor Votes Shortcode--><\/div>","protected":false},"excerpt":{"rendered":"<p>Returns full paths by the provided template. Can be used to update nested elements in Array for getting a&nbsp;Path&nbsp;value for&nbsp;Set Array Element inputs: array&nbsp;&#8211; link with array which elements paths are needed Required: yes pathTemplate&nbsp;&#8211; input path template to the elements which full paths are needed in the output. The path consists of the names &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/logicbuilder.integroscrm.com\/help\/get-array-paths-for-template\/\"> <span class=\"screen-reader-text\">Get Array Paths For Template<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"yasr_overall_rating":0,"yasr_post_is_review":"","yasr_auto_insert_disabled":"","yasr_review_type":"","footnotes":""},"tags":[],"class_list":["post-367","page","type-page","status-publish","hentry"],"yasr_visitor_votes":{"number_of_votes":0,"sum_votes":0,"stars_attributes":{"read_only":false,"span_bottom":false}},"_links":{"self":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages\/367","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/comments?post=367"}],"version-history":[{"count":9,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages\/367\/revisions"}],"predecessor-version":[{"id":1994,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages\/367\/revisions\/1994"}],"wp:attachment":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/media?parent=367"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/tags?post=367"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}