My model has two model parameters:
- A file gdb workspace or sde workspace containing the data
- An empty "template" file gdb
As the very first process in my model, I want to check if the schema of the data workspace matches the schema of the template gdb. If they don't match, the model should stop and preferably give some meaningful error message (I suppose by using some Python in a Calculate Value
tool). I know this can be done simply by using the Export XML Workspace Document
tool now in 10.1
, but I'm still on 10
for now, so I need my models to work properly on 10.