<?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: Access a field value in a layer that is outside the edited layer's $datastore in Arcade's Attribute Rules profile in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/access-a-field-value-in-a-layer-that-is-outside/m-p/27624#M1030</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A href="https://community.esri.com/migrated-users/3100"&gt;Xander Bakker&lt;/A&gt;‌ for the clarification. I submitted feedback on the FeatureSetCollection documentation that muddied the waters for me. I will move all of my editing layers to the same file geodatabase so I can take better advantage of attribute rules.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Oct 2020 19:03:15 GMT</pubDate>
    <dc:creator>JeffWard1</dc:creator>
    <dc:date>2020-10-16T19:03:15Z</dc:date>
    <item>
      <title>Access a field value in a layer that is outside the edited layer's $datastore in Arcade's Attribute Rules profile</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/access-a-field-value-in-a-layer-that-is-outside/m-p/27619#M1025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to populate a field in my Site Address layer with the Parcel ID of the intersecting parcel. After making several attempts and researching the docs I'm finding this isn't possible? I am unable to use FeatureSetByName because I can't access the $map global because I'm using ArcGIS Pro. And I can't use $datastore because my parcel layer is in another location. Is that correct? Right now my solution is to copy the parcels to the same file gdb as my site address layer and use that layer for my intersecting features.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The documentation isn't very clear on the $map global only being available in ArcGIS Online. Every time I try to use it in my attribute rule expression it says $map object is not available. The docs say I can use it in the Attribute Rules profile, but all I get is this:&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/511154_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's a paragraph from the docs saying I can use it in the Attribute Rule profile:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;A collection of&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/arcade/guide/types/#featureset" style="color: #0079c1; background-color: #ffffff; text-decoration: none;"&gt;FeatureSets&lt;/A&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;. This data type is only used when working with the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;CODE style="color: #595959; background-color: #f8f8f8; border: 1px solid #efefef; font-size: 0.875em;"&gt;$map&lt;/CODE&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;CODE style="color: #595959; background-color: #f8f8f8; border: 1px solid #efefef; font-size: 0.875em;"&gt;$datastore&lt;/CODE&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;globals available in the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/arcade/guide/profiles/#popup" style="color: #0079c1; background-color: #ffffff; text-decoration: none;"&gt;Popup&lt;/A&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/arcade/guide/profiles/#field-calculate" style="color: #0079c1; background-color: #ffffff; text-decoration: none;"&gt;Field Calculate&lt;/A&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;, and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/arcade/guide/profiles/#attribute-rules" style="color: #0079c1; background-color: #ffffff; text-decoration: none;"&gt;Attribute Rule&lt;/A&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;profiles. The&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;CODE style="color: #595959; background-color: #f8f8f8; border: 1px solid #efefef; font-size: 0.875em;"&gt;$map&lt;/CODE&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;represents a collection of layers (or FeatureSets) in the map of the feature executing the Arcade expression. The&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;CODE style="color: #595959; background-color: #f8f8f8; border: 1px solid #efefef; font-size: 0.875em;"&gt;$datastore&lt;/CODE&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;represents a collection of layers in the same feature service as the feature executing the Arcade expression.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would really like it if I didn't have to copy my parcel layer over to the same geodatabase. Has anyone done this? &lt;A href="https://community.esri.com/migrated-users/3100"&gt;Xander Bakker&lt;/A&gt;‌ - any thoughts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2020 14:46:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/access-a-field-value-in-a-layer-that-is-outside/m-p/27619#M1025</guid>
      <dc:creator>JeffWard1</dc:creator>
      <dc:date>2020-10-16T14:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: Access a field value in a layer that is outside the edited layer's $datastore in Arcade's Attribute Rules profile</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/access-a-field-value-in-a-layer-that-is-outside/m-p/27620#M1026</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/32683"&gt;Jeff Ward&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you look at the profile information (&lt;A class="link-titled" href="https://developers.arcgis.com/arcade/guide/profiles/" title="https://developers.arcgis.com/arcade/guide/profiles/"&gt;Profiles | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;) for Attribute Rule Calculations you will see that you can only use the &lt;STRONG&gt;$datastore&lt;/STRONG&gt; to access the data.&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/511184_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought that maybe the FeatureSetByPortalItem could be a valid alternative, but it can only be used with Field Calculations and in the Popup.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/511185_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, unfortunately it is not possible to do this with Attribute Rules. Attribute Rules live in the database and I guess that this is the reason for not allowing information that is not in the same $datastore to be used in the Attribute Rule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/space/2291"&gt;Attribute Rules&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2020 17:49:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/access-a-field-value-in-a-layer-that-is-outside/m-p/27620#M1026</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2020-10-16T17:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: Access a field value in a layer that is outside the edited layer's $datastore in Arcade's Attribute Rules profile</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/access-a-field-value-in-a-layer-that-is-outside/m-p/27621#M1027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jeff-&amp;nbsp; you might try creating a database view of your parcels in the same datastore your others reside within.&amp;nbsp; I was going to do that but since the parcels I deal with are a subset of all the county parcels we just copy those in our areas of jurisdiction from the county service into our enterprise as a scheduled task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edited to add...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a copy of the rule I use to grab the parcel id from an underlying parcel layer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;var parcel = FeatureSetByName($datastore,"MSD.SLCOMSD.ParcelsMSD",["parcel_id"],true)
var intersectLayer = Intersects(parcel, Geometry($feature))
if (Count(intersectLayer) &amp;gt; 0) {
    var layer = First(intersectLayer);
    return layer.parcel_id;    
} else {
    return null;
}‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This is thanks to &lt;A href="https://community.esri.com/migrated-users/3100" target="_blank"&gt;Xander Bakker&lt;/A&gt;‌; the if else statement is critical.&amp;nbsp; Even though you know there is always a parcel coincident to your site address point, when you validate the expression, it'll choke and error out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/8249" target="_blank"&gt;Jeff Ward&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/32683" target="_blank"&gt;Jeff Ward&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:07:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/access-a-field-value-in-a-layer-that-is-outside/m-p/27621#M1027</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2021-12-10T21:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: Access a field value in a layer that is outside the edited layer's $datastore in Arcade's Attribute Rules profile</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/access-a-field-value-in-a-layer-that-is-outside/m-p/27622#M1028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the input Joe. The way I'm understanding views is they reside in the same database as the source data? I'm working with file geodatabases - is it possible to create a view to a layer in another file geodatabase? Do you have samples you've used?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And thanks for your sample, I was able to get my expression to work using similar code, but I'm sure &lt;A href="https://community.esri.com/migrated-users/3100" target="_blank"&gt;Xander Bakker&lt;/A&gt;‌ 's is better for error checking. Here's my expression, it works for the few address points I've done. I had it check for more than 1 because sometimes our parcel data overlaps and I had it flag it for investigation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;var intersectLayer &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; Intersects&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;FeatureSetByName&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;$datastore&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"TaxParcels"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; $feature&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;Count&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;intersectLayer&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
 &lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'insert serial'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;else&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
 &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;var f &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; intersectLayer&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
 &lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; f&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;PARCELID&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
 &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:07:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/access-a-field-value-in-a-layer-that-is-outside/m-p/27622#M1028</guid>
      <dc:creator>JeffWard1</dc:creator>
      <dc:date>2021-12-10T21:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: Access a field value in a layer that is outside the edited layer's $datastore in Arcade's Attribute Rules profile</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/access-a-field-value-in-a-layer-that-is-outside/m-p/27623#M1029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The database view resides in the same database as your site address points so (in theory) it acts like any other feature layer in $datastore.&amp;nbsp; Let me contact my esteemed colleague &lt;A href="https://community.esri.com/migrated-users/252572"&gt;Ryan Sadler&lt;/A&gt;‌ : he creates them on the SQL server side.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2020 19:00:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/access-a-field-value-in-a-layer-that-is-outside/m-p/27623#M1029</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2020-10-16T19:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: Access a field value in a layer that is outside the edited layer's $datastore in Arcade's Attribute Rules profile</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/access-a-field-value-in-a-layer-that-is-outside/m-p/27624#M1030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A href="https://community.esri.com/migrated-users/3100"&gt;Xander Bakker&lt;/A&gt;‌ for the clarification. I submitted feedback on the FeatureSetCollection documentation that muddied the waters for me. I will move all of my editing layers to the same file geodatabase so I can take better advantage of attribute rules.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2020 19:03:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/access-a-field-value-in-a-layer-that-is-outside/m-p/27624#M1030</guid>
      <dc:creator>JeffWard1</dc:creator>
      <dc:date>2020-10-16T19:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Access a field value in a layer that is outside the edited layer's $datastore in Arcade's Attribute Rules profile</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/access-a-field-value-in-a-layer-that-is-outside/m-p/27625#M1031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Joe is correct.&amp;nbsp; You can create a view in the database that is basically a saved sql query of the columns you need.&amp;nbsp; The t-sql syntax follows this structure..&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #333333; font-weight: bold; font-size: 14.4px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #333333; font-weight: bold; font-size: 14.4px;"&gt;CREATE&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #f8f8f8; font-size: 14.4px;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; font-weight: bold; font-size: 14.4px;"&gt;VIEW&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #f8f8f8; font-size: 14.4px;"&gt; [&lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; font-weight: bold; font-size: 14.4px;"&gt;OR&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #f8f8f8; font-size: 14.4px;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; font-weight: bold; font-size: 14.4px;"&gt;ALTER&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #f8f8f8; font-size: 14.4px;"&gt;] schema_name.view_name&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #333333; font-weight: bold; font-size: 14.4px;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #f8f8f8; font-size: 14.4px;"&gt; select_statement;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #f8f8f8; font-size: 14.4px;"&gt;I've even had success creating views that cross databases that are on the same SQL server instance.&amp;nbsp; Attention to permissions just comes into play.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #f8f8f8; font-size: 14.4px;"&gt;Here's a good link that talks about views in detail for your geodatabase...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #f8f8f8; font-size: 14.4px;"&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/help/data/geodatabases/manage-saphana/views-in-geodatabase.htm" title="https://pro.arcgis.com/en/pro-app/help/data/geodatabases/manage-saphana/views-in-geodatabase.htm"&gt;Views in an enterprise geodatabase—ArcGIS Pro | Documentation&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #f8f8f8; font-size: 14.4px;"&gt;One important step to do after creating the view for the SQL server is that you need to register the view with the geodatabase using Esri tools afterward.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #f8f8f8; font-size: 14.4px;"&gt;Also, be sure to include a shape column in the select statement if you are wanting the view to be a feature class.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #f8f8f8; font-size: 14.4px;"&gt;I hope this helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2020 19:22:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/access-a-field-value-in-a-layer-that-is-outside/m-p/27625#M1031</guid>
      <dc:creator>RyanSadler1</dc:creator>
      <dc:date>2020-10-16T19:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Access a field value in a layer that is outside the edited layer's $datastore in Arcade's Attribute Rules profile</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/access-a-field-value-in-a-layer-that-is-outside/m-p/27626#M1032</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/32683"&gt;Jeff Ward&lt;/A&gt;‌: the thing with views is they work great for enterprise to enterprise (SDE) databases.&amp;nbsp; If your site address points reside in a fgfb, your options may be limited to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moving your site address points (and any other address point related data used in your rules) to the database where you parcels are. (basically what I do)&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;Copy your parcels to the fgdb where your site address points reside.&amp;nbsp; That's not a difficult option; what I'd do is create an empty feature class of the parcels but only&amp;nbsp;use the fields you need for the rules to fire.&amp;nbsp; If all you need is ParcelID, that's a fairly simple feature class. Append your parcels to that f.c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can use a truncate followed by append to keep your parcels in the fgdb fresh as your authoritative parcels change.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2020 19:36:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/access-a-field-value-in-a-layer-that-is-outside/m-p/27626#M1032</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2020-10-16T19:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: Access a field value in a layer that is outside the edited layer's $datastore in Arcade's Attribute Rules profile</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/access-a-field-value-in-a-layer-that-is-outside/m-p/27627#M1033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the help Joe. I ended up moving my layers to the same file geodatabase. They were before, but I was trying out the Address Data Management project package that had its own fgdb with the attribute rules set up in the project.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2020 01:53:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/access-a-field-value-in-a-layer-that-is-outside/m-p/27627#M1033</guid>
      <dc:creator>JeffWard1</dc:creator>
      <dc:date>2020-10-30T01:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: Access a field value in a layer that is outside the edited layer's $datastore in Arcade's Attribute Rules profile</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/access-a-field-value-in-a-layer-that-is-outside/m-p/1512523#M86204</link>
      <description>&lt;P&gt;Does anyone know if anything has changed yet as far as accessing an alternative to $datastore such as $map? I tried using $map as in the original question and got the same error.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2024 18:19:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/access-a-field-value-in-a-layer-that-is-outside/m-p/1512523#M86204</guid>
      <dc:creator>Palm_Tree</dc:creator>
      <dc:date>2024-07-30T18:19:17Z</dc:date>
    </item>
  </channel>
</rss>

