Skip to main content
Question

I am using an Attribute Value Mapper which works well but would like to refresh the mapping data (imported from excel file) at run time so that the Transformer always holds the latest up to date data without having to manually import. Any ideas? than


Forum|alt.badge.img
I am using an Attribute Value Mapper which works well but would like to refresh the mapping data (imported from excel file) at run time so that the Transformer always holds the latest up to date data without having to manually import. Any ideas? thanks!

4 replies

david_r
Celebrity
  • October 3, 2023

You'll have to replace the AttributeValueMapper with something else. My go-to is to use a FeatureReader to read the Excel data, then e.g. a FeatureMerger to join the lookup values with your data.


j.botterill
Influencer
Forum|alt.badge.img+40
  • Influencer
  • October 3, 2023

Hi nick,

The AttributeValueMapper has a button on it to 'import' from dataset. You can perform this from time to time to update the mapping definitionattributevaluemapperThe other way(s) to achieve would be to use SchemaMapper with the Feature Type mapping. You need to use the fme_feature_type format attribute... copying it in an attributecreator/manager.

 

Perhaps you can attach you fme workbench as an fmwt (template) and maybe we can send it back to you. Let us know the fme build/version


Forum|alt.badge.img
  • Author
  • October 3, 2023
david_r wrote:

You'll have to replace the AttributeValueMapper with something else. My go-to is to use a FeatureReader to read the Excel data, then e.g. a FeatureMerger to join the lookup values with your data.

ok thanks David.


Forum|alt.badge.img
  • Author
  • October 3, 2023
j.botterill wrote:

Hi nick,

The AttributeValueMapper has a button on it to 'import' from dataset. You can perform this from time to time to update the mapping definitionattributevaluemapperThe other way(s) to achieve would be to use SchemaMapper with the Feature Type mapping. You need to use the fme_feature_type format attribute... copying it in an attributecreator/manager.

 

Perhaps you can attach you fme workbench as an fmwt (template) and maybe we can send it back to you. Let us know the fme build/version

Many thanks for response. I think on balance I will use the Feature Reader/Merger. This adds a few more steps to process (see screenshot) but recognising there is no current method to make the AttributeValueMapper 'dynamic', it works best for my purposes.


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