<?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 Conditional display - dynamic text on data driven page in Mapping Questions</title>
    <link>https://community.esri.com/t5/mapping-questions/conditional-display-dynamic-text-on-data-driven/m-p/121044#M1385</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In a grid map in Layout view with data driven pages enabled, I added dynamic text to show the grid number of grid squares adjoining the square that has the focus (i.e., GridNumber_S. GridNumber_E, etc). This works fine until a square is at the end of a row or column, where ther is no adjoing square on that side. Then the text displays '[empty]'. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Short of adding empty spaces to all the empty fields to trick the dynamic text engine, is there a way to only display the text if there's text in the field? A simple If statement would do the job, but I don't see anywhere to do this. Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Nov 2012 15:51:02 GMT</pubDate>
    <dc:creator>Zeke</dc:creator>
    <dc:date>2012-11-09T15:51:02Z</dc:date>
    <item>
      <title>Conditional display - dynamic text on data driven page</title>
      <link>https://community.esri.com/t5/mapping-questions/conditional-display-dynamic-text-on-data-driven/m-p/121044#M1385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In a grid map in Layout view with data driven pages enabled, I added dynamic text to show the grid number of grid squares adjoining the square that has the focus (i.e., GridNumber_S. GridNumber_E, etc). This works fine until a square is at the end of a row or column, where ther is no adjoing square on that side. Then the text displays '[empty]'. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Short of adding empty spaces to all the empty fields to trick the dynamic text engine, is there a way to only display the text if there's text in the field? A simple If statement would do the job, but I don't see anywhere to do this. Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2012 15:51:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/conditional-display-dynamic-text-on-data-driven/m-p/121044#M1385</guid>
      <dc:creator>Zeke</dc:creator>
      <dc:date>2012-11-09T15:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional display - dynamic text on data driven page</title>
      <link>https://community.esri.com/t5/mapping-questions/conditional-display-dynamic-text-on-data-driven/m-p/121045#M1386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Let me know if that doesn't answer your question.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That is one of the best answers I've ever seen. Exactly to the point. Thank you very much. Have a great weekend.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2012 18:25:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/conditional-display-dynamic-text-on-data-driven/m-p/121045#M1386</guid>
      <dc:creator>Zeke</dc:creator>
      <dc:date>2012-11-09T18:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional display - dynamic text on data driven page</title>
      <link>https://community.esri.com/t5/mapping-questions/conditional-display-dynamic-text-on-data-driven/m-p/121046#M1387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where's the answer? Maybe I'm blind since they've changed this website format...again. But I don't see it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2016 16:30:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/conditional-display-dynamic-text-on-data-driven/m-p/121046#M1387</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2016-04-11T16:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional display - dynamic text on data driven page</title>
      <link>https://community.esri.com/t5/mapping-questions/conditional-display-dynamic-text-on-data-driven/m-p/121047#M1388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems like answers are getting lost when old posts are getting ported over.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The answer can be found in the help. For example, in this topic:&lt;/P&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/arcmap/latest/map/page-layouts/using-dynamic-text-with-data-driven-pages.htm"&gt;http://desktop.arcgis.com/en/arcmap/latest/map/page-layouts/using-dynamic-text-with-data-driven-pages.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The brief answer is, when the string is empty, you can tell it to use any user-defined default text (or just make it blank; not sure if it would need a blank space as a sort of place holder or if it can be totally empty) by doing something like this (adjusted for your particular case, of course):&lt;/P&gt;&lt;P&gt;&lt;SPAN class="usertext"&gt;&amp;lt;dyn type="page" property="PageName_NW" emptyStr=""/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 12:29:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/conditional-display-dynamic-text-on-data-driven/m-p/121047#M1388</guid>
      <dc:creator>DavidBarnes</dc:creator>
      <dc:date>2016-04-12T12:29:06Z</dc:date>
    </item>
  </channel>
</rss>

