Skip to main content
Question

Update the coded-value domains in FME transformation without re-adding the writer


Forum|alt.badge.img

Hello,

I am wondering if I could update the coded-value domains in FME transformation without re-adding the writer.

Because I have spent so much time on re-order the fields in the way I want for many feature classes( 30+), and I don't want to re-do them every time I need to update something in the reader, so I don't think I would want to re-add the writers every time or choose the automatic in attribute definition as it would change back the order to default...

So my question is, if I use the manual option for attribute definition, could I still get the updated coded-value domain from the updated reader without re-configuring the writer? For example, I added the coded value "Inactive" into the "Status" domain (first image), how could the "Status" in the writer get the updated domain from the reader? I tried so many times, but didn't have luck yet. The error message saying " The attribute definition used is invalid for the non-existent domain 'Condition'. For a coded value domain the proper syntax is 'coded_domain(domain_name:field_type:name_1:value_1: ... name_n:value_n)'---> [Condition is also coded-value domain type, so I would assume the same applies to the Status field].Does anyone have an idea?

(The reader)

(The Writer)

2 replies

redgeographics
Celebrity
Forum|alt.badge.img+49

You could try the "Update Feature Types" option from the Writers menu. It looks like that doesn't change the order of the attributes if you have changed it manually (at least on the file I tried it with)


Forum|alt.badge.img
  • Author
  • June 13, 2018
redgeographics wrote:

You could try the "Update Feature Types" option from the Writers menu. It looks like that doesn't change the order of the attributes if you have changed it manually (at least on the file I tried it with)

I tried it too..but every time I tried to update gave me a msg" No feature type can be updated"...

 

 


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