Select to view content in your preferred language

arcpy.mp: standalone table change field visibility for tables with definition query

453
0
04-11-2024 12:59 PM
epugliano
New Contributor

I am developing a script to make certain fields visible in a Pro Project using arcpy.  Right now, I have a process for using the CIM for setting field visibility for each layer in map.listLayers().  It uses fieldDescriptions to loop through the fields in each layer.

But when I try to do the same with standalone tables (through map.listTables()), the same information is not available for every table.  Tables with a definition query set have no fieldDescription objects in the CIM.  But tables with no definition query set do have fieldDescriptions available.

Is it possible to change field visibility for standalone tables with a definition query using arcpy?

0 Kudos
0 Replies