<?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: How to list existing Attribute Rules? in Attribute Rules Questions</title>
    <link>https://community.esri.com/t5/attribute-rules-questions/how-to-list-existing-attribute-rules/m-p/1487370#M1486</link>
    <description>&lt;P&gt;I found this old post in ArcGIS Pro by &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/10527"&gt;@JakeSkinner&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-questions/iterate-through-sde-to-find-and-export-fcs-with/td-p/1154338" target="_blank" rel="noopener"&gt;https://community.esri.com/t5/arcgis-pro-questions/iterate-through-sde-to-find-and-export-fcs-with/td-p/1154338&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Seems I commented on it 2 years ago too!!&lt;/P&gt;&lt;P&gt;Short answer, there is an undocumented property when you do "Describe"&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;rules&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;arcpy&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;Describe&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;fc&lt;/SPAN&gt;&lt;SPAN&gt;).attributeRules&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It returns a list of rules or an empty list of there are none defined on that feature class.&lt;/P&gt;</description>
    <pubDate>Fri, 07 Jun 2024 17:37:35 GMT</pubDate>
    <dc:creator>Brian_Wilson</dc:creator>
    <dc:date>2024-06-07T17:37:35Z</dc:date>
    <item>
      <title>How to list existing Attribute Rules?</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/how-to-list-existing-attribute-rules/m-p/1487302#M1485</link>
      <description>&lt;P&gt;I wrote a script that exports rules from each feature class in a database, but it creates files even when a feature class has no rules.&lt;/P&gt;&lt;P&gt;I need to be able to tell if there are rules attached to a feature class, like ListFeatureClasses or ListDomains&lt;/P&gt;&lt;P&gt;There are methods Add and Alter rules but you have to know the name of a rule to do those operatoins.&lt;/P&gt;&lt;P&gt;How can I list??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2024 15:50:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/how-to-list-existing-attribute-rules/m-p/1487302#M1485</guid>
      <dc:creator>Brian_Wilson</dc:creator>
      <dc:date>2024-06-07T15:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to list existing Attribute Rules?</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/how-to-list-existing-attribute-rules/m-p/1487370#M1486</link>
      <description>&lt;P&gt;I found this old post in ArcGIS Pro by &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/10527"&gt;@JakeSkinner&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-questions/iterate-through-sde-to-find-and-export-fcs-with/td-p/1154338" target="_blank" rel="noopener"&gt;https://community.esri.com/t5/arcgis-pro-questions/iterate-through-sde-to-find-and-export-fcs-with/td-p/1154338&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Seems I commented on it 2 years ago too!!&lt;/P&gt;&lt;P&gt;Short answer, there is an undocumented property when you do "Describe"&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;rules&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;arcpy&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;Describe&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;fc&lt;/SPAN&gt;&lt;SPAN&gt;).attributeRules&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It returns a list of rules or an empty list of there are none defined on that feature class.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2024 17:37:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/how-to-list-existing-attribute-rules/m-p/1487370#M1486</guid>
      <dc:creator>Brian_Wilson</dc:creator>
      <dc:date>2024-06-07T17:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to list existing Attribute Rules?</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/how-to-list-existing-attribute-rules/m-p/1591494#M1690</link>
      <description>&lt;P&gt;&lt;BR /&gt;Wanted to share that attribute rule properties do have describe documentation going back to their implementation.&amp;nbsp; You can find it below.&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/functions/attribute-rule-properties.htm" target="_blank" rel="noopener"&gt;Attribute Rules Describe Properties&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 00:00:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/how-to-list-existing-attribute-rules/m-p/1591494#M1690</guid>
      <dc:creator>SSWoodward</dc:creator>
      <dc:date>2025-03-04T00:00:09Z</dc:date>
    </item>
  </channel>
</rss>

