Skip to content

OpenSource 1000ASA.com

Sections
Personal tools
You are here: Home » Support forum » questions/enhancement suggestions

Forum Post : questions/enhancement suggestions

Up one level
Posted by at 2006-08-26 03:41 (2 replies)

Hi !

It looks like your tool ArcheCSV seems to fit a set of the requirements i need for the tool i am working on, so less coding for me, thanks for the work ;)

Question: do i can upload a csv-file into an importer instance ?
Or better: I don't know how to perform that, programmatically or ttw.

Better let me tell you in detail what my requirements are. I see no reason to stick with my own csv-import code, when there is such a cool tool out there:

I provide a custom AT Content type for holding the data which are only imported by csv regularily, read only, no edit by the users (use case).

Now i want to provide (have it ready) a simple interface for a user to select a local csv file for upload to update/add the AT Content type instances, and all should be done.

I did not dig into the code of ArcheCVS so far, so pleaese can you tell me if such is possible with ArcheCSV?

Additionally, i store every uploaded csv file in a backup folder, to give the possibility to regenerate every instance of the data object anew. This is provided by a simple action.

Also, the data in the different csv files can overlap, but i recognized the "update" checkbox in ArcheCSV, so this might work?

thanks much !

Re: questions/enhancement suggestions

Posted by at 2006-08-26 04:04

How about turning ArcheCSV into a portal_tool to have the "how to convert which csv file" information in one place, and to provide its functionality site-wide? No need to add an importer to a new folder and configure it again.

Throw your csv-files from anywhere at a appropriate and tuned importer in the archecsv_portal_tool and get the objects back where you are.

Ok, it would exactly match my use case, but how about the idea in general?

Re: questions/enhancement suggestions

Posted by lorty at 2006-09-12 12:36

hi,

yes you should be able to upload a csv file, in the step 2: upload file.

If for some reason the upload file field is missing check that you are meeting the requirements:


Plone 2.1.x +

and Archetypes 1.3.7+

« September 2008 »
Su Mo Tu We Th Fr Sa
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30        
 
 

Powered by Plone

This site conforms to the following standards: