Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Has anyone managed to get an Umbraco Forms workflow to post to Click Dimensions successfully? Just wondering if I'm wasting my time trying to replace a working hand-coded form with an Umbraco Form.
I can see the POST from the browser back to the web server has GUIDs as field names. I'm guessing it's the same from the web server to the Click D endpoint. If so, is it possible to intervene to set the field names/ID's as Click D requires them?
Create your own wokflow and do what you need todo there https://our.umbraco.com/Documentation/Add-ons/UmbracoForms/Developer/Extending/Adding-a-Workflowtype
I'll take a look at that. Could be a way of working out what's currently sent and seeing if the label values are still there to swap out with the GUIDs. If it has to be totally hand-coded then there's no point swapping out the current form for an Umbraco one.
Thanks for the pointer :)
Have you tried using the Send Form to URL workflow that comes with Umbraco Forms?
That does allow you to post to a custom URL and map the form field values you want to send across, including custom field names (so it won't use the Umbraco Forms GUIDs).
Yes, I'm using that workflow at the moment but not using the mapping section as it's not at all clear how to use it. I've not been able to find any documentation on it other than : "Send form to URL
Sends the form to a url, either as a HTTP POST or GET". The fields and labels are ambiguous: "Alias", "Form Value" and "Static Value" so left them alone.
It gave me the impression it would overwrite the user-entered value with a pre-determined "Static" value which isn't what I want to do. Do you know what it actually does?
Yes, it's a bit confusing.
The way it works is:
So when you have the Form Value set, you would just leave the Static Value empty.
I'm currently setting that up now (a lot of fields). I'll report back when I get it going.
Setting all the values up took a while but worked beautifully. Just have to remember to "enable" the workflow when you're done ;)
I'll have a look at updating the docs around it so it's as clear as Tom's explanation. (PR sent)
Do you mind sharing your code?
im having similar problems.. cant seem to post to an endpoint
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted