EDIT: To clarify some confusion. My script current adds EXTABLE, geocodes EXTABLE and saves a new feature class to a file geodatabase. That new Feature class is called EXAMPLE. I also want the script to open the attribute table in a new view window that is associated with EXAMPLE.
The closest method I have found is .openView() under the Map class. I have not been able to successfully execute this method without receiving an error: openView() takes 1 positional argument but 2 were given.
Sample:
aprx = arcpy.mp.ArcGISProject("Current")
MP = aprx.activeMap
Layer = MP.listLayers("EXAMPLE")[0]
MP.openView(Layer)
This returns the "openView() takes 1 positional argument but 2 were given error."
My next best guess it to just make python perform an action such as Ctrl + T or Ctrl double click to open the attribute table.
"I am once again asking for your support" - Bernie Sanders
I have a script that adds an access database table to a map.
Then geocodes that table and creates a new feature class.
I also want this script to open the attribute table associated with the new feature class.
Is there a way to do this in arcpy?