Will event receiver trigger on a SharePoint 2013 on premise site if site collection has been set to read only












1















I have one SP site where there is an event receiver that gets executed and keeps track of all the information about the documents which are getting downloaded.



Business plans to make this site read only soon, so I am worried if users download the documents post read only, then will the event receiver trigger and try to push the details of the downloaded documents in SP List?










share|improve this question



























    1















    I have one SP site where there is an event receiver that gets executed and keeps track of all the information about the documents which are getting downloaded.



    Business plans to make this site read only soon, so I am worried if users download the documents post read only, then will the event receiver trigger and try to push the details of the downloaded documents in SP List?










    share|improve this question

























      1












      1








      1








      I have one SP site where there is an event receiver that gets executed and keeps track of all the information about the documents which are getting downloaded.



      Business plans to make this site read only soon, so I am worried if users download the documents post read only, then will the event receiver trigger and try to push the details of the downloaded documents in SP List?










      share|improve this question














      I have one SP site where there is an event receiver that gets executed and keeps track of all the information about the documents which are getting downloaded.



      Business plans to make this site read only soon, so I am worried if users download the documents post read only, then will the event receiver trigger and try to push the details of the downloaded documents in SP List?







      2013 sharepoint-server event-receivers read-only






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 10 at 6:28









      Kailash SahooKailash Sahoo

      302




      302






















          1 Answer
          1






          active

          oldest

          votes


















          2














          It depends how way you want to set read-only mode.
          You can set with PowerShell Set-SPSite -Identity "<SiteCollection>" -LockState "<State>" or you can set Permissions on this Site, so you will set for every users Read Only Permissions.



          If you set Read-Only Permissions for all, administrator will always have Full Control permisisons and the Event Reciever runs under Admin, so it should work correctly.



          If you set LockState, there could be problem because neither Administrator could not do any changes on this Site.






          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "232"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsharepoint.stackexchange.com%2fquestions%2f255506%2fwill-event-receiver-trigger-on-a-sharepoint-2013-on-premise-site-if-site-collect%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            2














            It depends how way you want to set read-only mode.
            You can set with PowerShell Set-SPSite -Identity "<SiteCollection>" -LockState "<State>" or you can set Permissions on this Site, so you will set for every users Read Only Permissions.



            If you set Read-Only Permissions for all, administrator will always have Full Control permisisons and the Event Reciever runs under Admin, so it should work correctly.



            If you set LockState, there could be problem because neither Administrator could not do any changes on this Site.






            share|improve this answer




























              2














              It depends how way you want to set read-only mode.
              You can set with PowerShell Set-SPSite -Identity "<SiteCollection>" -LockState "<State>" or you can set Permissions on this Site, so you will set for every users Read Only Permissions.



              If you set Read-Only Permissions for all, administrator will always have Full Control permisisons and the Event Reciever runs under Admin, so it should work correctly.



              If you set LockState, there could be problem because neither Administrator could not do any changes on this Site.






              share|improve this answer


























                2












                2








                2







                It depends how way you want to set read-only mode.
                You can set with PowerShell Set-SPSite -Identity "<SiteCollection>" -LockState "<State>" or you can set Permissions on this Site, so you will set for every users Read Only Permissions.



                If you set Read-Only Permissions for all, administrator will always have Full Control permisisons and the Event Reciever runs under Admin, so it should work correctly.



                If you set LockState, there could be problem because neither Administrator could not do any changes on this Site.






                share|improve this answer













                It depends how way you want to set read-only mode.
                You can set with PowerShell Set-SPSite -Identity "<SiteCollection>" -LockState "<State>" or you can set Permissions on this Site, so you will set for every users Read Only Permissions.



                If you set Read-Only Permissions for all, administrator will always have Full Control permisisons and the Event Reciever runs under Admin, so it should work correctly.



                If you set LockState, there could be problem because neither Administrator could not do any changes on this Site.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jan 10 at 8:16









                Zdeněk VinduškaZdeněk Vinduška

                2,1261520




                2,1261520






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to SharePoint Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsharepoint.stackexchange.com%2fquestions%2f255506%2fwill-event-receiver-trigger-on-a-sharepoint-2013-on-premise-site-if-site-collect%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Plaza Victoria

                    In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

                    How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...