Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ali Robertson 13 posts 112 karma points
    Mar 14, 2017 @ 04:53
    Ali Robertson
    0

    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?

  • Dennis Adolfi 1082 posts 6449 karma points MVP 6x c-trib
    Mar 14, 2017 @ 07:11
    Dennis Adolfi
    0

    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

  • Ali Robertson 13 posts 112 karma points
    Mar 19, 2017 @ 09:18
    Ali Robertson
    100

    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

  • Dennis Adolfi 1082 posts 6449 karma points MVP 6x c-trib
    Mar 20, 2017 @ 06:52
    Dennis Adolfi
    0

    Sounds great Ali.

    Thanks for your help making Umbraco even better! #h5yr

  • Ali Robertson 13 posts 112 karma points
    Sep 21, 2018 @ 08:13
    Ali Robertson
    4

    For future reference, because this was never adopted. Here's my implementation of this function:

    https://gist.github.com/alirobe/220f59b486c4b0cd950d33712fa6d423

  • Connie DeCinko 95 posts 248 karma points
    Jul 29, 2019 @ 18:26
    Connie DeCinko
    0

    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?

  • Chris Mahoney 242 posts 454 karma points
    Aug 20, 2023 @ 23:33
    Chris Mahoney
    0

    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.

  • Robert Sikkens 5 posts 76 karma points
    Mar 27, 2024 @ 15:13
    Robert Sikkens
    1

    For those interested, my Umbraco 13 version:

    https://gist.github.com/hetfirma/b0da14502f0cbf1e3d4f99707a45da9d

Please Sign in or register to post replies

Write your reply to:

Draft