How to create an event handler without visual studio that will throw JavaScript alert message with the file name when a new document is uploaded to document library in SharePoint 2016?

Smith88 21 Reputation points
2021-05-07T14:26:44.257+00:00

How to create an event handler without visual studio that will throw JavaScript alert message with the file name when a new document is uploaded to document library in SharePoint 2016?

SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,665 questions
{count} votes

Accepted answer
  1. MichaelHan-MSFT 18,016 Reputation points
    2021-05-10T06:38:32.87+00:00

    Hi @Smith88 ,

    No, we cannot create an event handler without Visual Studio. With SharePoint Designer, we could only set email notification on file upload.

    To achieve this, you need to use VS to create event handler.


    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

1 additional answer

Sort by: Most helpful
  1. Smith88 21 Reputation points
    2021-05-11T18:18:48.407+00:00

    I have learned that I might can use JSOM to add watermark to a document upon document upload with JavaScript, by creating an HTML form in a web part content editor? Is this possible? Can you provide any thoughts on this idea? Thanks.

    0 comments No comments