Perspective FileUpload component onFileRecieved event script issue

Hi everyone,

In my Perspective project, I used two FileUpload components, each running a script onFileReceived. My issue with both FileUpload components is that when a file is uploaded, the script associated with the onFileReceived event is executed twice. I tested same scripts on other components' event actions and there was no issue. I guess it could be something related to Perspective's FileUpload component. The version of Ignition I am using is 8.1.32.

Any idea about this is appreciated.
Thanks

The problem was fixed in version 8.1.36.

If you can't update versions, this post has some workarounds:

3 Likes

Thanks for your response. As I cannot update the ignition version running on the server, I resolved this issue based on the post you provided. Here is the link to the workaround I used:

https://forum.inductiveautomation.com/t/ign-8219-perspective-file-upload-onfilereceived-being-called-twice/32472/5