Hello Everyone
Today i found out a cool way to Disable or Enable alerts in sharepoint.
Why is this so cool you ask ? because instead of canceling all the email features (such as Workflows) i can disable just the alerts.
this is the way to do it :
Disable Alerts
stsadm -o setproperty -propertyname alerts-enabled -propertyvalue false -url http://Web_App-URL
Enable Alerts
stsadm -o setproperty -propertyname alerts-enabled -propertyvalue true -url http://Web_App-URL
And if you want this to happen right away you should Restart the timer services by going to RUN > Services.msc and restarting a service called " Windows Sharepoint Services timer"
after which this command should follow :
stsadm -o execadmsvcjobs
that it :-)
stsadm -o setproperty -propertyname alerts-enabled -propertyvalue false -url http://Web_App-URL
Enable Alerts
stsadm -o setproperty -propertyname alerts-enabled -propertyvalue true -url http://Web_App-URL
And if you want this to happen right away you should Restart the timer services by going to RUN > Services.msc and restarting a service called " Windows Sharepoint Services timer"
after which this command should follow :
stsadm -o execadmsvcjobs
that it :-)
3 comments:
hi
what if I wanted to eliminate alerts for certain users? how can I do that?
You Can do it by going to _layouts\role.aspx
and set Permission to the user that does not allow him to use alerts.
Post a Comment