<?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: Model Builder not picking up created field in Field Caluclator - automate process help please in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/model-builder-not-picking-up-created-field-in/m-p/57358#M2435</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/people/njbegg"&gt;njbegg&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is true, $map cannot be used in the Field Calculator and if they are not in the same $datasource that might be a challenge. If they are published to portal you could use "FeatureSetByPortalItem" though...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Feb 2020 22:54:17 GMT</pubDate>
    <dc:creator>XanderBakker</dc:creator>
    <dc:date>2020-02-26T22:54:17Z</dc:date>
    <item>
      <title>Model Builder not picking up created field in Field Caluclator - automate process help please</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/model-builder-not-picking-up-created-field-in/m-p/57352#M2429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to automate the process of an intersect which passes values from many Points within a layer, to the polygon that it intersects.&amp;nbsp; However I'm getting stuck when it comes to passing the values using the field calculator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what I have done so far.&lt;/P&gt;&lt;P&gt;1. Created an ActivityDate on my point layer (previously I was using the CreatedDate as the date field, however this wasn't coming across in fields)&lt;/P&gt;&lt;P&gt;2. Spatial join 1:many Polygon:Point&lt;/P&gt;&lt;P&gt;3. Joined this spatial join layer to the original Polygon layer (so that I can field calculate layers from the spatial join to the original layer).&lt;/P&gt;&lt;P&gt;4. Calculate field: LastMown (polygon) = ActivityDate (originally point but joined)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;STRONG&gt;ERROR: Invalid Expression Datasource could not be found.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Some of the fields from the join are coming through (Action, Notes), however that field (or the createdDate field) aren't coming through.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/483288_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" height="465" src="https://community.esri.com/legacyfs/online/483289_pastedImage_26.png" width="245" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;There may be an easier way to do what I'm after - I'm all ears for a different way of doing this.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Ultimately I want to populate a 'last mown' field on my polygon layer with the date from the intersecting point layer which has a) the action 'completed' and b) the latest date.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the above steps I was planning on doing a filter, to filter based on the Action == 'completed'.&amp;nbsp; Then dissolve the reserves (based on target_ID) with the latest date on it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2020 22:47:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/model-builder-not-picking-up-created-field-in/m-p/57352#M2429</guid>
      <dc:creator>NaomiBegg2</dc:creator>
      <dc:date>2020-02-25T22:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: Model Builder not picking up created field in Field Caluclator - automate process help please</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/model-builder-not-picking-up-created-field-in/m-p/57353#M2430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3100"&gt;Xander Bakker&lt;/A&gt;‌ I'm thinking this is something that you probably know a much easier way of completing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2020 22:48:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/model-builder-not-picking-up-created-field-in/m-p/57353#M2430</guid>
      <dc:creator>NaomiBegg2</dc:creator>
      <dc:date>2020-02-25T22:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: Model Builder not picking up created field in Field Caluclator - automate process help please</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/model-builder-not-picking-up-created-field-in/m-p/57354#M2431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/221930"&gt;Naomi Begg&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suppose you could use a single calculation with a nice Arcade expression to do this entire process, but this is where the&amp;nbsp;GP tools and modelbuilder are good at.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2020 12:23:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/model-builder-not-picking-up-created-field-in/m-p/57354#M2431</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2020-02-26T12:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: Model Builder not picking up created field in Field Caluclator - automate process help please</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/model-builder-not-picking-up-created-field-in/m-p/57355#M2432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/3100"&gt;Xander Bakker&lt;/A&gt;‌ I do have this successfully working as an Arcade pop-up, however because it is an intersect I can't use the expressions for symbology and it didn't look like I could easily create a report based on this either.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to make a filtered layer showing just the overdue areas, and a list of areas due this week.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2020 20:12:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/model-builder-not-picking-up-created-field-in/m-p/57355#M2432</guid>
      <dc:creator>NaomiBegg2</dc:creator>
      <dc:date>2020-02-26T20:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: Model Builder not picking up created field in Field Caluclator - automate process help please</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/model-builder-not-picking-up-created-field-in/m-p/57356#M2433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/221930"&gt;Naomi Begg&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have a working Arcade expression you can create a new field and execute the expression there to fill the field and being able to filter on that new field and use it for symbology. In Pro 2.5&amp;nbsp;you can schedule the field calculation in case the data is dynamic.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2020 20:52:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/model-builder-not-picking-up-created-field-in/m-p/57356#M2433</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2020-02-26T20:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: Model Builder not picking up created field in Field Caluclator - automate process help please</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/model-builder-not-picking-up-created-field-in/m-p/57357#M2434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The arcade expression isn't working in Pro field calculator&amp;nbsp;&lt;EM&gt;Datasource could not be found.&amp;nbsp;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I think this is because the intersect mentions $map, since it is two different layers not in the same datasource.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2020 21:46:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/model-builder-not-picking-up-created-field-in/m-p/57357#M2434</guid>
      <dc:creator>NaomiBegg2</dc:creator>
      <dc:date>2020-02-26T21:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: Model Builder not picking up created field in Field Caluclator - automate process help please</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/model-builder-not-picking-up-created-field-in/m-p/57358#M2435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/people/njbegg"&gt;njbegg&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is true, $map cannot be used in the Field Calculator and if they are not in the same $datasource that might be a challenge. If they are published to portal you could use "FeatureSetByPortalItem" though...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2020 22:54:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/model-builder-not-picking-up-created-field-in/m-p/57358#M2435</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2020-02-26T22:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: Model Builder not picking up created field in Field Caluclator - automate process help please</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/model-builder-not-picking-up-created-field-in/m-p/57359#M2436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've tried the FeatureSetByPortalItem and it works in the AGOL popup (layer is hosted in AGOL rather than Portal).&amp;nbsp; However when I try it in Pro Calculator I am still getting:&amp;nbsp;&lt;EM&gt;Datasource could not be found&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am logged into Pro using the same account, but does the calculator require login details within its query?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2020 00:48:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/model-builder-not-picking-up-created-field-in/m-p/57359#M2436</guid>
      <dc:creator>NaomiBegg2</dc:creator>
      <dc:date>2020-02-27T00:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Model Builder not picking up created field in Field Caluclator - automate process help please</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/model-builder-not-picking-up-created-field-in/m-p/57360#M2437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/221930"&gt;Naomi Begg&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would expect that using the portal item it would be possible&amp;nbsp;in Pro when you are logged in to that portal. Is that layer added to&amp;nbsp;Pro session? Is it possible to include both&amp;nbsp; layers in the same datasource. Another option is to revise the python script you can generate from the model. Since the latest version there have been a lot of enhancements to the quality and structure of a script generated from the export of a model.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2020 12:35:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/model-builder-not-picking-up-created-field-in/m-p/57360#M2437</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2020-02-27T12:35:34Z</dc:date>
    </item>
  </channel>
</rss>

