In SharePoint 2013 it was possible to post data (files) to /_layouts/15/upload.aspx?IsAjax=1&List={GUID}&RootFolder=/Sites/Site-A/LibraryName as a means to uploading files to a library.
Why is it not working anymore?
In SharePoint 2013 it was possible to post data (files) to /_layouts/15/upload.aspx?IsAjax=1&List={GUID}&RootFolder=/Sites/Site-A/LibraryName as a means to uploading files to a library.
Why is it not working anymore?
I suppose I should have been more detailed in setting up the scenario:
I have a page MyUpload.aspx page with a File control and a button to "Upload". When the upload button is clicked, the File control's files are added to a Form Data object and posted to SharePoint's /_layouts/15/upload.aspx with the IsAjax=1 parameters which causes the files to be uploaded automatically, without user interaction or UI.
From my testing, SP Subscription Edition (SE) the IsAjax parameter is not triggering the file upload. The response content is the page itself instead of the upload complete or progress.
So, adding IsAjax=1 in the UI is not the way to test this as it would not work.
Hi @FernandoVargas-4976 ,
According to my testing, please try to change the "IsAjax=1" as "IsAjax=2",it can upload files.
Here is an example you can refer to:
/_layouts/15/Upload.aspx?IsAjax=2&List={GUID}&RootFolder=/sites/site/Library-Name

If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Hi @FernandoVargas-4976,
I am checking to see how things are going there on this issue. If you have any questions, please feel free to let me know.
Looking forward to your reply. Have a lucky day!
Thank you for looking into this.
I have added more detail to the scenario which affects how you are testing.
Hi @FernandoVargas-4976,
Per my research, no documentation has been found to explain why /_layouts/15/upload.aspx is not working on SharePoint Subscription Edition.
You can try to use the example for uploading files, hope it can help you, thank you for your understanding and support.


5 people are following this question.