Skip to main content

Hi!

I have about 8 file geodatabases containing 3-6 feature classes (with different schemas) in each geodatabase. I have a standard set of 4-5 attributes (with blank values) that I need to add to each feature class. Is there an easy way to keep the original schemas from the original feature classes, while also having the ability to add new attributes?

Thanks for any info!

Hi @spizam​ , you can just add new static attributes to a dynamic writer feature type on the User Attributes tab.

add-attributes-to-dynamic-writer-feature-type


That was perfect, thanks @Takashi Iijima​ ! I was attempting a few different ways, and I thought I tried this exact method, but it ended up using all schemas within a GDB across all feature classes + the new attributes. Much appreciated.


As a follow up @Takashi Iijima​ , or others, I need to write this to Excel, or CSV as a last resort. When I try to add the new attributes, along with any additional attributes, it defaults to the original schema and removes anything I add. Is this a Excel Writer issue, or am I doing something wrong?


Nevermind, all sorted. I was copying/pasting attributes under User Attributes and the "Type" wasn't compatible with the Excel writer. It was just a matter of changing "char" or "double" to "auto" or something like that.


This is magic, Thanks @Takashi Iijima​.

I spent all of yesterday trying to modify the schema feature to add a new attribute and then I found this article.

It all seems so simple once we have the answer.


Reply