<?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: Arcade error : FeatureSetByPortalItem cannot be used in this profile in Attribute Rules Questions</title>
    <link>https://community.esri.com/t5/attribute-rules-questions/arcade-error-featuresetbyportalitem-cannot-be-used/m-p/1352590#M1205</link>
    <description>&lt;P&gt;I've run into this as well.&amp;nbsp; I have an enterprise system with about 700 feature classes that we have in an enterprise db that also has portal items published.&amp;nbsp; I can't use any of them with my AR due to FeatureSetByPortalItem not being able to be used by AR in the SDE.&amp;nbsp; I also can't just put all of this data in the editing db to be able to use FeatureSetByName and $datastore as well.&amp;nbsp; THIS DEFEATS THE PURPOSE OF AN ENTERPRISE GEODATABASE SETUP!&amp;nbsp; Also we are using our own internal enterprise/portal/server set up as we can't put this data on ArcGIS Online either.&lt;/P&gt;&lt;P&gt;ESRI - when will you be making the FeatureSetByPortal items available in ArcPro AR?&amp;nbsp; Some of us can really use this functionality.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Lorinda&lt;/P&gt;</description>
    <pubDate>Wed, 22 Nov 2023 15:46:49 GMT</pubDate>
    <dc:creator>LorindaGilbert</dc:creator>
    <dc:date>2023-11-22T15:46:49Z</dc:date>
    <item>
      <title>Arcade error : FeatureSetByPortalItem cannot be used in this profile</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/arcade-error-featuresetbyportalitem-cannot-be-used/m-p/1329459#M1115</link>
      <description>&lt;P&gt;Hi, I have received an error (Arcade error : FeatureSetByPortalItem cannot be used in this profile) when my attribute rule was triggered. What I am trying to do is, updating attributes of $feature based on attributes of the intersected features of Portal Item. The portal item is not my organization's one but I have access to it.&lt;/P&gt;&lt;P&gt;As this is an portal item, I used&amp;nbsp;FeatureSetByPortalItem to get a feature set for my attribute rules. The rule that I made is only for Update mode. The rule has been verified and saved successfully in ArcGISPro GUI. However, I have received the error when the rule was triggered by editing a feature.&lt;/P&gt;&lt;P&gt;Much appreciated if anyone knows of any solution to it.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TTtttTeee_0-1695012883550.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/80875i957D52682164BCE9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TTtttTeee_0-1695012883550.png" alt="TTtttTeee_0-1695012883550.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2023 04:55:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/arcade-error-featuresetbyportalitem-cannot-be-used/m-p/1329459#M1115</guid>
      <dc:creator>TTtttTeee</dc:creator>
      <dc:date>2023-09-18T04:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade error : FeatureSetByPortalItem cannot be used in this profile</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/arcade-error-featuresetbyportalitem-cannot-be-used/m-p/1329515#M1116</link>
      <description>&lt;P&gt;According to &lt;A href="https://developers.arcgis.com/arcade/guide/featuresets/#from-a-portal-item" target="_self"&gt;ArcGIS Arcade - From a portal item&lt;/A&gt;, "&lt;SPAN&gt;As long as the profile allows you to access data, you can also establish a connection to a FeatureSet from a data source outside the profile's context, such as a layer from ArcGIS Online, or a layer from another portal. This is done with the&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/arcade/function-reference/portal_functions/#featuresetbyportalitem" target="_blank"&gt;FeatureSetByPortalItem()&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;function.&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;I have an account to access to the item, I have tested FeatureSetByPortalItem for pop-up to see if the connection can be established - it works, and my attribute rule was verified and saved without any error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have no idea what that error is...&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2023 11:14:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/arcade-error-featuresetbyportalitem-cannot-be-used/m-p/1329515#M1116</guid>
      <dc:creator>TTtttTeee</dc:creator>
      <dc:date>2023-09-18T11:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade error : FeatureSetByPortalItem cannot be used in this profile</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/arcade-error-featuresetbyportalitem-cannot-be-used/m-p/1329518#M1117</link>
      <description>&lt;P&gt;My only guess is that running in Pro, it is accessing your login to the portal.&amp;nbsp; When run by the database, it does not have a valid token to access the service.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2023 11:36:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/arcade-error-featuresetbyportalitem-cannot-be-used/m-p/1329518#M1117</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2023-09-18T11:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade error : FeatureSetByPortalItem cannot be used in this profile</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/arcade-error-featuresetbyportalitem-cannot-be-used/m-p/1329527#M1118</link>
      <description>&lt;P&gt;If you look at the documentation for &lt;A href="https://developers.arcgis.com/arcade/function-reference/portal_functions/#featuresetbyportalitem" target="_self"&gt;FeatureSetByPortalItem&lt;/A&gt;, it doesn't include Attribute Rules as one of the profiles it works in.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="portal.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/80884iC5D486F53165F5F6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="portal.png" alt="portal.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2023 11:58:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/arcade-error-featuresetbyportalitem-cannot-be-used/m-p/1329527#M1118</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2023-09-18T11:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade error : FeatureSetByPortalItem cannot be used in this profile</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/arcade-error-featuresetbyportalitem-cannot-be-used/m-p/1329851#M1119</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2839"&gt;@KenBuja&lt;/a&gt;, thanks for your reply.&lt;/P&gt;&lt;P&gt;I just thought the "profile" means the profile of my account that has valid access to the item in the portal. I don't understand the meaning of the profile in this context, could you please tell me what the profile is?&lt;/P&gt;&lt;P&gt;As you said, Attribute Rule is not included in FeatureSetByPoralItem, I gave it a try FeatureSetByName instead; however, it did not work either. Do you know any limitation in this case?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TTtttTeee_0-1695069868557.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/80979iFD5CB79251DAD432/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TTtttTeee_0-1695069868557.png" alt="TTtttTeee_0-1695069868557.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, 18 Sep 2023 20:44:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/arcade-error-featuresetbyportalitem-cannot-be-used/m-p/1329851#M1119</guid>
      <dc:creator>TTtttTeee</dc:creator>
      <dc:date>2023-09-18T20:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade error : FeatureSetByPortalItem cannot be used in this profile</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/arcade-error-featuresetbyportalitem-cannot-be-used/m-p/1329940#M1120</link>
      <description>&lt;P&gt;&lt;A href="https://developers.arcgis.com/arcade/profiles/" target="_self"&gt;Profiles&lt;/A&gt; are the rules in how different Arcade functions can be used. For example, the Labeling profile doesn't allow you to use the FeatureSet functions due to performance issues (see &lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/add-arcade-globals-for-visualization-symbology/idc-p/1146789/highlight/true#M18775" target="_self"&gt;this post&lt;/A&gt;). The FeatureSetByName function works with items in a specific map or feature service, not any item on a Portal.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2023 00:19:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/arcade-error-featuresetbyportalitem-cannot-be-used/m-p/1329940#M1120</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2023-09-19T00:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade error : FeatureSetByPortalItem cannot be used in this profile</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/arcade-error-featuresetbyportalitem-cannot-be-used/m-p/1352590#M1205</link>
      <description>&lt;P&gt;I've run into this as well.&amp;nbsp; I have an enterprise system with about 700 feature classes that we have in an enterprise db that also has portal items published.&amp;nbsp; I can't use any of them with my AR due to FeatureSetByPortalItem not being able to be used by AR in the SDE.&amp;nbsp; I also can't just put all of this data in the editing db to be able to use FeatureSetByName and $datastore as well.&amp;nbsp; THIS DEFEATS THE PURPOSE OF AN ENTERPRISE GEODATABASE SETUP!&amp;nbsp; Also we are using our own internal enterprise/portal/server set up as we can't put this data on ArcGIS Online either.&lt;/P&gt;&lt;P&gt;ESRI - when will you be making the FeatureSetByPortal items available in ArcPro AR?&amp;nbsp; Some of us can really use this functionality.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Lorinda&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2023 15:46:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/arcade-error-featuresetbyportalitem-cannot-be-used/m-p/1352590#M1205</guid>
      <dc:creator>LorindaGilbert</dc:creator>
      <dc:date>2023-11-22T15:46:49Z</dc:date>
    </item>
  </channel>
</rss>

