Skip to main content
Solved

Attributes not being removed

  • November 8, 2022
  • 3 replies
  • 214 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.

View original
Did this help you find an answer to your question?

3 replies

dustin
Influencer
Forum|alt.badge.img+31
  • Influencer
  • 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
  • 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
  • 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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings