Command Line Utility with Forms

There are two ways to use the command line utility: with forms and without forms. Using forms provides a significant increase in processing speed, and simplifies the requirements of the CSV input file.

To use the command line utility with forms, follow the first two steps outlined in the Batch Form Submission Utility section above. Once the form and input file are prepared, use the following command to execute the utility.

Usage (note: remove " from command line):

BatchUtility "input_filename.csv" "webservice URL" "agent_user_name" "password" –formid "id#" [-renameinput] 

 

The –formid parameter tells the utility to process the CSV input file through iService forms. The id of the iService form can be found from the Admin Tools–Forms page.

The -renameinput parameter is optional and will rename the input file by pre-pending the current date to the file. This is useful if you have an automated process that runs daily against files with an identical name.

 

The input file when using the batch form submission process is much simpler than using the legacy not-forms approach. Simply name the column headings of your .CSV file using the format form-ID, where the ID is the corresponding field within the form to which you are submitting the .CSV file. For instance, if your iService form has a field with an ID of "FirstName", the column heading within the .CSV file would be "form-FirstName".

 

(c) 2012-2014 One-to-One Service.com, Inc.