Posting to /_layouts/15/upload.aspx is not working on SP Subscription Edition

Fernando Vargas 11 Reputation points
2022-03-14T21:14:23.687+00:00

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?

Microsoft 365 and Office | SharePoint | Development
Microsoft 365 and Office | SharePoint Server | Development
{count} votes

1 answer

Sort by: Most helpful
  1. Tong Zhang_MSFT 9,251 Reputation points
    2022-03-15T05:55:38.713+00:00

    Hi @Fernando Vargas ,
    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  
    

    183163-image.png


    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.



Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.