Skip to main content
Solved

Attributes not being removed

  • November 8, 2022
  • 3 replies
  • 233 views

fmemapper
Contributor
Forum|alt.badge.img+1

I am using the attribute manager to remove fields from my schema that I am writing into an Esri file geodatabase. I am finding that the fields are still present in the new feature class that is being generated but now have null values.

 

Is there a way to do this?

 

image 

image 

 

Best answer by dustin

How do you have your writer setup? Removing an attribute in the AttributeManager only removes it from within the flow of the workspace. If you are using a template in your writer that still has those attributes, or the writer still contains those attributes, then they will be present in the file geodatabase with a <null> value. If you don't want those attributes present in the output, then you will need to remove them from the writer.

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.

3 replies

dustin
Influencer
Forum|alt.badge.img+31
  • Influencer
  • 627 replies
  • Best Answer
  • November 8, 2022

How do you have your writer setup? Removing an attribute in the AttributeManager only removes it from within the flow of the workspace. If you are using a template in your writer that still has those attributes, or the writer still contains those attributes, then they will be present in the file geodatabase with a <null> value. If you don't want those attributes present in the output, then you will need to remove them from the writer.


Forum|alt.badge.img+2
  • 1891 replies
  • November 8, 2022

@fmemapper​ Now that you table is created, don't forget to Drop & Create...


fmemapper
Contributor
Forum|alt.badge.img+1
  • Author
  • Contributor
  • 2 replies
  • November 9, 2022

Thank you @dustin​ and @Mark Stoakes​ . I thought that dropping and creating the table would update the fields and didn't realise that it was just updating in the workspace. Recreating the writer has now stopped the fields from showing.