Nov 28 2017 04:42 AM
Nowadays new possibilities keep coming very frequent. I'm a bit lost.
What shall I use when? Suppose, after an item is added to a list I want to execute some custom code.
I do, at least, have two options.
- A SharePoint webhook (using app registrations and so on).
- A Azure function (with or without Flow to trigger)
Maybe there are other options. But what is the easiest way to use in which scenario?
I am not a C# developer so I look for options to avoid that.
Thanks, Mike
Nov 28 2017 05:59 AM
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.
Nov 28 2017 11:28 PM
@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?
Nov 29 2017 04:08 AM
I think it really depends what you want to do.
Nov 29 2017 04:15 AM
@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.