You are viewing this site as a guest. You can still ask questions and help others! Join our Dev2Dev IT Community to receive your own blog, share your knowledge, and much more.

Reading file data from a record in peoplesoft app engine

1 reply [Last post]
krisvamsi2005's picture
User offline. Last seen 5 years 10 weeks ago. Offline
Joined: 03/11/2008
Posts: 17

Hi

I am looking to read the data from a file on the PeopleSoft record.

Actually my requirement is to upload a file on the run control page to a record using (Record:\\REC_NAME(contains only the subrecord FILE_ATTDET_SBR) as the URL defn) and then read the file from this record. Is there a way out to read the data present within the file stored on the database record. I am tryng to read the data from this file and insert it to a record using a File layout.

Please let me know your thoughts or any other way aroound for this.

Thanks

Thanks,
Vamsi Krishna

Hari_aindian's picture
User offline. Last seen 4 years 30 weeks ago. Offline
Joined: 08/02/2010
Posts: 84
Re: Reading file data from a record in peoplesoft app engine

But we can straight away can read the file from the location instead of reading the file into record and then reading again from the DB. How ever if you wanna do so try the below steps and let me know

Step 1: Get the file from the record using the get attachment fucntion . This will again bring back the file to a temporary location.

Step 2: From the temp location again read the file.

We can not read the file content directly from the record if the file is uploaded to a record as attachment. Let us know if you found any other way around to do this.

Thanks,
Hari.A

Post new comment

CAPTCHA
The question below is to prevent automated spam submissions.
1 + 12 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.