Select to view content in your preferred language

SetupStoreByTable Documentation Incorrect

2297
0
10-03-2011 11:21 AM
TylerCopple
Emerging Contributor
The documentation here is incorrect.  The example SetupStoreByTable function in the ArcPY script at the bottom reads:

 arcpy.SetupStoreByTable_ba(Input, Locator, FldCol, StoreName, "USE_EXISTING", StoreId, OutFC)


It should read according to the documentation DIRECTLY ABOVE it and python reflection:

 arcpy.SetupStoreByTable_ba(Input, Locator, FldCol, StoreName, StoreId, OutFC, "USE_EXISTING")


If you run it the way it is an exception is thrown with the message "Cannot set input into parameter WayToSpecifyStoreIDField."

Tyler
0 Kudos
0 Replies