I tried that, but got an error. It failed to write the metadata
Parsing XML document 'D:\2024\02\HVRoutes\original\routes\Heavy_Vehicle_Routes.xml' Error occurred using IXmlPropertySet2::setXml(). HRESULT = -2147215103. File: C:\code\fme\foundation\formats\geodb2\geodbutilities.cpp Line #: 3369 Storing feature(s) to FME feature store file `D:\2024\02\HVRoutes\v1\ExtractRoutesOpenToFileGDB_log.ffs' ...much metadata…
=========================================================================== GEODATABASE_FILE writer: An error has occurred. Check the logfile above for details GeodatabaseRelationshipFeaturesPipeline::GeodatabaseRelationshipFeatures (SortFactory): Finished sorting a total of 0 features. Transaction #106 rolled back. Rerun translation specifying transaction #105 for the keyword 'TRANSACTION' Closing the Esri Geodatabase writer
I tried that, but got an error. It failed to write the metadata
Parsing XML document 'D:\2024\02\HVRoutes\original\routes\Heavy_Vehicle_Routes.xml' Error occurred using IXmlPropertySet2::setXml(). HRESULT = -2147215103. File: C:\code\fme\foundation\formats\geodb2\geodbutilities.cpp Line #: 3369 Storing feature(s) to FME feature store file `D:\2024\02\HVRoutes\v1\ExtractRoutesOpenToFileGDB_log.ffs' ...much metadata…
=========================================================================== GEODATABASE_FILE writer: An error has occurred. Check the logfile above for details GeodatabaseRelationshipFeaturesPipeline::GeodatabaseRelationshipFeatures (SortFactory): Finished sorting a total of 0 features. Transaction #106 rolled back. Rerun translation specifying transaction #105 for the keyword 'TRANSACTION' Closing the Esri Geodatabase writer
Hard to say without you data, but did the sample work? If it did, you can go from there and you need to find out why your XML does not work for you. Reading XML, as it is an open format, it can be anything :)
Can you look at the logfile to see there are any warnings or errors?
When I run the 2021.1 sample I get the following errors:
2024-02-27 08:45:39| 0.6| 0.1|ERROR |Unable to perform any licensing related tasks. Please check your Esri ArcGIS Compatibility setting. This 64-bit version of FME requires ArcGIS Desktop along with 64-bit Background Geoprocessing; ArcGIS Pro; or ArcGIS Enterprise. Refer to this this article http://fme.ly/qua for more details
Which means I have to change the Esri ArcGIS Compatibility in the Navigator from Esri ArcMap to Esri ArcGIS Pro, as I do not use ArcMap anymore.
When I change the XML from the sample to your data, it still runs, but it won’t read anything. But this is to be expected, as the XML structure from your data differs from the sample. So you have to change the XML part to your need.
Did you have any answer to this error when updating a SDE metadata?
Error occurred using IXmlPropertySet2::setXml(). HRESULT = -2147215103. File: C:\code\fme\foundation\formats\geodb2\geodbutilities.cpp
I am having the same error as you, actually. My workbench was working perfectly with FME Desktop 2021, but stopped working when we migrated to FME 2022