Skip to Main Content

Intelligent Advisor

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Functionality Request : File Upload Group Extension

Richard NapierSep 23 2020 — edited Sep 23 2020

Hi

Just thought I would post this here to see if anyone else is interested. I'm coming across requests to customize the File Upload UI :

- Reduce the size / remove the preview rectangle

- Programmatically access the file metadata (name, size, type)

- Programmatically add a file / delete a file

- Change color of rectangle / label with CSS extension

- Change orientation to horizontal

- Change font etc

- Add fields to group (comments, description of file)

Etc

Anyone else? I do know that a few of these can be hacked in JavaScript extensions like labels and so on, but wouldn't it be more fun to have a real extension?

This post has been answered by Richard Napier on Mar 23 2021
Jump to Answer

Comments

Jasmine Lee-Oracle

Hi Richard,
This came up for me recently. The main thing we wanted to do was grab the file name(s) so that it could be displayed on a final summary screen, or in a BI Pub form.
Cheers,
Jasmine

Richard Napier

Hey Jasmine
lovely to see you here. Yes it would be nice to have. It is possible to gain some degree of the information from an extension, if you are interested I’ll post something.
Otherwise we will wait to see if the Christmas elves have something op their sleeves. We should ask the chief elf too!
happy holiday season.

Fiona Guy-Oracle

The Christmas elves suggest you look at what is in the December 2020 monthly update to Intelligent Advisor ("Customize form controls"
What's new in Intelligent Advisor? (0 Bytes)Hope you have a safe and relaxing holiday break,
Fiona

Richard Napier

Hello Chief Elf!
A nice gift, but not quite what I am looking for. The new functionality in the documentation refers to Forms (download behavior, mime type, file name) but not to File Upload Groups. So this adds functionality for downloads so to speak, but not for uploads (the original functionality requested).
Unless I am mistaken this all applies to Forms only:
getFileName() Returns the file name of the form.
getMimeType() Returns the mime type of the form.
click() Triggers the behavior when a form link is clicked.

Scott Heidenreich

We would like to be able to interrogate the meta data for the upload button as well to verify the number of the attachments, get their names for use in forms,

Fiona Guy-Oracle

Apologies - you're right that the 20D feature was for Forms, I got a little ahead of myself (must have needed that holiday!).
We are still working on the upload piece.

Richard Napier
Answer

Hi All
Lovely to see that customUpload made it's way into 21A Monthly Update 1. Oracle Product Development again showing how responsive they are.
Look what we can do now. Thank you very much!
undefined (0 Bytes)

Marked as Answer by Fiona Guy-Oracle · Mar 23 2021
Fiona Guy-Oracle

Very nice!

1 - 8

Post Details

Added on Sep 23 2020
8 comments
130 views