[GIS] Create Table (Data Management), Unable to Save to Feature Dataset

arcgis-10.1pythontable

I'm trying to create a table in a feature dataset and get the error: Parameters are not valid. The code works when I write only to the gdb. Am I not allowed to write to a feature dataset or am I doing something wrong?

import arcpy
import datetime

now = datetime.date.today()
exoticPlant = "Kudzu"
outPath = r"V:\chat_gis\gis_projects\Vegetation_Managment\Data\Derived_Data\Derived_Data.gdb\Report_01_14_2013"
exoticReportTemplate = "\MASTER_Data\VegetationManagment_Chatt.gdb\Exotic_Report_Template"
exoticReportName = exoticPlant + "_UnitCoverage_5years_" + now.strftime("%m%d%Y")

arcpy.CreateTable_management(outPath, exoticReportName, exoticReportTemplate)

Best Answer

In geodatabases, tables cannot be stored in a feature dataset. They can only be stored at the geodatabase level. Feature datasets are limited to feature classes and other advanced dataset types like topology, etc.

Check out the ArcGIS help regarding Feature Datasets: http://resources.arcgis.com/en/help/main/10.1/index.html#//002300000001000000