<?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 arcpy.mp: standalone table change field visibility for tables with definition query in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcpy-mp-standalone-table-change-field-visibility/m-p/1408727#M70295</link>
    <description>&lt;P&gt;I am developing a script to make certain fields visible in a Pro Project using arcpy.&amp;nbsp; Right now, I have a process for using the CIM for setting field visibility for each layer in map.listLayers().&amp;nbsp; It uses &lt;SPAN&gt;fieldDescriptions to loop through the fields in each layer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But when I try to do the same with standalone tables (through map.listTables()), the same information is not available for every table.&amp;nbsp; Tables with a definition query set have&amp;nbsp;&lt;STRONG&gt;no&lt;/STRONG&gt; fieldDescription objects in the CIM.&amp;nbsp; But tables with no definition query set&amp;nbsp;&lt;STRONG&gt;do&lt;/STRONG&gt; have fieldDescriptions available.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Is it possible to change field visibility for standalone tables with a definition query using arcpy?&lt;/P&gt;</description>
    <pubDate>Thu, 11 Apr 2024 19:59:10 GMT</pubDate>
    <dc:creator>epugliano</dc:creator>
    <dc:date>2024-04-11T19:59:10Z</dc:date>
    <item>
      <title>arcpy.mp: standalone table change field visibility for tables with definition query</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-mp-standalone-table-change-field-visibility/m-p/1408727#M70295</link>
      <description>&lt;P&gt;I am developing a script to make certain fields visible in a Pro Project using arcpy.&amp;nbsp; Right now, I have a process for using the CIM for setting field visibility for each layer in map.listLayers().&amp;nbsp; It uses &lt;SPAN&gt;fieldDescriptions to loop through the fields in each layer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But when I try to do the same with standalone tables (through map.listTables()), the same information is not available for every table.&amp;nbsp; Tables with a definition query set have&amp;nbsp;&lt;STRONG&gt;no&lt;/STRONG&gt; fieldDescription objects in the CIM.&amp;nbsp; But tables with no definition query set&amp;nbsp;&lt;STRONG&gt;do&lt;/STRONG&gt; have fieldDescriptions available.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Is it possible to change field visibility for standalone tables with a definition query using arcpy?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 19:59:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-mp-standalone-table-change-field-visibility/m-p/1408727#M70295</guid>
      <dc:creator>epugliano</dc:creator>
      <dc:date>2024-04-11T19:59:10Z</dc:date>
    </item>
  </channel>
</rss>

