<?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: Pull data from polygon feature to point feature class in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/pull-data-from-polygon-feature-to-point-feature/m-p/1039317#M7065</link>
    <description>&lt;P&gt;I think on one of your other related posts I suggested an attribute rule.&amp;nbsp; I have one that does exactly what you are looking for:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var parcel = FeatureSetByName($datastore,"MyParcels",["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;/LI-CODE&gt;&lt;P&gt;The if/else assures you that if there is not intersecting layer, the rule still fires correctly and does not toss an error.&lt;/P&gt;</description>
    <pubDate>Mon, 22 Mar 2021 15:13:54 GMT</pubDate>
    <dc:creator>JoeBorgione</dc:creator>
    <dc:date>2021-03-22T15:13:54Z</dc:date>
    <item>
      <title>Pull data from polygon feature to point feature class</title>
      <link>https://community.esri.com/t5/geodatabase-questions/pull-data-from-polygon-feature-to-point-feature/m-p/1039301#M7064</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am not sure if I am in the right group. I have AGOL web app, arcgis pro 2.7.1, sde, feature service and map service arcgis server. I have a staff as an editor. I am trying to figure out how to set up pull data from polygon feature class parcel number field into point feature class in a parcel number field every time create a new point. If this way doesn't work, please correct me. Please kindly advise. Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 14:59:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/pull-data-from-polygon-feature-to-point-feature/m-p/1039301#M7064</guid>
      <dc:creator>AlexP_</dc:creator>
      <dc:date>2021-03-22T14:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Pull data from polygon feature to point feature class</title>
      <link>https://community.esri.com/t5/geodatabase-questions/pull-data-from-polygon-feature-to-point-feature/m-p/1039317#M7065</link>
      <description>&lt;P&gt;I think on one of your other related posts I suggested an attribute rule.&amp;nbsp; I have one that does exactly what you are looking for:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var parcel = FeatureSetByName($datastore,"MyParcels",["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;/LI-CODE&gt;&lt;P&gt;The if/else assures you that if there is not intersecting layer, the rule still fires correctly and does not toss an error.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 15:13:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/pull-data-from-polygon-feature-to-point-feature/m-p/1039317#M7065</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2021-03-22T15:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: Pull data from polygon feature to point feature class</title>
      <link>https://community.esri.com/t5/geodatabase-questions/pull-data-from-polygon-feature-to-point-feature/m-p/1039327#M7067</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/3374"&gt;@JoeBorgione&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Would this still work operate while create a new point feature class on web app builder?&lt;/P&gt;&lt;P&gt;2) is it required GLOBALID?&lt;/P&gt;&lt;P&gt;3) Do I add that attribute rule under new point feature class or under existing polygon feature class?&amp;nbsp;&lt;/P&gt;&lt;P&gt;4) I have a little knowledge with attribute rule. I have existing polygon feature class layer name is parcelview and the field is parent_folio. The new point feature class name is address_edit and the field is parent_folio.&lt;/P&gt;&lt;P&gt;Trying to replace what I have. My understanding is "parcel" is the name of feature class? "MyParcels" is another feature class? parcel_id is a field? I am a bit lost.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 15:27:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/pull-data-from-polygon-feature-to-point-feature/m-p/1039327#M7067</guid>
      <dc:creator>AlexP_</dc:creator>
      <dc:date>2021-03-22T15:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: Pull data from polygon feature to point feature class</title>
      <link>https://community.esri.com/t5/geodatabase-questions/pull-data-from-polygon-feature-to-point-feature/m-p/1039336#M7068</link>
      <description>&lt;P&gt;1. It depends where you store your data: if it a hosted feature layer on AGOL, no.&lt;/P&gt;&lt;P&gt;2. To use attribute rules, the feature needs a global id&lt;/P&gt;&lt;P&gt;3. This type of rule is applied to the point feature&lt;/P&gt;&lt;P&gt;4.&amp;nbsp; MyParcels is the name of the feature class, and the variable 'parcel' refers to it&lt;/P&gt;&lt;P&gt;My suggestion is you take a look at the &lt;A href="https://developers.arcgis.com/arcade/" target="_self"&gt;Arcade help&lt;/A&gt; pages to be come more familiar with it.&amp;nbsp; Something you need to consider is that when you create attribute rules that take data from one feature to another, all the feature classes must reside in the same 'datastore' which is Arcade for database.&amp;nbsp; At this point in time all my addressing data and the related features are in the same enterprise geodatabase.&amp;nbsp; I notice that you refer to your parcel feature class as 'parcelview': is this an actual database view of the data?&amp;nbsp; If so, that view and your address points need to be in the same datastore.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 15:36:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/pull-data-from-polygon-feature-to-point-feature/m-p/1039336#M7068</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2021-03-22T15:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: Pull data from polygon feature to point feature class</title>
      <link>https://community.esri.com/t5/geodatabase-questions/pull-data-from-polygon-feature-to-point-feature/m-p/1039346#M7069</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/3374"&gt;@JoeBorgione&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) All my data are in the same enterprise geodatabase. parcelview is a enterprise geodatabase view under the same enterprise database also. Is it still ok? Also, you mentioned datastore, is it like enterprise database? Correct me if I am wrong.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 16:02:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/pull-data-from-polygon-feature-to-point-feature/m-p/1039346#M7069</guid>
      <dc:creator>AlexP_</dc:creator>
      <dc:date>2021-03-22T16:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: Pull data from polygon feature to point feature class</title>
      <link>https://community.esri.com/t5/geodatabase-questions/pull-data-from-polygon-feature-to-point-feature/m-p/1039348#M7070</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;'datastore' which is Arcade for database.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;That's the great thing about having a database view: the &lt;STRONG&gt;&lt;EM&gt;view&lt;/EM&gt; &lt;/STRONG&gt;is in the same datastore/database that the points are in.&amp;nbsp; But the actual data that the view is referencing can be elsewhere.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 15:59:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/pull-data-from-polygon-feature-to-point-feature/m-p/1039348#M7070</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2021-03-22T15:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: Pull data from polygon feature to point feature class</title>
      <link>https://community.esri.com/t5/geodatabase-questions/pull-data-from-polygon-feature-to-point-feature/m-p/1039349#M7071</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/3374"&gt;@JoeBorgione&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for clarify.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2) GLOBALID, if I add it, would it be an issue if I need to set up unique identifier/avoid duplicate based on a text field?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 16:02:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/pull-data-from-polygon-feature-to-point-feature/m-p/1039349#M7071</guid>
      <dc:creator>AlexP_</dc:creator>
      <dc:date>2021-03-22T16:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: Pull data from polygon feature to point feature class</title>
      <link>https://community.esri.com/t5/geodatabase-questions/pull-data-from-polygon-feature-to-point-feature/m-p/1039367#M7072</link>
      <description>&lt;P&gt;GlobalIDs are maintained internally by the geodatabase, so you have no control over them.&amp;nbsp; I let the geodatabse do it's job.&amp;nbsp; The same goes for ObjectID: I avoid using either one for anything than they are intended for. I think I've also mentioned &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/create-database-sequence.htm" target="_self"&gt;database sequences&lt;/A&gt; in one or more of my responses to your earlier posts.&amp;nbsp; &amp;nbsp;I find deploying a database sequence and then capturing the next value in an attribute rule to be a very convenient and easy way to create a unique id of your own design.&amp;nbsp; Here is an example of using a database sequence which is numeric to update a text type of unique id field.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;// This rule will create a new unique id when new feature is created

// Define the leading text and the delimiter for the ID
var prefix = "MyID"
var join_char = "-"

//Ensure the ID is not already set, if it is, return the original id
if (IsEmpty($feature.siteaddid)) {
   return Concatenate([prefix, NextSequenceValue("MyDatabaseSequence")], join_char)
}
else {
   return $feature.siteaddid
}&lt;/LI-CODE&gt;&lt;P&gt;In this example I use the text of MyID as the prefix to my unique identifier and concatenate to the next value in a database sequence named MyDatabaseSequence.&amp;nbsp; If the next value of my sequence is 100, then the unique id field value will be:&lt;/P&gt;&lt;P&gt;MyID-100&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 16:34:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/pull-data-from-polygon-feature-to-point-feature/m-p/1039367#M7072</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2021-03-22T16:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Pull data from polygon feature to point feature class</title>
      <link>https://community.esri.com/t5/geodatabase-questions/pull-data-from-polygon-feature-to-point-feature/m-p/1039389#M7073</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/3374"&gt;@JoeBorgione&lt;/a&gt;&amp;nbsp;&amp;nbsp;Thank you for reply. The one I asked about sequence on post was for a different case. This case here is for example, address field, entry address info 1234 NW 102 AVE.&amp;nbsp; but if an editor re entry the same address. it needs to set up to avoid &lt;SPAN&gt;duplicate&amp;nbsp;&lt;/SPAN&gt;. hope this clarify.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 17:21:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/pull-data-from-polygon-feature-to-point-feature/m-p/1039389#M7073</guid>
      <dc:creator>AlexP_</dc:creator>
      <dc:date>2021-03-22T17:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: Pull data from polygon feature to point feature class</title>
      <link>https://community.esri.com/t5/geodatabase-questions/pull-data-from-polygon-feature-to-point-feature/m-p/1039392#M7074</link>
      <description>&lt;P&gt;I see:&amp;nbsp; You want the address field to be unique and never reused. The Address Data Management Solution uses a Domain approach to resolving that issue with street names.&amp;nbsp; The problem with that is Domains in an enterprise geodatabase can only be modified by the domain owner, not multiple editors.&lt;/P&gt;&lt;P&gt;I'm not sure how to scan a feature set for a particular value and dis-allow it from being used again at the time of creation.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 17:25:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/pull-data-from-polygon-feature-to-point-feature/m-p/1039392#M7074</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2021-03-22T17:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: Pull data from polygon feature to point feature class</title>
      <link>https://community.esri.com/t5/geodatabase-questions/pull-data-from-polygon-feature-to-point-feature/m-p/1039417#M7075</link>
      <description>&lt;P&gt;Do you think survey123 might have this tool? I am the only domain owner but I don't do this task. It is only one person to edit. An editor does it on webapp builder. Does it required to use ArcGIS Pro to edit from address data management solution and not web appbuilder?&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 18:26:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/pull-data-from-polygon-feature-to-point-feature/m-p/1039417#M7075</guid>
      <dc:creator>AlexP_</dc:creator>
      <dc:date>2021-03-22T18:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: Pull data from polygon feature to point feature class</title>
      <link>https://community.esri.com/t5/geodatabase-questions/pull-data-from-polygon-feature-to-point-feature/m-p/1039450#M7076</link>
      <description>&lt;P&gt;Survey123 would not be the tool to use for data editing, and I would venture a guess that is does not have such a tool.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 19:21:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/pull-data-from-polygon-feature-to-point-feature/m-p/1039450#M7076</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2021-03-22T19:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Pull data from polygon feature to point feature class</title>
      <link>https://community.esri.com/t5/geodatabase-questions/pull-data-from-polygon-feature-to-point-feature/m-p/1039454#M7077</link>
      <description>&lt;P&gt;here are a couple online resources for a python approach to finding identical values in a given field:&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/find-identical.htm" target="_blank" rel="noopener"&gt;https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/find-identical.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.esri.com/en/technical-article/000023355" target="_blank" rel="noopener"&gt;https://support.esri.com/en/technical-article/000023355&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But these are not attribute rules; you would run these as part of a data QA/QC routine.&amp;nbsp; I also looked at &lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/validating-data/an-overview-of-data-reviewer-checks-in-arcgis-pro.htm#GUID-D3459427-6336-44D4-AE21-F84AD0B10BA2" target="_self"&gt;Data Reviewer&lt;/A&gt; which does not seem to offer a 'find repeated values' check.&lt;/P&gt;&lt;P&gt;Also found this post:&amp;nbsp;&lt;A href="https://community.esri.com/t5/electric-questions/check-for-duplicate-assetid-values-with-arcade/m-p/209833" target="_blank"&gt;https://community.esri.com/t5/electric-questions/check-for-duplicate-assetid-values-with-arcade/m-p/209833&lt;/A&gt;&amp;nbsp; I haven't studied it yet, but it might point you in a directions.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1108"&gt;@XanderBakker&lt;/a&gt;&amp;nbsp;- any ideas for&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/181349"&gt;@AlexP_&lt;/a&gt;&amp;nbsp;?&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 19:28:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/pull-data-from-polygon-feature-to-point-feature/m-p/1039454#M7077</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2021-03-22T19:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Pull data from polygon feature to point feature class</title>
      <link>https://community.esri.com/t5/geodatabase-questions/pull-data-from-polygon-feature-to-point-feature/m-p/1043999#M7093</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/3374"&gt;@JoeBorgione&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to apply globalid but i got an error. please advise.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AlexP__0-1617659749455.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/10134iB516A9BACEC29DB9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AlexP__0-1617659749455.png" alt="AlexP__0-1617659749455.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Apr 2021 21:56:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/pull-data-from-polygon-feature-to-point-feature/m-p/1043999#M7093</guid>
      <dc:creator>AlexP_</dc:creator>
      <dc:date>2021-04-05T21:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: Pull data from polygon feature to point feature class</title>
      <link>https://community.esri.com/t5/geodatabase-questions/pull-data-from-polygon-feature-to-point-feature/m-p/1044005#M7094</link>
      <description>&lt;P&gt;Google that error and you'll come across &lt;A href="https://pro.arcgis.com/en/pro-app/2.6/tool-reference/tool-errors-and-warnings/001001-010000/tool-errors-and-warnings-00576-00600-000582.htm" target="_self"&gt;this from ESRI&lt;/A&gt;.&amp;nbsp;&amp;nbsp;It looks like a fairly generic, non-specific error so I really don't know what the problem is.&amp;nbsp; You may want to consult ESRI tech support.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Apr 2021 22:01:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/pull-data-from-polygon-feature-to-point-feature/m-p/1044005#M7094</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2021-04-05T22:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: Pull data from polygon feature to point feature class</title>
      <link>https://community.esri.com/t5/geodatabase-questions/pull-data-from-polygon-feature-to-point-feature/m-p/1044123#M7096</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/3374"&gt;@JoeBorgione&lt;/a&gt;&amp;nbsp;I found out that I had to stop the map service then applied GLOBALID again.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 12:27:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/pull-data-from-polygon-feature-to-point-feature/m-p/1044123#M7096</guid>
      <dc:creator>AlexP_</dc:creator>
      <dc:date>2021-04-06T12:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: Pull data from polygon feature to point feature class</title>
      <link>https://community.esri.com/t5/geodatabase-questions/pull-data-from-polygon-feature-to-point-feature/m-p/1044145#M7097</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/3374"&gt;@JoeBorgione&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello&amp;nbsp; I have a question, after applied this attribute rule, would it work thru web map app arcgis online when an editor add new info? Please confirm.&amp;nbsp; editor doesnt have pro. if any other method to use thru web?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 13:43:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/pull-data-from-polygon-feature-to-point-feature/m-p/1044145#M7097</guid>
      <dc:creator>AlexP_</dc:creator>
      <dc:date>2021-04-06T13:43:21Z</dc:date>
    </item>
  </channel>
</rss>

