Skip to Content
author's profile photo Former Member
Former Member

UDF read file from input path

Hello all,

I'm wondering if it is possible to create a user defined function that takes the path to a file on local server as input parameter, and opens and reads the file to output desired result. I am not sure how to go about reading the file from the server. Any suggestion is greatly appreciated!

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jun 07, 2006 at 09:44 PM


    sure this is possible you can read any file

    from UDF with java but you'll have the result

    in one output

    maybe it would be easifer to use java mapping

    and read the file inside this java mapping?

    so you'd be able to fill all the target fields

    in one place

    you can also try this approach 😊





    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.