I read file geodatabase schema of all feature classes by parsing Definition field XML-s from GDB_Items table. I am using ESRI File GDB API. It's main XML element (for feature class) is DEFeatureClassInfo and then under GPFieldInfoExs element information about each field is stored in GPFieldInfoEx element. Example:

<?xml version="1.0" encoding="utf-8"?>
<DEFeatureClassInfo xsi:type="typens:DEFeatureClassInfo" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:typens="http://www.esri.com/schemas/ArcGIS/10.3">
  <GPFieldInfoExs xsi:type="typens:ArrayOfGPFieldInfoEx">
    <GPFieldInfoEx xsi:type="typens:GPFieldInfoEx">
    <GPFieldInfoEx xsi:type="typens:GPFieldInfoEx">

However for some file GDBs, upgraded from 9.3 version to 10.3, not all fields are listed (under own GPFieldInfoEx element), I see only part of them.

Do you know a way how to repair such file GDBs so definitions include all tables fields?

I tried to add new fields; they are appended, but those missing fields still do not appear.

I also tried to create new file GDB using ArcCatalog 10.3; field edits appear under GPFieldInfoExs correctly.

EDIT: Also tried to export full gdb to XML workspace document with data and import to empty gdb but this did not help.


1 Answer 1


try this method,I hope It would be helpful and probably solve your problem, The Recover File Geodatabase tool can only recover simple feature classes and tables. Complex data and relationships will not be recovered, Furthermore there is another tools X-Ray sometime you can get help from that for some geodatabase problem or do some changes in database design.

  • RecoverFileGDB_management "flattened" feature classes by dropping feature datasets, but did not solve fields metadata problem. Sep 14, 2016 at 11:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.