Skip to main content

Hi all,

I need to pass the named database connection to a custom transformer. The name depends on the input in an Excel file. In this Excel file, I have for example 'NE' and 'NW', which needs to be mapped to a Named DB connection. Neither in the AttributeValueMapper, nor in the AttributeManager it is possible to set a value of the Named DB Connection. Anyone an idea on how to approach this?

best regards,

Jelle

Have you tried simply creating a published parameter of type string in the custom transformer and link it to the appropriate values? As long as the tring is exactly the same as the name of the connection it seems to work for me.


Have you tried simply creating a published parameter of type string in the custom transformer and link it to the appropriate values? As long as the tring is exactly the same as the name of the connection it seems to work for me.

OK, that works. Makes it a little bit less flexible, but it does the trick. Thank you!

 

 


Reply