<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Dynamic Text Table Attribute &amp;amp; Arcade Expression for Street Index in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/dynamic-text-table-attribute-amp-arcade-expression/m-p/1201370#M58438</link>
    <description>&lt;P&gt;I looked closer at your Arcade expression Line 3 and revised Line 23 to follow its formatting.&amp;nbsp; I replaced your last line of Arcade expression with:&lt;/P&gt;&lt;P&gt;return `\n${$feature['StreetNames']}${dot_string}${$Feature['Section']}\n`&lt;/P&gt;&lt;P&gt;and it looks great.&amp;nbsp; Thank you so much for your help.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LindaKuhn_1-1660145375524.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/48275i97EB8523E635A134/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LindaKuhn_1-1660145375524.png" alt="LindaKuhn_1-1660145375524.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My final Arcade Expression looks like this:&lt;/P&gt;&lt;P&gt;// check for section header first&lt;BR /&gt;if (IsEmpty($feature['Section'])){&lt;BR /&gt;return `\n${$feature['StreetNames']}\n`&lt;BR /&gt;} else {&lt;BR /&gt;// build string&lt;BR /&gt;var text_len = Count($feature['StreetNames']) + Count($Feature['Section'])&lt;BR /&gt;Console('total text length ', text_len)&lt;BR /&gt;&lt;BR /&gt;// get number of remaining spaces between text&lt;BR /&gt;var spaces = 30 - text_len&lt;BR /&gt;&lt;BR /&gt;var dot_string = ' '&lt;BR /&gt;&lt;BR /&gt;// leaving at least two characters for spaces on either end, populate the rest of the dot string&lt;BR /&gt;for (var x=0; x &amp;lt; spaces-2; x++){&lt;BR /&gt;// add '.' for even-numbered iterations, ' ' for odd-numbered&lt;BR /&gt;dot_string += Iif(x % 2 == 0, '.', ' ')&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;dot_string += ' '&lt;BR /&gt;&lt;BR /&gt;// add full string to output&lt;BR /&gt;return `\n${$feature['StreetNames']}${dot_string}${$Feature['Section']}\n`&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Aug 2022 15:32:28 GMT</pubDate>
    <dc:creator>LindaKuhn</dc:creator>
    <dc:date>2022-08-10T15:32:28Z</dc:date>
    <item>
      <title>Dynamic Text Table Attribute &amp; Arcade Expression for Street Index</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/dynamic-text-table-attribute-amp-arcade-expression/m-p/1201249#M58423</link>
      <description>&lt;P&gt;I have a street map with a Street Index listing street names in alphabetical order and showing which section(s) those street are listed in.&amp;nbsp; I am trying to use the Dynamic Text - Table Attribute to create the Street Index from an Excel spreadsheet.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LindaKuhn_0-1660130232237.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/48234i9C161087E721CC8D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LindaKuhn_0-1660130232237.png" alt="LindaKuhn_0-1660130232237.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am using an Arcade expression to count the number of characters in the street name and the section(s) to then determine how many leader dots to place in between the street name and the section.&amp;nbsp; I've decided on a total character length of 30 as this should hold the longest street name and the longest section(s) and still allow a few leader dots in between the two.&lt;/P&gt;&lt;P&gt;This is a small sample of my Excel spreadsheet:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LindaKuhn_3-1660130856126.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/48238i247682D564CE71E3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LindaKuhn_3-1660130856126.png" alt="LindaKuhn_3-1660130856126.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Column A contains the street names and Column B contains the section(s) that particular street is found in on the map.&lt;/P&gt;&lt;P&gt;Looking at my Text Element, from the Insert Table Attribute I am using an Arcade expression.&amp;nbsp; I want the Arcade expression to add a blank row between the numeric street names and another blank row between the street names that start with A and another blank row between the street names that start with B, etc. to the end of the alphabet.&amp;nbsp; I am using the Arcade expression to count the total number of characters found in the street name and section(s) to determine how many leader dots to place in between the two words.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LindaKuhn_1-1660130456400.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/48235i5492AD8DA5725DF9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LindaKuhn_1-1660130456400.png" alt="LindaKuhn_1-1660130456400.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is what my Arcade expression looks like:&lt;/P&gt;&lt;P&gt;if ($feature.Section == null)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;return TextFormatting.NewLine + $feature.StreetNames + TextFormatting.NewLine&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;var a = $feature.StreetNames + $feature.Section&lt;/P&gt;&lt;P&gt;var b = Count(a)&lt;/P&gt;&lt;P&gt;var c = 30 - b&lt;/P&gt;&lt;P&gt;var d = c/2&lt;/P&gt;&lt;P&gt;var e = c%2&lt;/P&gt;&lt;P&gt;if (e == 0) {d = d +1}&lt;/P&gt;&lt;P&gt;var dotString = ""&lt;/P&gt;&lt;P&gt;for (var i=0; i&amp;lt;d; i++)&lt;/P&gt;&lt;P&gt;{dotString = dotString + ". "}&lt;/P&gt;&lt;P&gt;return $feature.StreetNames + " " + dotString + $feature.Section + TextFormatting.NewLine&lt;/P&gt;&lt;P&gt;(Note:&amp;nbsp; I'm not good with Arcade yet, so had to have a colleague help me with the above expression)&lt;/P&gt;&lt;P&gt;Because I have calculated the number of leader dots to have each line a total of 30 characters, I was expecting that my results would display as even straight columns ending at the same position on the right hand side, but that is not the results I'm getting.&amp;nbsp; &amp;nbsp;I have tried setting my Text symbol - Appearance - Position - Horizontal alignment as "Left", "Center", "Right" and "Justify" and none of them return even columns.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LindaKuhn_4-1660131412527.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/48239iCAFD67F672DC3E88/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LindaKuhn_4-1660131412527.png" alt="LindaKuhn_4-1660131412527.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have tried using several monospaced fonts (Lucida Sans Typewriter, Simsun, Courier New) and this doesn't help either.&amp;nbsp; This is the results I am getting.&amp;nbsp; The right hand side of the columns is uneven.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LindaKuhn_5-1660131450464.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/48240i9C88B1AD02ABC305/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LindaKuhn_5-1660131450464.png" alt="LindaKuhn_5-1660131450464.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I used to make this map in ArcMap using 8 individual Text Boxes where I manually typed the street name, the leader dots and the section, hit the hard return after each line and used the full justify position.&amp;nbsp; The result was very neat looking but hard to maintain whenever new streets were built.&amp;nbsp; If the new street started with the letter "C" it would be added in the second text box in alphabetical order and then the last street from each text box to the right of it would have to be manually moved to the top of the next text box.&amp;nbsp; I'm trying to transfer this map to ArcGIS Pro and take advantage of its newer functionality but can't get results to be even on both sides of each column.&amp;nbsp; This is what the street index looks like in ArcMap using individual text boxes:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LindaKuhn_7-1660131693748.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/48242i06BDC69FD456809B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LindaKuhn_7-1660131693748.png" alt="LindaKuhn_7-1660131693748.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any suggestions/ideas would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 11:49:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/dynamic-text-table-attribute-amp-arcade-expression/m-p/1201249#M58423</guid>
      <dc:creator>LindaKuhn</dc:creator>
      <dc:date>2022-08-10T11:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Text Table Attribute &amp; Arcade Expression for Street Index</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/dynamic-text-table-attribute-amp-arcade-expression/m-p/1201261#M58424</link>
      <description>&lt;P&gt;I tried accomplishing this with some sample data, and here's what worked for me:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt; // check for section header first
    if (IsEmpty(s['Section'])){
        return `\n${s['StreetNames']}\n`
    } else {
        // build string
        var text_len = Count(s['StreetNames']) + Count(s['Section'])
        Console('total text length ', text_len)
        
        // get number of remaining spaces between text
        var spaces = 30 - text_len
        
        var dot_string = ' '
        
        // leaving at least two characters for spaces on either end, populate the rest of the dot string
        for (var x=0; x &amp;lt; spaces-2; x++){
            // add '.' for even-numbered iterations, ' ' for odd-numbered
            dot_string += Iif(x % 2 == 0, '.', ' ')
        }
        
        dot_string += ' '
        
        // add full string to output
        return `${s['StreetNames']}${dot_string}${s['Section']}\n`
    }&lt;/LI-CODE&gt;&lt;P&gt;A few pointers:&lt;/P&gt;&lt;P&gt;I like to use template literals for building strings. Instead of &lt;STRONG&gt;$feature.attribute1 + ', ' + $feature.attribute2 + TextFormatting.NewLine&lt;/STRONG&gt;, you could have &lt;STRONG&gt;`${feature.attribute1}, ${feature.attribute2}\n`.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;For building the dot string, I did things a bit differently with the for loop. Rather than iterate over once for every two characters in the remaining space, it would take the left over characters (30 - street name and sections) and alternate between '.' and ' ', leaving room on both ends for a space.&lt;/P&gt;&lt;P&gt;It seems to work well enough, though the dots don't always align vertically from row to row. You could further modify this to get those dots to align nicely, but here's what my expression produces.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcarlson_0-1660135733197.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/48243i4BC431C36277168D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcarlson_0-1660135733197.png" alt="jcarlson_0-1660135733197.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 12:51:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/dynamic-text-table-attribute-amp-arcade-expression/m-p/1201261#M58424</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2022-08-10T12:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Text Table Attribute &amp; Arcade Expression for Street Index</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/dynamic-text-table-attribute-amp-arcade-expression/m-p/1201262#M58425</link>
      <description>&lt;P&gt;PS - Since I was using sample data, I accessed the features with a made-up variable &lt;STRONG&gt;s&lt;/STRONG&gt;. Just replace those with $feature to apply this to your own situation.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 12:52:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/dynamic-text-table-attribute-amp-arcade-expression/m-p/1201262#M58425</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2022-08-10T12:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Text Table Attribute &amp; Arcade Expression for Street Index</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/dynamic-text-table-attribute-amp-arcade-expression/m-p/1201322#M58431</link>
      <description>&lt;P&gt;Thank you very much for responding to my post.&amp;nbsp; I took your arcade expression and replaced the variable&amp;nbsp;&lt;STRONG&gt;s&lt;/STRONG&gt; with $feature per your P.S.&amp;nbsp; My arcade expression looks like this:&lt;/P&gt;&lt;P&gt;// check for section header first&lt;BR /&gt;if (IsEmpty($feature['Section'])){&lt;BR /&gt;return `\n${$feature['StreetNames']}\n`&lt;BR /&gt;} else {&lt;BR /&gt;// build string&lt;BR /&gt;var text_len = Count(s['StreetNames']) + Count(s['Section'])&lt;BR /&gt;Console('total text length ', text_len)&lt;BR /&gt;&lt;BR /&gt;// get number of remaining spaces between text&lt;BR /&gt;var spaces = 30 - text_len&lt;BR /&gt;&lt;BR /&gt;var dot_string = ' '&lt;BR /&gt;&lt;BR /&gt;// leaving at least two characters for spaces on either end, populate the rest of the dot string&lt;BR /&gt;for (var x=0; x &amp;lt; spaces-2; x++){&lt;BR /&gt;// add '.' for even-numbered iterations, ' ' for odd-numbered&lt;BR /&gt;dot_string += Iif(x % 2 == 0, '.', ' ')&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;dot_string += ' '&lt;BR /&gt;&lt;BR /&gt;// add full string to output&lt;BR /&gt;return `${s['StreetNames']}${dot_string}${s['Section']}\n`&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;My result is only showing the headings and none of the street names&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LindaKuhn_1-1660141494312.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/48255i263967D6C2CF1D5B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LindaKuhn_1-1660141494312.png" alt="LindaKuhn_1-1660141494312.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Did I misunderstand something?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 14:26:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/dynamic-text-table-attribute-amp-arcade-expression/m-p/1201322#M58431</guid>
      <dc:creator>LindaKuhn</dc:creator>
      <dc:date>2022-08-10T14:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Text Table Attribute &amp; Arcade Expression for Street Index</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/dynamic-text-table-attribute-amp-arcade-expression/m-p/1201349#M58435</link>
      <description>&lt;P&gt;You've still got a handful of s variables in the expression you posted.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 14:58:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/dynamic-text-table-attribute-amp-arcade-expression/m-p/1201349#M58435</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2022-08-10T14:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Text Table Attribute &amp; Arcade Expression for Street Index</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/dynamic-text-table-attribute-amp-arcade-expression/m-p/1201362#M58437</link>
      <description>&lt;P&gt;Yes, I see that I missed a couple of&amp;nbsp;&lt;STRONG&gt;s&amp;nbsp;&lt;/STRONG&gt;variables.&amp;nbsp; Now that I've updated the Arcade expression again it looks like this:&lt;/P&gt;&lt;P&gt;// check for section header first&lt;BR /&gt;if (IsEmpty($feature['Section'])){&lt;BR /&gt;return `\n${$feature['StreetNames']}\n`&lt;BR /&gt;} else {&lt;BR /&gt;// build string&lt;BR /&gt;var text_len = Count($feature['StreetNames']) + Count($Feature['Section'])&lt;BR /&gt;Console('total text length ', text_len)&lt;BR /&gt;&lt;BR /&gt;// get number of remaining spaces between text&lt;BR /&gt;var spaces = 30 - text_len&lt;BR /&gt;&lt;BR /&gt;var dot_string = ' '&lt;BR /&gt;&lt;BR /&gt;// leaving at least two characters for spaces on either end, populate the rest of the dot string&lt;BR /&gt;for (var x=0; x &amp;lt; spaces-2; x++){&lt;BR /&gt;// add '.' for even-numbered iterations, ' ' for odd-numbered&lt;BR /&gt;dot_string += Iif(x % 2 == 0, '.', ' ')&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;dot_string += ' '&lt;BR /&gt;&lt;BR /&gt;// add full string to output&lt;BR /&gt;return `${Feature$['StreetNames']}${dot_string}${$Feature['Section']}\n`&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;but these revisions didn't change the end results.&amp;nbsp; I still am only getting the headings and none of the street names:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LindaKuhn_0-1660144093016.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/48273i7A1ECF09AFA4AC23/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LindaKuhn_0-1660144093016.png" alt="LindaKuhn_0-1660144093016.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 15:17:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/dynamic-text-table-attribute-amp-arcade-expression/m-p/1201362#M58437</guid>
      <dc:creator>LindaKuhn</dc:creator>
      <dc:date>2022-08-10T15:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Text Table Attribute &amp; Arcade Expression for Street Index</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/dynamic-text-table-attribute-amp-arcade-expression/m-p/1201370#M58438</link>
      <description>&lt;P&gt;I looked closer at your Arcade expression Line 3 and revised Line 23 to follow its formatting.&amp;nbsp; I replaced your last line of Arcade expression with:&lt;/P&gt;&lt;P&gt;return `\n${$feature['StreetNames']}${dot_string}${$Feature['Section']}\n`&lt;/P&gt;&lt;P&gt;and it looks great.&amp;nbsp; Thank you so much for your help.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LindaKuhn_1-1660145375524.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/48275i97EB8523E635A134/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LindaKuhn_1-1660145375524.png" alt="LindaKuhn_1-1660145375524.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My final Arcade Expression looks like this:&lt;/P&gt;&lt;P&gt;// check for section header first&lt;BR /&gt;if (IsEmpty($feature['Section'])){&lt;BR /&gt;return `\n${$feature['StreetNames']}\n`&lt;BR /&gt;} else {&lt;BR /&gt;// build string&lt;BR /&gt;var text_len = Count($feature['StreetNames']) + Count($Feature['Section'])&lt;BR /&gt;Console('total text length ', text_len)&lt;BR /&gt;&lt;BR /&gt;// get number of remaining spaces between text&lt;BR /&gt;var spaces = 30 - text_len&lt;BR /&gt;&lt;BR /&gt;var dot_string = ' '&lt;BR /&gt;&lt;BR /&gt;// leaving at least two characters for spaces on either end, populate the rest of the dot string&lt;BR /&gt;for (var x=0; x &amp;lt; spaces-2; x++){&lt;BR /&gt;// add '.' for even-numbered iterations, ' ' for odd-numbered&lt;BR /&gt;dot_string += Iif(x % 2 == 0, '.', ' ')&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;dot_string += ' '&lt;BR /&gt;&lt;BR /&gt;// add full string to output&lt;BR /&gt;return `\n${$feature['StreetNames']}${dot_string}${$Feature['Section']}\n`&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 15:32:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/dynamic-text-table-attribute-amp-arcade-expression/m-p/1201370#M58438</guid>
      <dc:creator>LindaKuhn</dc:creator>
      <dc:date>2022-08-10T15:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Text Table Attribute &amp; Arcade Expression for Street Index</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/dynamic-text-table-attribute-amp-arcade-expression/m-p/1204686#M58886</link>
      <description>&lt;P&gt;Another approach to consider is to use a table frame for the index. There's not a specific mechanism to add dot leaders, but with some formatting of the table frame parts you could achieve a similar look without requiring the use of a monospace font.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Steps:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;First, format the vertical alignment of the data text of the page number field to right justified.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Add dot leader style to table frame rows&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In the table frame properties, set&amp;nbsp;&amp;nbsp;&lt;EM&gt;Background 1&lt;/EM&gt; and &lt;EM&gt;Background 2&lt;/EM&gt; to 1 row each.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then click the symbol next to &lt;EM&gt;Background 1&lt;/EM&gt; to edit the background style. Here's where to add in a dotted style to the bottom of the text row.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JesseWickizer_1-1660931780961.png" style="width: 297px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/49036i81D89445D9FAD2BD/image-dimensions/297x434?v=v2" width="297" height="434" role="button" title="JesseWickizer_1-1660931780961.png" alt="JesseWickizer_1-1660931780961.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Change the fill style to Hatched fill with 90 degree angle and about 8pt separation (adjust separation amount as you prefer).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JesseWickizer_0-1660931545428.png" style="width: 363px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/49035iDF588D33CD7C93FF/image-dimensions/363x325?v=v2" width="363" height="325" role="button" title="JesseWickizer_0-1660931545428.png" alt="JesseWickizer_0-1660931545428.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Edit the &lt;EM&gt;Hatch line symbol&lt;/EM&gt; further by clicking &lt;EM&gt;Format line symbol...&lt;/EM&gt; in the symbol menu.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JesseWickizer_0-1660932116930.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/49037i9642FD547525125C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JesseWickizer_0-1660932116930.png" alt="JesseWickizer_0-1660932116930.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Click the &lt;EM&gt;Structure&lt;/EM&gt; tab (wrench symbol) then add a new Marker layer.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JesseWickizer_1-1660932224912.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/49038i9041F6B7F7E6AEF0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JesseWickizer_1-1660932224912.png" alt="JesseWickizer_1-1660932224912.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Delete the original line layer leaving only the marker layer.&lt;/P&gt;&lt;P&gt;Edit the marker layer properties to create the repeating dot style.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Size: 1pt&lt;/LI&gt;&lt;LI&gt;Scale proportionally: UN-check&lt;/LI&gt;&lt;LI&gt;Marker placement: At extremities&lt;/LI&gt;&lt;LI&gt;Extremities: At begin&lt;/LI&gt;&lt;LI&gt;Offset: 3pt&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JesseWickizer_2-1660932588618.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/49039i30A8997DD70E29D0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JesseWickizer_2-1660932588618.png" alt="JesseWickizer_2-1660932588618.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now set the same style for the &lt;EM&gt;Background 2&lt;/EM&gt; style.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Clean up extra dots&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This also leaves dots in places we don't want, such as before and after the text and overlapping the text so the next step is to fix this.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JesseWickizer_3-1660933446205.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/49040i6EE1D1B63BCF82D3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JesseWickizer_3-1660933446205.png" alt="JesseWickizer_3-1660933446205.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Start by narrowing the space between the text and border (horizontal) in the Table frame properties. This will cover the dots hanging off the beginning and end of the text.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JesseWickizer_4-1660934091043.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/49041iE371EC78E7C533C5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JesseWickizer_4-1660934091043.png" alt="JesseWickizer_4-1660934091043.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Next, edit the text symbol for the fields to add a background callout in the same color as the layout background - white in this case. I used 2px left and right margin to cover dots that are too close to the text but try other sizes that look best.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JesseWickizer_9-1660934720551.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/49042i785A60FF58B2F09D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JesseWickizer_9-1660934720551.png" alt="JesseWickizer_9-1660934720551.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Moving the table frame over a gray background reveals how it's constructed - add a white background to the whole table frame element or ensure it's paced over a white or matching background in the layout.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JesseWickizer_10-1660934900242.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/49043i1C819F64110062C4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JesseWickizer_10-1660934900242.png" alt="JesseWickizer_10-1660934900242.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JesseWickizer_12-1660934990357.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/49045i206589CF0386F02C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JesseWickizer_12-1660934990357.png" alt="JesseWickizer_12-1660934990357.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2022 18:56:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/dynamic-text-table-attribute-amp-arcade-expression/m-p/1204686#M58886</guid>
      <dc:creator>JesseWickizer</dc:creator>
      <dc:date>2022-08-19T18:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Text Table Attribute &amp; Arcade Expression for Street Index</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/dynamic-text-table-attribute-amp-arcade-expression/m-p/1684474#M101915</link>
      <description>&lt;P&gt;First. Thank for the arcade script. It was very helpful. I'm having trouble getting the same results you shared in your screen shot. Mainly, the right justified section/grid value. I've tried modifying line 23 with the &amp;lt;Align&amp;gt; tag but without any luck. Here's my version:&amp;nbsp;&lt;/P&gt;&lt;P&gt;return `\n${"&amp;lt;ALIGN horizontal='left'&amp;gt;"+$feature['Full_Street']+"&amp;lt;/ALIGN&amp;gt;"}${dot_string}${"&amp;lt;ALIGN horizontal='right'&amp;gt;"+$Feature['Grid']+"&amp;lt;/ALIGN&amp;gt;"}\n`&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2026-02-13 154932.png" style="width: 556px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/148446i7227B5E853CFBF67/image-dimensions/556x394?v=v2" width="556" height="394" role="button" title="Screenshot 2026-02-13 154932.png" alt="Screenshot 2026-02-13 154932.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any suggestions would be much appreciated. I also have streets which have more than 20 characters. I need to figure out how to wrap the text after 15 characters to a newline until all the grid values are all shown and right justified.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've got it setup in table frame but its taking more space with the grid lines than I have available on my street map.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2026-02-13 155258.png" style="width: 658px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/148447i6C2FCA28DCC569BC/image-dimensions/658x467?v=v2" width="658" height="467" role="button" title="Screenshot 2026-02-13 155258.png" alt="Screenshot 2026-02-13 155258.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Appreciate what you provided already! Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Feb 2026 23:53:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/dynamic-text-table-attribute-amp-arcade-expression/m-p/1684474#M101915</guid>
      <dc:creator>BrianCoward1</dc:creator>
      <dc:date>2026-02-13T23:53:55Z</dc:date>
    </item>
  </channel>
</rss>

