I have script that does everything I want, except that I create two pivot tables... I want these two dbf tables to automatically be added to ArcMap after the script runs. Is it arcpy.MakeTableView_management? For feature classes I used MakeFeatureLayer and the ApplySymbology... but can't seem to find anything for DBF tables
TableView.replaceDataSource(workspace_path, workspace_type, dataset_name, {validate})The replaceDataSource method on the TableView object is similar to the findAndReplaceWorkspacePath method, but in addition to being able to change a workspace type, the dataset can also be changed. This is the only method that enables you to replace a table's dataset within a workspace. This is especially useful when the name of a dataset is different in the new workspace.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.