Exporting / Importing data from a Text file

Posted by mysteryminds on 25-Nov-2015 05:38

Dear RB GURUS

I would like to export data from the system to a text file / Import data from a text file to create new record / Update the record.

Can someone kindly guide me where and how to start..

How it should function 

In Record Details Page - Will have a button  EXPORT 
It will have to export all the details of the record - E,g 150 fields to one text file 

e,g : 

Name             Age                         DOB
Address 1                            Address 2
City
State
Telephone                              Fax
Email Address :
JOB LOCATION 
Company Address
Job Details                              YRS                                 DESIGNATION

All Replies

Posted by Chandrasekhar Gontla on 25-Nov-2015 06:07

Hi,

You can achieve it by following below steps.

> Create a document template using text file where provide all the field names and respective template tokens as you wish.

> Enable workflow attribute in the object.

> Create a workflow action of type 'Template Document' and select previously created template.

> Assign this action to default status 'Created".

> Create a record and go to record details page.

> You will find workflow action in more actions.

> Clicking on action will generate text output what you expected.

Thanks and Regards,

Chandu.

Posted by Chandrasekhar Gontla on 25-Nov-2015 06:39

Hi,

I developed an app to explain the same.

And, for any details check the below doc link

[View:http://documentation.progress.com/output/rb-classic/index.html#page/rb-classic/adding-business-logic.html#:550:50]

Please find attached app xml file.

Thanks and Regards,

Chandu.

This thread is closed