<?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: Format datetime dynamic text from a data driven page index layer in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/format-datetime-dynamic-text-from-a-data-driven/m-p/295758#M12830</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marc,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are pulling an attribute from the index layer (&lt;STRONG&gt;Map Series &amp;gt; Attribute&lt;/STRONG&gt;) you will not be able to format the attribute value.&amp;nbsp; Think of this option as the quick and simple way to add dynamic text from an index layer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can format an attribute value if you use the &lt;STRONG&gt;Table Attribute &amp;gt; Value&lt;/STRONG&gt; dynamic text element. This dynamic text element is much more robust than the&amp;nbsp;&lt;STRONG&gt;Map Series &amp;gt; Attribute&amp;nbsp;&lt;/STRONG&gt;element.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/503935_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;With this element you can connect to a (Spatial) Map Series...&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/503945_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;P&gt;... and use Arcade to format values from a Date field.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/503946_pastedImage_5.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see&amp;nbsp;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/help/layouts/add-dynamic-text.htm" title="https://pro.arcgis.com/en/pro-app/help/layouts/add-dynamic-text.htm"&gt;Add and modify dynamic text—ArcGIS Pro | Documentation&lt;/A&gt;&amp;nbsp;(look for "Table dynamic text") and &lt;A class="link-titled" href="https://developers.arcgis.com/arcade/function-reference/date_functions/#date" title="https://developers.arcgis.com/arcade/function-reference/date_functions/#date"&gt;Date Functions | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;(Arcade help)&amp;nbsp;for more information.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Aug 2020 12:37:24 GMT</pubDate>
    <dc:creator>TomBole</dc:creator>
    <dc:date>2020-08-19T12:37:24Z</dc:date>
    <item>
      <title>Format datetime dynamic text from a data driven page index layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/format-datetime-dynamic-text-from-a-data-driven/m-p/295757#M12829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ArcGIS Pro 2.6 it seems that you can format date data that is inserted as dynamic text using the information in this page:&amp;nbsp;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/help/layouts/date-and-time-dynamic-text.htm" title="https://pro.arcgis.com/en/pro-app/help/layouts/date-and-time-dynamic-text.htm"&gt;Format date and time dynamic text—ArcGIS Pro | Documentation&lt;/A&gt;&amp;nbsp; however this only seems to apply to dynamic text inserted using options like the Current time or Date exported.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/503918_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a date field in my index layer that I only want to display as dd/mm/yy, but if I apply the format option it does nothing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Date Exported: &amp;lt;dyn type="layout" name="Base Component Layout" property="dateExported" format="short|short"/&amp;gt;&lt;/P&gt;&lt;P&gt;vs&lt;/P&gt;&lt;P&gt;&amp;lt;dyn type="page" property="attribute" field="rev_date"/&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It isn't mentioned in this article at all:&amp;nbsp;&lt;A class="link-titled" href="https://desktop.arcgis.com/en/arcmap/10.3/map/page-layouts/using-dynamic-text-with-data-driven-pages.htm" title="https://desktop.arcgis.com/en/arcmap/10.3/map/page-layouts/using-dynamic-text-with-data-driven-pages.htm"&gt;Using dynamic text with Data Driven Pages—Help | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp;It seems like it is not possible to format data attributes that are used as dynamic text.&amp;nbsp; Can someone from Esri please confirm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Marc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2020 07:18:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/format-datetime-dynamic-text-from-a-data-driven/m-p/295757#M12829</guid>
      <dc:creator>Marc_Graham</dc:creator>
      <dc:date>2020-08-19T07:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: Format datetime dynamic text from a data driven page index layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/format-datetime-dynamic-text-from-a-data-driven/m-p/295758#M12830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marc,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are pulling an attribute from the index layer (&lt;STRONG&gt;Map Series &amp;gt; Attribute&lt;/STRONG&gt;) you will not be able to format the attribute value.&amp;nbsp; Think of this option as the quick and simple way to add dynamic text from an index layer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can format an attribute value if you use the &lt;STRONG&gt;Table Attribute &amp;gt; Value&lt;/STRONG&gt; dynamic text element. This dynamic text element is much more robust than the&amp;nbsp;&lt;STRONG&gt;Map Series &amp;gt; Attribute&amp;nbsp;&lt;/STRONG&gt;element.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/503935_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;With this element you can connect to a (Spatial) Map Series...&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/503945_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;P&gt;... and use Arcade to format values from a Date field.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/503946_pastedImage_5.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see&amp;nbsp;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/help/layouts/add-dynamic-text.htm" title="https://pro.arcgis.com/en/pro-app/help/layouts/add-dynamic-text.htm"&gt;Add and modify dynamic text—ArcGIS Pro | Documentation&lt;/A&gt;&amp;nbsp;(look for "Table dynamic text") and &lt;A class="link-titled" href="https://developers.arcgis.com/arcade/function-reference/date_functions/#date" title="https://developers.arcgis.com/arcade/function-reference/date_functions/#date"&gt;Date Functions | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;(Arcade help)&amp;nbsp;for more information.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2020 12:37:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/format-datetime-dynamic-text-from-a-data-driven/m-p/295758#M12830</guid>
      <dc:creator>TomBole</dc:creator>
      <dc:date>2020-08-19T12:37:24Z</dc:date>
    </item>
  </channel>
</rss>

