<?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 Error 00134 - Sharing Feature Class with Attribute Rules to Portal in Attribute Rules Questions</title>
    <link>https://community.esri.com/t5/attribute-rules-questions/error-00134-sharing-feature-class-with-attribute/m-p/1098492#M218</link>
    <description>&lt;P&gt;Hey all,&lt;/P&gt;&lt;P&gt;I have a simple arcade expression that calculates an area name string to a point that falls within that area. I'm trying to publish the feature service from Pro 2.8.3, to Portal. The two datasets (point, and poly) are registered datasets on Server 10.8.1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var outerGeom = FeatureSetByName($datastore, "Test_Areas", ["name"])
var featureWithin = Intersects(outerGeom, Geometry($feature))

if(Count(featureWithin) &amp;gt; 0) {
  var layer = First(featureWithin);
  return layer.name;
} else {
  return null;
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am following the instructions on &lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/share-datasets-with-attribute-rules.htm" target="_blank" rel="noopener"&gt;Share Datasets with Attribute Rules.&lt;/A&gt;&amp;nbsp;At step 5, under "Share datasets with attribute rules", it mentions that I have to publish the referenced registered data as a feature, in addition to the map image layer.&amp;nbsp;&lt;STRONG&gt;Am I interpreting that correctly?&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;When I attempt to publish the two features as a web layer, I get an &lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/sharing/analyzer-error-messages/00134-layers-data-source-is-not-supported-web-feature-layer.htm" target="_blank" rel="noopener"&gt;error,&amp;nbsp;&lt;/A&gt;suggesting that referenced data is not compatible. To be clear, these datasets are not yet feature services; they reference data stored on the server.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AdminAccount2_0-1631715624929.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/23010i0007C2F83BDA2C2B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AdminAccount2_0-1631715624929.png" alt="AdminAccount2_0-1631715624929.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AdminAccount2_1-1631716221254.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/23022i06A7E510A4E037D8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AdminAccount2_1-1631716221254.png" alt="AdminAccount2_1-1631716221254.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;(same is true with the polygon feature)&lt;/P&gt;&lt;P&gt;The referenced data store points to a folder on the server, where my FGDB (along with several other active registered FGDB's) is/are contained. Can someone help me to understand what it is that I'm doing wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance... -MG&lt;/P&gt;</description>
    <pubDate>Wed, 15 Sep 2021 15:16:23 GMT</pubDate>
    <dc:creator>wcozzens</dc:creator>
    <dc:date>2021-09-15T15:16:23Z</dc:date>
    <item>
      <title>Error 00134 - Sharing Feature Class with Attribute Rules to Portal</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/error-00134-sharing-feature-class-with-attribute/m-p/1098492#M218</link>
      <description>&lt;P&gt;Hey all,&lt;/P&gt;&lt;P&gt;I have a simple arcade expression that calculates an area name string to a point that falls within that area. I'm trying to publish the feature service from Pro 2.8.3, to Portal. The two datasets (point, and poly) are registered datasets on Server 10.8.1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var outerGeom = FeatureSetByName($datastore, "Test_Areas", ["name"])
var featureWithin = Intersects(outerGeom, Geometry($feature))

if(Count(featureWithin) &amp;gt; 0) {
  var layer = First(featureWithin);
  return layer.name;
} else {
  return null;
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am following the instructions on &lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/share-datasets-with-attribute-rules.htm" target="_blank" rel="noopener"&gt;Share Datasets with Attribute Rules.&lt;/A&gt;&amp;nbsp;At step 5, under "Share datasets with attribute rules", it mentions that I have to publish the referenced registered data as a feature, in addition to the map image layer.&amp;nbsp;&lt;STRONG&gt;Am I interpreting that correctly?&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;When I attempt to publish the two features as a web layer, I get an &lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/sharing/analyzer-error-messages/00134-layers-data-source-is-not-supported-web-feature-layer.htm" target="_blank" rel="noopener"&gt;error,&amp;nbsp;&lt;/A&gt;suggesting that referenced data is not compatible. To be clear, these datasets are not yet feature services; they reference data stored on the server.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AdminAccount2_0-1631715624929.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/23010i0007C2F83BDA2C2B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AdminAccount2_0-1631715624929.png" alt="AdminAccount2_0-1631715624929.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AdminAccount2_1-1631716221254.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/23022i06A7E510A4E037D8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AdminAccount2_1-1631716221254.png" alt="AdminAccount2_1-1631716221254.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;(same is true with the polygon feature)&lt;/P&gt;&lt;P&gt;The referenced data store points to a folder on the server, where my FGDB (along with several other active registered FGDB's) is/are contained. Can someone help me to understand what it is that I'm doing wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance... -MG&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2021 15:16:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/error-00134-sharing-feature-class-with-attribute/m-p/1098492#M218</guid>
      <dc:creator>wcozzens</dc:creator>
      <dc:date>2021-09-15T15:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: Error 00134 - Sharing Feature Class with Attribute Rules to Portal</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/error-00134-sharing-feature-class-with-attribute/m-p/1100509#M238</link>
      <description>&lt;P&gt;I republished my data from our org's enterprise geodatabase via a SQL Server connection. This resolved the issue.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Sep 2021 19:11:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/error-00134-sharing-feature-class-with-attribute/m-p/1100509#M238</guid>
      <dc:creator>wcozzens</dc:creator>
      <dc:date>2021-09-21T19:11:50Z</dc:date>
    </item>
  </channel>
</rss>

