Skip to Main Content
  • Questions
  • Upload files directly to static application files

Breadcrumb

Question and Answer

Connor McDonald

Thanks for the question, Tushar.

Asked: May 09, 2024 - 12:30 pm UTC

Last updated: May 13, 2024 - 1:27 am UTC

Version: 23.1

Viewed 100+ times

You Asked

Hi,

I have a use case in which I want the end user to upload files from UI and it will directly store into the application's static files section. Are there any APIs available?

Thanks,
Tushar

and Connor said...

To my knowledge that is not possible because think of the security implications.

Your app might be using a particular static javascript file, and lo and behold, its just been replaced with a brand new one.

I think a better option would be a standard File Browse item that loads into APEX_APPLICATION_TEMP_FILES