Skip to main content
Level 2
5月 23, 2019 3:12 午後 UTC
解決済み

UploadCare Integrated but Not Populating Marketo Field with URL to file

I have integrated UploadCare into my landing pages in Marketo but my marketo field is not populating with the link to file. I have followed this document: https://kb.uploadcare.com/article/251-is-there-integration-with-marketo-forms. I can go into the Uploadcare account to see file but that doesn't help me out. Does anyone see anything wrong with the above steps?

SanfordWhiteman
User Group Leader
5月 23, 2019 6:19 午後 UTC

Here you go!

http://learn.specialtycareus.com/Richmond-VA-Careers-Perfusion.html


Two major problems here:

1. You're referring to a field Uploaded_File but there's no such field on your form.

2. Their recommended code is broken. You would need to use this code for it to be reliable (remove the <script> you previously added):

MktoForms2.whenReady(function(form){

// this field name must exist on your form!
var ucareField = "Uploaded_File";

/* --- no need to touch below this line --- */

var formEl = form.getFormElem()[0],
ucareEl = formEl.querySelector("input[name='" + ucareField + "']");

ucareEl.setAttribute("role","uploadcare-uploader");

});‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍

15 の返信

SanfordWhiteman
User Group Leader
User Group Leader
5月 23, 2019 4:37 午後 UTC

We need your actual page to check your work.

翻訳
maggie_Ring作成者
Level 2
5月 23, 2019 4:45 午後 UTC

Here is the template. Do you need a landing page instead? https://app-ab14.marketo.com/#LT251B2ZN12

翻訳
SanfordWhiteman
User Group Leader
User Group Leader
5月 23, 2019 5:05 午後 UTC

Of course, need a publicly accessible page showing your current attempt.

翻訳
maggie_Ring作成者
Level 2
5月 23, 2019 5:10 午後 UTC