I have a requirement where I want to integrate Umbraco Forms using an Azure Logic App (for CRM integration). Azure Logic apps appear to want a POST of a JSON object. However, Umbraco Forms only allows POST of XML. I imagine this is not a unique requirement... Can Umbraco Forms please be updated to provide a supported JSON workflow endpoint?
Yes it does sound like a useful feature. Feature Requests however should be posted at http://issues.umbraco.org. (Make sure to mark your post as 'Feature Request' and not 'Bug') otherwise they might miss this post by only posting it here on Our.
If you dont have the time, energy or budget to build your own workflow, then I guess posting it as a feature request is your only option. If you do however dicide to build it yourself, I'll be happy to help you out if you need any code examples or guidelines.
I was considering going down the custom workflow route. I haven't done one before but I didn't envision much difficulty - glad to know that's right. That said, I do think it's something that should be baked in to the product... So I'll be sure to put a feature request in. :)
Does anyone know whether there's been any movement on this? issues.umbraco.org is down at the moment so I can't read the comments on the official request, and the drop-in PostToUrlAsJson.cs doesn't seem to be compatible with Forms 11/12.
Workflow feature request: Post forms as JSON
Hi,
I have a requirement where I want to integrate Umbraco Forms using an Azure Logic App (for CRM integration). Azure Logic apps appear to want a POST of a JSON object. However, Umbraco Forms only allows POST of XML. I imagine this is not a unique requirement... Can Umbraco Forms please be updated to provide a supported JSON workflow endpoint?
Hi Ali.
Yes it does sound like a useful feature. Feature Requests however should be posted at http://issues.umbraco.org. (Make sure to mark your post as 'Feature Request' and not 'Bug') otherwise they might miss this post by only posting it here on Our.
Have you done any of your own custom Workflows for Umbraco Forms before? It's actually not that difficult once you get the hang of it and the Feature that you describe does not sound very time consuming to build. Here is the docs about building your own custom workflow: https://our.umbraco.org/documentation/products/umbracoforms/developer/extending/Adding-a-Workflowtype
If you dont have the time, energy or budget to build your own workflow, then I guess posting it as a feature request is your only option. If you do however dicide to build it yourself, I'll be happy to help you out if you need any code examples or guidelines.
Have a great day!
All the best / Dennis
Thanks Dennis,
I was considering going down the custom workflow route. I haven't done one before but I didn't envision much difficulty - glad to know that's right. That said, I do think it's something that should be baked in to the product... So I'll be sure to put a feature request in. :)
edit: here we go, http://issues.umbraco.org/issue/CON-1294
Sounds great Ali.
Thanks for your help making Umbraco even better! #h5yr
For future reference, because this was never adopted. Here's my implementation of this function:
https://gist.github.com/alirobe/220f59b486c4b0cd950d33712fa6d423
Can I drop this into App_Code or is there a better location? This should work with my custom API? Same server or what if it's on another server?
Does anyone know whether there's been any movement on this? issues.umbraco.org is down at the moment so I can't read the comments on the official request, and the drop-in PostToUrlAsJson.cs doesn't seem to be compatible with Forms 11/12.
For those interested, my Umbraco 13 version:
https://gist.github.com/hetfirma/b0da14502f0cbf1e3d4f99707a45da9d
is working on a reply...