Title: Uploading Multiple Files When Using GBC (fgl_getfile() Post by: Sean H. on October 10, 2024, 01:08:12 pm Hi,
I'm trying to find a way to enable a user to select multiple files at once to be uploaded to the server from the users PC as part of the migration to the GBC. Currently under the GDC it's not problem we just loop through the files which we've been able to determine exist (using frontcall) and pull each individually with fgl_getfile() and we do all this in the background. Now via the GBC we don't have access to browse folders on the PC and using fgl_getfile() under the GBC only allows us to upload one file? Thanks & Regards Sean Title: Re: Uploading Multiple Files When Using GBC (fgl_getfile() Post by: Reuben B. on October 10, 2024, 10:56:33 pm Are you aware of the openFiles front-call https://4js.com/online_documentation/fjs-fgl-manual-html/#fgl-topics/c_fgl_frontcall_standard_openfiles.html. (Note that is ...files plural
My inclination when transforming to use GBC is to precede FGL_GETFILE wth an explicit openFile(s) front-call as this gives you a little more control of what is rendered as opposed to FGL_GETFILE in isolation which will add its own UI if the file referenced has not been uploaded to the GAS temporary directory already. Reuben Title: Re: Uploading Multiple Files When Using GBC (fgl_getfile() Post by: Sean H. on October 11, 2024, 04:32:08 pm Thanks Reuben, No I wasn't aware of that openFiles frontcall; I will pick this up on Monday but that looks perfect for what I need.
Have a good weekend. Regards Sean |