Skip to main content
Solved

Can new attributes be added to dynamic writers?

  • Sep 21, 2020 10:25 PM UTC
  • 5 replies
  • 185 views

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!

Best answer by takashi

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

View original
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

5 replies

takashi
Celebrity
  • Best Answer
  • Sep 22, 2020 1:43 AM UTC

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


  • Author
  • Sep 22, 2020 10:55 PM UTC

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.


  • Author
  • Sep 23, 2020 6:58 PM UTC

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?


  • Author
  • Sep 23, 2020 9:08 PM UTC

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.


michaelbreen
Contributor
Forum|alt.badge.img+3
  • Contributor
  • Oct 25, 2023 11:21 PM UTC

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.