| Home > Solution Guides > How to import CSV file to any application? |
How to import CSV file to any application? |
|
|
|
1.
|
Create a new Variable
|
- From Tools->Variable Manager, select User Variables
- Click on 'Add New Variable'
- Specify the name of the variable say for e.g. ImportList
- Select the type as 'List' from the drop down menu
- Click on 'Read from text file' option
- Specify the path of your csv file for e.g. C:my-csv-to-import.txt
|
|
2.
|
Import csv file
|
- Let's say your csv file looks as shown in Screenshot 2
- Add the variable name "ImportList=" in front of the list to be imported as shown in Screenshot 3
- Similarly if you have multiple lines of comma separated values you can add the variable name in front of all those lines and add those variable in Automation Anywhere Variable Manager as shown in Screenshot 4
|
|
3.
|
Process csv file
|
- In previous two steps you have setup Automation Anywhere to read the values from your csv file.
- Now, let's process the values of csv file one by one
- All the values of the csv file in one line will be read into the List variable. In this case "ImportList".
- You can use this variable in a loop to access the values one at a time.
- See the Screenshot 5 on how it reads each value and inserts it into the database.
|
Screenshot 1:

Screenshot 2:

Screenshot 3:

Screenshot 4:

Screenshot 5:
|
|
Related Downloads: |
 |
DVD Power Burner is leading DVD/CD burning software that burns data, audios, videos, and images...
|
|
|
|
|
|
| Hot Software |
The FTP (File Transfer Protocol) utility program is commonly used for copying files to and from...
This review recommends you the best 3 DVD backup software, futher more, this website also shows...
This review recommends you the Best 3 PDF Password remover, including PDF Password Remover, Adult...
Adobe Reader software is the global standard for electronic document sharing. It is the only PDF...
This review recommends you the best 3 PDF printer, including Ultra PDF Printer, Virtual PDF...
|
| Editor Reviews |
 Lucy Lee
Advantage: It's very smart, which saves my efforts to a great extent. Just one click, it seeks...
 Dr. File Finder
Clyton, by Gammadyne Corporation, is a really cool email client that I found while I was poking...
 Lucy Lee
Pros: It is a powerful DVD Ripper through which we can rip our DVD movies to video and audio...
 Dr. File Finder
Advanced Directory Comparison and Synchronization, by Heatsoft Corporation is a cool utility for...
 Lucy Lee
Pros: It's quite a useful and practical tool for users who do not install CAD, for it aims at...
|
|