Hi Emilio,
As discussed through chat yesterday, I have written a small java file
which will accept a configuration file.
Usage of this tool:
java ZohoCreatorFormUploader <configuration file path>
The configuration file will be a key-value pair with the following
options
ownerName= <Application Owner's Zoho Id>
appName= <Application Name> [Refer
http://creator.zoho.com/api/reference ]
formName=<Form Name> [Refer
http://creator.zoho.com/api/reference ]
dataFile= <File path of the csv data file> [This
should have the deluge field name as the first row. To get all deluge
field names in one place, refer
http://creator.zoho.com/api/reference ]
apiKey= <Zoho API key> [You can get one
here ]
proxy=<true/false>
proxyHost=<Proxy Host>
proxyPort=<Proxy Port>
proxyUser=<Proxy User Name>
proxyPassword=<Proxy Password>
Proxy details are optional. I have used the CSV APIs of Zoho Creator to
bulk add records. Reference :
http://writer.zoho.com/public/help/add-record-csv/fullpage
To run, you need to have a JRE installed and this will work for a
public form only. Right now I am enhancing it for private forms. Since
the timeout for uploading
the files in the server is currently 300 seconds(5 minutes), I will
have to work on splitting the HttpRequest. I will be splitting it by
1000 rows each (or we can get it as a configuration value). I was able
to add about 19000 records using this.
You
can use this for initial testing and once I finish with the above 2
pending
work items, I will update you. Please let me know if you need any
clarifications in this regard.
Thanks,
Charles
--
Visit http://www.zohocreator.com to build web applications online at the click of a mouse.
Visit http://blogs.zohocreator.com for latest updates