<?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: Appending a date field from one feature class to another in Modelbuilder in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/appending-a-date-field-from-one-feature-class-to/m-p/1325406#M72757</link>
    <description>&lt;P&gt;Hi Sarah,&lt;/P&gt;&lt;P&gt;Thanks for the suggestion.&amp;nbsp; I can't copy/paste my code because it's on a completely different network but basically I am using the polygon to line GP tool to convert an entire poly to a line (only 1 record in the table).&amp;nbsp; The polygon attribute table has a field with a date in it that I want to add/copy into the line feature class attribute table.&amp;nbsp; What you suggest makes sense, I'll have to see if I can get it to work for my case.&lt;/P&gt;</description>
    <pubDate>Tue, 05 Sep 2023 14:20:13 GMT</pubDate>
    <dc:creator>Michele</dc:creator>
    <dc:date>2023-09-05T14:20:13Z</dc:date>
    <item>
      <title>Appending a date field from one feature class to another in Modelbuilder</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/appending-a-date-field-from-one-feature-class-to/m-p/1322812#M72503</link>
      <description>&lt;P&gt;I am trying to take a date field in a polygon feature class and append/add/copy it to a polyline feature class using modelbuilder in arcpro. I keep getting an error that I cannot do this because the geometries (i.e. shape type) are different, but the date field has absolutely nothing to do with the geometry type. Is there a way to do this within modelbuilder?&lt;/P&gt;</description>
      <pubDate>Sun, 27 Aug 2023 15:37:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/appending-a-date-field-from-one-feature-class-to/m-p/1322812#M72503</guid>
      <dc:creator>Michele</dc:creator>
      <dc:date>2023-08-27T15:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: Appending a date field from one feature class to another in Modelbuilder</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/appending-a-date-field-from-one-feature-class-to/m-p/1322963#M72517</link>
      <description>&lt;P&gt;How do you have it set up currently? If multiple polylines intersect with the same polygon you may run into some issues.&lt;/P&gt;&lt;P&gt;I have created a model that uses the date field from a line feature class (roads) and assigns a&amp;nbsp;&lt;EM&gt;DueDate&lt;/EM&gt; field to a point feature class (potholes) using a date field as one of the inputs. The model searches for the nearest line feature and calculates the&amp;nbsp;&lt;EM&gt;DueDate&lt;/EM&gt; based on some minimum maintenance standards.&lt;/P&gt;&lt;P&gt;I set the Expression type to Arcade and this is what the inputs look like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="css"&gt;var AssignedDate = $feature.Date;
var Road = FeatureSetByName($datastore, 'Road');
var ConstructedRoad = Filter(Road, "CONSTRUCTED_DATE IS NOT NULL");
var line_fs = Intersects(ConstructedRoad, Buffer($feature, 200, "Meters"));&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use some geometry functions to find the nearest road segment&amp;nbsp;and you should be able to access the date field using something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="css"&gt;for (var l in line_fs){
return l.date}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 14:08:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/appending-a-date-field-from-one-feature-class-to/m-p/1322963#M72517</guid>
      <dc:creator>SarahRijneke</dc:creator>
      <dc:date>2023-08-28T14:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Appending a date field from one feature class to another in Modelbuilder</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/appending-a-date-field-from-one-feature-class-to/m-p/1325406#M72757</link>
      <description>&lt;P&gt;Hi Sarah,&lt;/P&gt;&lt;P&gt;Thanks for the suggestion.&amp;nbsp; I can't copy/paste my code because it's on a completely different network but basically I am using the polygon to line GP tool to convert an entire poly to a line (only 1 record in the table).&amp;nbsp; The polygon attribute table has a field with a date in it that I want to add/copy into the line feature class attribute table.&amp;nbsp; What you suggest makes sense, I'll have to see if I can get it to work for my case.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 14:20:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/appending-a-date-field-from-one-feature-class-to/m-p/1325406#M72757</guid>
      <dc:creator>Michele</dc:creator>
      <dc:date>2023-09-05T14:20:13Z</dc:date>
    </item>
  </channel>
</rss>

