Reputation: 107
I have a custom form for a new item in SharePoint list. I added a javascript code (JSOM) to create a folder and SPGroup with the info given in the form. This is working in classic view, but when I change to the 'new experience' view a PowerApp form is shown to enter new item. So, how I can do the same functionality for SharePoint online using PowerApps? do I have to use Azure functions? or would be better to create a SharePoint Add-ins?. I was reading some info and looks like PowerApps does not allow to add a link to the js file.
Upvotes: 0
Views: 1895
Reputation: 1477
You can also create a custom API for your Azure function and use that API directly in powerapps (through adding a data source). Azure provides features to generate swagger definition and exporting the generated file to powerapps/flow.
Upvotes: 0
Reputation: 107
After some days of research and testing I ended up with some useful links to create functions on Azure with CSOM and call them from Flow using HTTP Actions. I think this is the way how to create workflows in SharePoint Online, since Flow has limited actions to work with SharePoint Groups, permissions, Libraries.
Upvotes: 1