Skip to Content
0
Former Member
Jan 21, 2008 at 04:55 AM

can we read a file from native file system in mapping using JAVA UDF ?

28 Views

Hi All,

in my File to Mail scenario, i want to get the email distribution list based on the file name. So i am planning to keep a config file in the XI server in an XML format and based on the file name i will parse the xml file and get the email list. i have written this code in java (Java editor) and working fine but while executing in mapping (XI environement) it is not returning any value. in test mapping also it is not returning any value. So please help me to find out the answers for following doubts?

1. Can we access a local file from mapping using JAVA UDF?

2. There is any other methodolgy to achieve it (is value mapping will help us) ?

As i am very new to the XI, some of my questions may meaningless. if so please correct me.

Thanks in advance.

-Siva