Page 1 of 2

File Upload Widget

Posted: Thu May 26, 2011 5:23 pm
by joerattz
I am looking for a file upload widget. I see this thread:

http://profoundlogic.com/forums/phpbb3/ ... load#p1729

The problem is that we need the user to be able to upload the file, and once it is uploaded to perform some processing (such as comparing it to data in a database) on it inside ProfoundUI in the same program. Uploading the file is one step of several. So here is an example of the workflow.

1. User uploads a file.
2. RPG code compares data in the uploaded file to data in a database.
3. RPG/ProfoundUI displays data elements that are different between the file and database and includes checkmarks (maybe radiobuttons) for each element for the file or (versus) database.
4. The user can choose for each different element whether the system should use the data from the file or the database (meaning pick a source, file or database for the element).
5. Then for each element that the user selected the data file as the source, that element is updated in the database with the new value from the file.

The specifics of the flow aren't real consequential other than I am trying to illustrate a workflow where uploading the file is just one step of several performed in the same program. I am not positive at this point if uploading the file is always the first step either. There may be more before it.

I suppose it could be possible to have one application/page where the user uploads the file and then another RPG/Profound application where the user could select to process a file from the list of uploaded files uploaded on the other page I just mentioned. I am not sure this break in the workflow will meet the requirements though.

I am looking for any suggestions. Also, are you by chance already working on a file upload widget and if so, any date on when it should/may be available?

Thanks!

Re: File Upload Widget

Posted: Thu May 26, 2011 5:55 pm
by David
We are actually working on a built-in file upload widget that can be embedded into a PUI screen that will provide feedback information to the PUI program, such as the number of files uploaded (we plan to support multples, optionally), file size, file name, content type, etc.

I have no firm ETA on this right now, unfortunatley, although we do hope to have it ready over the next couple of months.

In the meanwhile, a separate web program could be written to handle the uploading. This can be called using "window.open()" from the PUI applicatoin to show in a pop-up window. The program through JavaScript could communicate data back to the PUI screen and even submit the PUI screen for processing to make them work a bit smoother together.

Re: File Upload Widget

Posted: Thu May 26, 2011 6:04 pm
by joerattz
Thanks! The file upload widget sounds like a great addition to the toolset.

Re: File Upload Widget

Posted: Fri May 27, 2011 12:57 am
by amc
+1, really looking forward to this widget becoming available :)

Re: File Upload Widget

Posted: Sat Jun 25, 2011 11:46 am
by leatherlips
+1!

Re: File Upload Widget

Posted: Fri Jul 01, 2011 11:40 am
by Bryan641
Me too! We've done it using a separate web program, but it's ***. Especially passing login credentials back so we know the user is logged in and allowed to invoke the upload function.
--Bryan

Re: File Upload Widget

Posted: Tue Aug 30, 2011 11:35 am
by ahenderson
Any word on the status of this widget?

Re: File Upload Widget

Posted: Tue Aug 30, 2011 11:43 am
by Brian
It is still in development but making progress. We hope to have it ready fro release soon.

Re: File Upload Widget

Posted: Wed Aug 31, 2011 8:07 am
by nascar88
I agree that this will be a great addition to the widget set. Keep up the great work!!

Re: File Upload Widget

Posted: Mon Sep 12, 2011 1:43 pm
by Bryan641
I've got another project that looks like it's going to need file upload capabilities. I hope this widget becomes available soon so I don't have to jump through so many hoops to do it another way.
--Bryan