Radicore Forum - RDF feed
https://forum.radicore.org/index.php
new field for file upload transaction
https://forum.radicore.org/index.phpindex.php?t=rview&goto=2557&th=572#msg_2557
edortizq2010-06-25T02:02:56-00:00Re: new field for file upload transaction
https://forum.radicore.org/index.phpindex.php?t=rview&goto=2558&th=572#msg_2558
If a file requires some sort of processing after it has been uploaded then you should put some code in the _cm_post_fileupload() method.
Can you give me an example of this extra variable and how it is supposed to be used?]]>AJM2010-06-25T08:14:26-00:00Re: new field for file upload transaction
https://forum.radicore.org/index.phpindex.php?t=rview&goto=2559&th=572#msg_2559
edortizq2010-06-25T16:19:32-00:00Re: new field for file upload transaction
https://forum.radicore.org/index.phpindex.php?t=rview&goto=2560&th=572#msg_2560
AJM2010-06-25T17:31:29-00:00Re: new field for file upload transaction
https://forum.radicore.org/index.phpindex.php?t=rview&goto=2561&th=572#msg_2561
edortizq2010-06-25T20:44:51-00:00Re: new field for file upload transaction
https://forum.radicore.org/index.phpindex.php?t=rview&goto=2562&th=572#msg_2562
What sort of file is it, and how is it processed?]]>AJM2010-06-25T22:15:18-00:00Re: new field for file upload transaction
https://forum.radicore.org/index.phpindex.php?t=rview&goto=2563&th=572#msg_2563
The file is .xls and is processed sequentially]]>edortizq2010-06-26T18:29:38-00:00Re: new field for file upload transaction
https://forum.radicore.org/index.phpindex.php?t=rview&goto=2564&th=572#msg_2564
I have written several tasks which upload and process CSV/XLS files, and they take all the data they need from the contents of the file.]]>AJM2010-06-26T18:47:24-00:00Re: new field for file upload transaction
https://forum.radicore.org/index.phpindex.php?t=rview&goto=2565&th=572#msg_2565
If I can't change the file upload screen is there a way to insert a dummy task only for to type the date??
Thanks for your time]]>edortizq2010-06-26T22:56:40-00:00Re: new field for file upload transaction
https://forum.radicore.org/index.phpindex.php?t=rview&goto=2566&th=572#msg_2566
If you are uploading a data file which needs to be imported into the database, then the import has to be a performed in a separate task. This import task should then read records from the data file and update the database with whatever logic you specify. All the data required by this import task should be available either in the data file or in the database.
If this data file is provided by a third party, but it has "missing" data, then this data should be inserted into the file before it is uploaded. You could even put this missing data into a second file which you can upload, then have the import task read both files.
It is not possible to modify the upload task in order to specify values which are missing from the data file.
]]>AJM2010-06-27T08:45:12-00:00Re: new field for file upload transaction
https://forum.radicore.org/index.phpindex.php?t=rview&goto=2567&th=572#msg_2567
The fact is, that I can't ask users to modify the third party file or create a new file.
Thanks for your time.]]>edortizq2010-06-27T09:04:53-00:00Re: new field for file upload transaction
https://forum.radicore.org/index.phpindex.php?t=rview&goto=2568&th=572#msg_2568
If the file supplied by a third party does not contain all the data that you need before it can be added to the database then that is an application issue, not a framework issue.
Instead of uploading this "missing" data via the upload task, why can't you add this data to a database table which you can then access within the task which processes the file after it has been uploaded?]]>AJM2010-06-27T10:10:44-00:00Re: new field for file upload transaction
https://forum.radicore.org/index.phpindex.php?t=rview&goto=2569&th=572#msg_2569
thanks for your time]]>edortizq2010-06-27T23:24:46-00:00Re: new field for file upload transaction
https://forum.radicore.org/index.phpindex.php?t=rview&goto=2953&th=572#msg_2953
]]>robinhudda1232012-04-17T08:32:30-00:00