<?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: Attribute Rule to Calculate Site ID in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-to-calculate-site-id/m-p/1547152#M89028</link>
    <description>&lt;P&gt;Can you clarify this? Where is "1234" coming from out of "Site1_UAV_042018"? What parts of the "Name" field would you like to calculate over to the "Site_ID" field? It's not really clear what you're asking.&lt;/P&gt;</description>
    <pubDate>Wed, 09 Oct 2024 16:18:51 GMT</pubDate>
    <dc:creator>VinceE</dc:creator>
    <dc:date>2024-10-09T16:18:51Z</dc:date>
    <item>
      <title>Attribute Rule to Calculate Site ID</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-to-calculate-site-id/m-p/1415427#M82398</link>
      <description>&lt;P&gt;So I am trying to create an attribute rule on a mosaic datasets footprint. What I would like to do is when a new raster is added to my mosaic dataset and the name of the raster is Site_FlightDate then depending on my site write the site code to a another field.&amp;nbsp; Any idea on how I could get the Name field to say if name is like Site1 auto-populate Site_ID field with 1234.&lt;/P&gt;&lt;LI-CODE lang="c"&gt;if ($feature["Name"] == 'SiteName') {
    return SiteCode #example 999;
} else {
    return Null;
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="phess_luckstone_0-1714064894490.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/102178i9C1376DA53265277/image-size/medium?v=v2&amp;amp;px=400" role="button" title="phess_luckstone_0-1714064894490.png" alt="phess_luckstone_0-1714064894490.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2024 17:09:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-to-calculate-site-id/m-p/1415427#M82398</guid>
      <dc:creator>phess_luckstone</dc:creator>
      <dc:date>2024-04-25T17:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rule to Calculate Site ID</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-to-calculate-site-id/m-p/1547152#M89028</link>
      <description>&lt;P&gt;Can you clarify this? Where is "1234" coming from out of "Site1_UAV_042018"? What parts of the "Name" field would you like to calculate over to the "Site_ID" field? It's not really clear what you're asking.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 16:18:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-to-calculate-site-id/m-p/1547152#M89028</guid>
      <dc:creator>VinceE</dc:creator>
      <dc:date>2024-10-09T16:18:51Z</dc:date>
    </item>
  </channel>
</rss>

