Skip to main content
Question

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

  • June 11, 2018
  • 2 replies
  • 104 views

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)

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.

2 replies

redgeographics
Celebrity
Forum|alt.badge.img+60
  • Celebrity
  • 3703 replies
  • June 12, 2018

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
  • 4 replies
  • June 13, 2018

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"...