Forum Discussion
Sharepoint webhook vs. Azure function. What to use when?
I would personally pick the 2nd option if it can fulfill the requirements as it's a much simpler setup in my opinion. This is particularly true in the long term, as if someone else needs to look into your solution and maintain it.
- Mike JansenNov 29, 2017Iron Contributor
Joel Rodrigues Indeed, that's what I would prefer.
Btw Andrew Connell, I saw a response from you in my mail but it's not in this thread anymore. I do have a question though. Do you mean to use an Azure function without Flow?
- DeletedNov 29, 2017
I think it really depends what you want to do.
- Mike JansenNov 29, 2017Iron Contributor
Deleted By default I try to avoid custom code in SharePoint as much as possible. However, sometimes you do not have any other options. So if I NEED to use custom code I think the Flow/Functions option will be my way to go. Have it in small "parts" so easy to maintain by others. For example in a current scenario I need to copy a listitems from a subsites to a list at site-collection level. Nothing too special but I need the "new-item" trigger.