Not able to add LeadSource standard SFDC field in Marketo Form | Community
Skip to main content
Level 2
January 25, 2023
Solved

Not able to add LeadSource standard SFDC field in Marketo Form

  • January 25, 2023
  • 2 replies
  • 3835 views

Using SubmitForm API to create person record. I downloaded all fields object and found Lead Source as listed in the Marketo Person record fields having "leadSource" as it's API name. But I am not able to add that field in the Marketo form on which data is getting submitted via API. As its not in form definition getting below error.

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Darshil_Shah1

Well, if you don’t have the Person Source field on the form in Marketo, then you’d encounter this error. Submit Form is an alternative for synchronizing leads to Marketo and is designed to provide functionality that is equivalent to a Marketo Form submission. It’s not an same as the create/update leads endpoint and your use-case sounds more suitable for the leads create/update POST endpoint instead of form submit endpoint. Unless of course, you want to log a filled out form activity in the person’s activity log that’d trigger campaigns listening for it. If that’s the case then you’d need to add all fields you’re including in payload in your Marketo form asset as well.

2 replies

Darshil_Shah1
Community Advisor and Adobe Champion
Darshil_Shah1Community Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
January 25, 2023

Well, if you don’t have the Person Source field on the form in Marketo, then you’d encounter this error. Submit Form is an alternative for synchronizing leads to Marketo and is designed to provide functionality that is equivalent to a Marketo Form submission. It’s not an same as the create/update leads endpoint and your use-case sounds more suitable for the leads create/update POST endpoint instead of form submit endpoint. Unless of course, you want to log a filled out form activity in the person’s activity log that’d trigger campaigns listening for it. If that’s the case then you’d need to add all fields you’re including in payload in your Marketo form asset as well.

Level 2
January 26, 2023

Seems when we export field list from Marketo, in that the field name is listed as "Lead Source" but in actual on the form it is found as "Person Source".  I added Person Source and it worked with API name "leadSource".

Darshil_Shah1
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
January 26, 2023

The words “Lead/Leads” have been replaced with “Person/People”. While this change has been made to the friendly field names of the fields/and GUI in Marketo, they haven't updated the API names as that would break existing integrations for users.

 

 

SanfordWhiteman
Level 10
January 25, 2023

Is that field actually on the form in Form Editor?