Network Automation Software We are currently migrating this forum
over to our HelpSystems domain. Please
post all new threads in our new
HelpSystems Community Portal.
Post to the HelpSystems Forum
You are not currently logged on. You must be logged on in order to post. Log on
Or Create a new account
AutoMate Discussion
Decrease font size
Increase font size
Topic Title: write contents of .csv to .html file, save and loop
Topic Summary:
Created On: 10/13/2017 01:02 PM
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
Answer This question was answered by Leonard Amabile, on Monday, October 16, 2017 9:28 AM

See the code below.
 10/13/2017 01:02 PM
User is offline View Users Profile Print this message

Author Icon
Student (5-19 posts)

Posts: 18
Joined: 09/09/2005

I have attached a .csv file with 2 fields (JPG_HTML, JPGID). For each row, I want to write the contents of JPG_HTML column to an .html file and then save that .html file with the filename from the JPGID column.

Using the attached .csv file as an example, I'd end up with 7 .html files each saved with a unique filename.

How would I set this up in Automate?

 Category Survey
AutoMate 10 version: 10.3.0
Windows version: Windows Server 2008 R2

write.csv  (1 KB)

 10/15/2017 12:07 PM
User is offline View Users Profile Print this message

Author Icon
Leonard Amabile

Posts: 5454
Joined: 05/15/2007

Answer Answer
See the code below.

 Category Survey

Task Steps: (Right click, Select All, Copy to copy to the clipboard. Steps can then be pasted into the AutoMate Task Builder)


Leonard Amabile | Director, Cross Platform Support
AutoMate | InterMapper | Skybot | Divisions of HelpSystems
T: +1.213.738.1700 | F: +1.213.738.7665
18258 users are registered to the AutoMate Discussion forum.
There are currently 0 users logged in.
The most users ever online was 6686 on 11/01/2020 at 01:24 AM.
There are currently 2439 guests browsing this forum, which makes a total of 2439 users using this forum.

FuseTalk Enterprise Edition v4.0 - © 1999-2021 FuseTalk Inc. All rights reserved.

Sitemap Network Automation Software Blog