Hi.
I'm trying to make dynamic metadata, therefore I need to pass recordDelimiter param (which is an escape character) to XML Writer task (screen).
http://img141.imageshack.us/img141/1731/editmetadatawe9.th.png
In results, I'm getting HTML encoded value & #10; instead of \n character.
How can I pass it without conversion?
I'm trying to make dynamic metadata, therefore I need to pass recordDelimiter param (which is an escape character) to XML Writer task (screen).
http://img141.imageshack.us/img141/1731/editmetadatawe9.th.png
In results, I'm getting HTML encoded value & #10; instead of \n character.
How can I pass it without conversion?
-
Hi,
if you want to use the default value of a data field to pass the record delimiter, then you need to set it to "\\\\n" (without the quotes) and set the field to be non-nullable. However the need for 4 backslashes is currently a bug, we will resolve it in the next release (only 2 backslashes should be needed).
Other mechanism are graph parameters, which can be used throughout the graph via ${parameter_name}. So you could create a parameter for the record delimiter (the parameter can even be used in the metadata editor). See the wiki for more info about parameters.
Hope this helps,
Jaro -
Nah, it's not a bug, it's a future :D Works fine.
Thanks.
Please sign in to leave a comment.
Comments 2