Is there a way to invoke (call) an existing immediate alert subscription using a web service call?
I have a requirement from a user who would like to receive a formatted Alert email whenever certain properties change on a list item.
This is a conditional type of alert, which I can do from a SharePoint workflow.
However, I need to be able to invoke/call a specific Alert from the workflow, presumably using web service calls.
I can see there are 2 methods in Alerts.asmx (GetAlerts and DeleteAlerts) but I don't see a way to invoke one that's out there.
Any ideas would be appreciated.
Manesh GolekarPosted Aug 21, 2014, 1:29 AM
Your requirement is for formatted Alert email , however using web service (alert.asmx) it would be not possible to change formatting of template.
Here is good article for invoking Get Alert method ->
http://www.c-sharpcorner.com/UploadFile/anavijai/get-alerts-from-sharepoint-2010-site-using-web-service/
I would suggest Create custom template as per requirement in Send Email action of SP workflow
and send a email as per condition change.
Or you can also change AlertTemplate on server , but that will change template for all sites on server.
Thanks,
M