2

My scenario: i want to create a spfx web part that uses a rest API that will query all the alerts throughout the whole site collection for the current user.

I want to know which API to use and better if there already is a sample i can use. I am new to spfx and am building this web part using react

1 Answer 1

3

I believe that there is no REST API that could manage nor read alerts whatsoever. Also alerts are per site (web) so it would require to iterate through all subsites which could take really long time to load.

This functionality was introduced in CSOM at January 2017. So long time there was no way how to manage alerts in the cloud and I don't think that it will change in near future.

4

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.