Question

FeatureWriter writing GlobalID and GUID as Strings

  • 11 January 2022
  • 4 replies
  • 3 views

I am using a featurewriter to overwrite 2 feature classes in a file geodatabase. The attribute definition panel shows the correct GlobalID and guid types. However, the result is string fields. Any ideas?


4 replies

Badge +8

Do you have the GDB schema built in Arcgis Pro? If not, I would do that first. then do this:

in Arcgis Pro - export gdb to xml workspace document

  1. select and enter gdb from catalog window
  2. right-click and navigate to export
  3. select "Geodatabase to XML workspace document"
  4. select "Schema only" for 'Export Options'
  5. save in known location

 

image.png 

 

in FME - import XML workspace document using FeatureWriter

  1. click "Parameters.." button within FeatureWriter transformer
  2. navigate to "Import XML Workspace Document (schema only)"
  3. find and select xml document exported from arcgis pro.

fme image

Do you have the GDB schema built in Arcgis Pro? If not, I would do that first. then do this:

in Arcgis Pro - export gdb to xml workspace document

  1. select and enter gdb from catalog window
  2. right-click and navigate to export
  3. select "Geodatabase to XML workspace document"
  4. select "Schema only" for 'Export Options'
  5. save in known location

 

image.png 

 

in FME - import XML workspace document using FeatureWriter

  1. click "Parameters.." button within FeatureWriter transformer
  2. navigate to "Import XML Workspace Document (schema only)"
  3. find and select xml document exported from arcgis pro.

fme image

I'm not sure how the schema would be referenced. The feature classes dont exist until this featurewriter is run. These feature classes are created from joining other feature classes.

 

Badge +8

I'm not sure how the schema would be referenced. The feature classes dont exist until this featurewriter is run. These feature classes are created from joining other feature classes.

 

Might I suggest taking advantage of FME Academy, specifically "Integrate with Esri Geodatabases" Module. https://safe.my.trailhead.com/today

I ran this with a generic writer and it wrote guid types as expected. However, I need to use the featurewriter for chaining order. I'm not sure what there difference could be between the generic writer and featurewriter.

Reply