Blox submit to zapier is empty
- 02-18-2022
Adrian,
This is a known BloX issue CORS issue. Support tells me it will be fixed in L2022.2 or L2022.3. L2022.2 was released yesterday. If you are on Linux you might update and see if that resolves. No info on timing for the windows fix.
Support gave me a custom action that resolves the issue for me on Windows. Create a CustomAction and use that action in place of the standard Submit action.
The Custom Action script they provided is below. Note: they named it ajaxRequest, but you can name it anything that works for you.
Step 1 script:
$.ajax({
url: payload.url,
type: 'post',
data: payload.data,
success: console.log(`request ${payload.url} [ ${payload.data} ] succeeded!`)
});
Step 2 script:
{
"type": "ajaxRequest",
"title": "title",
"url": "yoururl.com",
"data": {
"text": "text"
}
}
I hope this is helpful. Regards, Jim
- 02-18-2022
Adrian,
Note that the solution above does not work with Action Sets. Only with Actions. So instead of using an Action Set on your widget, just use an action. The button placement is not as nice, but other than that it works fine.
Regards, Jim