I am using File Drag and Drop on a Custom Record Form. I show a button when a file exists and allow to process the contents of the file by running a Suitelet. Usually one team member drops the file, another will use the file when running the Suitelet.. It would not matter if that was always the case, as the other team member would see the button when they opened the form. In some cases, the same team member who drops the file will be running the Suitelet. If that is the case, I need the button to appear immediately after the file it is dropped.
I have the BeforeLoad function check for the existence of the file and show the button. I see no mechanism to check for the existence of the file and show it since I do not see an event fired when the file is dropped. I do not want to make the user refresh the page after the file drop because to me and my bosses that just adds a element of confusion.
Yes , I Checked FieldChanged() and it does not fire (I would not think it would anyway, ).
I want to be able to refresh the Form automatically after dropping the file or have away to detect when a file is added and then show the button.
Does File Drag And Drop have any hooks that can be used for this instance? Or does anyone have a suggestion?
Any ideas would be appreciated.