How to customize upload.aspx for SharePoint library

Harshavardhan 21 Reputation points
2020-11-10T10:35:02.31+00:00

I want to customize upload.aspx for only one library as below, please suggest me on how to achive this.

38608-image.png

Thanks in advance.

SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,609 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Jerryzy 10,571 Reputation points
    2020-11-11T07:13:08.433+00:00

    Hi @Harshardhan-11,

    You can modify the upload.aspx located in the path:

    C:\Program Files\Common Files\microsoft shared\Web Server Extensions\16\TEMPLATE\LAYOUTS\uploadex.aspx

    The upload form url will be like:

    39004-snipaste-2020-11-11-14-58-10.png

    You can check the list guid using JavaScript to make sure it only apply for one library:

    39041-uploadex.txt

    Add code under PlaceHolderMain tag:

    38959-snipaste-2020-11-11-15-09-48.png

    The list guid can be found in SharePoint Designer:

    39005-snipaste-2020-11-11-15-15-50.png


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    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.

    0 comments No comments

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.