<?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 Property ID for Meter record in Attribute Rules Questions</title>
    <link>https://community.esri.com/t5/attribute-rules-questions/attribute-rule-to-calculate-property-id-for-meter/m-p/1269056#M770</link>
    <description>&lt;P&gt;If you use FeatureSetByname with $datastore and exclude the rule from application evaluation, the rule should work on the server as long as the container (assembly I assume?) is in the workspace which it should be in case of the UN.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if those are related with containment associations you can use FeatureSetByAssociation&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.esri.com/arcgis-blog/products/utility-network/data-management/featuresetbyassocaitions-new-utility-network-arcade-api-to-work-with-associations-2-5-10-8/" target="_blank"&gt;https://www.esri.com/arcgis-blog/products/utility-network/data-management/featuresetbyassocaitions-new-utility-network-arcade-api-to-work-with-associations-2-5-10-8/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Mar 2023 17:37:50 GMT</pubDate>
    <dc:creator>HusseinNasser2</dc:creator>
    <dc:date>2023-03-17T17:37:50Z</dc:date>
    <item>
      <title>Attribute Rule to calculate Property ID for Meter record</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/attribute-rule-to-calculate-property-id-for-meter/m-p/1268863#M768</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a requirement to populate ElectricDevice (type Service Meter) record in Utility Network with the ID of the property it falls into. I thought I could use FeatureSetByName and Interects. However, FeatureSetByName ($map, &amp;lt;layer&amp;gt;) expects the layer to be in a same feature service. I cannot include property layer in the UN service. Is there any other way like &lt;EM&gt;FeatureSetByURL&lt;/EM&gt;?&lt;/P&gt;&lt;P&gt;Cheers,&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;</description>
      <pubDate>Fri, 17 Mar 2023 06:23:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/attribute-rule-to-calculate-property-id-for-meter/m-p/1268863#M768</guid>
      <dc:creator>EstherSmith_Dev</dc:creator>
      <dc:date>2023-03-17T06:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rule to calculate Property ID for Meter record</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/attribute-rule-to-calculate-property-id-for-meter/m-p/1268882#M769</link>
      <description>&lt;P&gt;If the class is in the same database, you can use $datastore instead of $map&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyname" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyname&lt;/A&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;featureSetCollection&lt;/STRONG&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/arcade/guide/types/#featuresetcollection" target="_blank" rel="noopener"&gt;FeatureSetCollection&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;- The map or feature service containing one or more layers from which to create a FeatureSet. Typically, this value is the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;$map&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;$datastore&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;global.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The other option is use a portal lookup to access another feature service&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/arcade/function-reference/portal_functions/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/arcade/function-reference/portal_functions/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 09:29:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/attribute-rule-to-calculate-property-id-for-meter/m-p/1268882#M769</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2023-03-17T09:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rule to calculate Property ID for Meter record</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/attribute-rule-to-calculate-property-id-for-meter/m-p/1269056#M770</link>
      <description>&lt;P&gt;If you use FeatureSetByname with $datastore and exclude the rule from application evaluation, the rule should work on the server as long as the container (assembly I assume?) is in the workspace which it should be in case of the UN.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if those are related with containment associations you can use FeatureSetByAssociation&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.esri.com/arcgis-blog/products/utility-network/data-management/featuresetbyassocaitions-new-utility-network-arcade-api-to-work-with-associations-2-5-10-8/" target="_blank"&gt;https://www.esri.com/arcgis-blog/products/utility-network/data-management/featuresetbyassocaitions-new-utility-network-arcade-api-to-work-with-associations-2-5-10-8/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 17:37:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/attribute-rule-to-calculate-property-id-for-meter/m-p/1269056#M770</guid>
      <dc:creator>HusseinNasser2</dc:creator>
      <dc:date>2023-03-17T17:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rule to calculate Property ID for Meter record</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/attribute-rule-to-calculate-property-id-for-meter/m-p/1269305#M771</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/188597"&gt;@MikeMillerGIS&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/arcade/function-reference/portal_functions/#featuresetbyportalitem" target="_blank"&gt;https://developers.arcgis.com/arcade/function-reference/portal_functions/#featuresetbyportalitem&lt;/A&gt;&amp;nbsp;should do the trick.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;</description>
      <pubDate>Sun, 19 Mar 2023 22:32:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/attribute-rule-to-calculate-property-id-for-meter/m-p/1269305#M771</guid>
      <dc:creator>EstherSmith_Dev</dc:creator>
      <dc:date>2023-03-19T22:32:56Z</dc:date>
    </item>
  </channel>
</rss>

