How do I hide certain fields when I make a table view, so when I export the table I only get the fields I need?
I have the following code in python:
arcpy.MakeFeatureLayer_management(sde_CHELAN_Property_Polygons, CHELAN_Property_Polygons_Lay, "", "", "OBJECTID OBJECTID HIDDEN NONE;PLAT_NO PLAT_NO HIDDEN NONE;SP_ID SP_ID HIDDEN NONE;......
I have also attached the complete python script.
When I export my table to excel I still get all the fields.