Email Scripting off a SFDC Custom Object

Kristina_Schro1
Level 2

Email Scripting off a SFDC Custom Object

So email scripting question related to a SFDC custom object. I am able to pull in a custom Object field however it's giving me the SFDC User ID instead of the name. Is there a way to extrapolate out the name from the ID, or better to just configure on the SFDC custom object the first and last name onto another field? https://developers.marketo.com/email-scripting/

3 REPLIES 3
SanfordWhiteman
Level 10 - Community Moderator

Re: Email Scripting off a SFDC Custom Object

You can map the User's First Name and Last Name onto the object in SFDC but Marketo can't do that, it doesn't have the data.

SanfordWhiteman
Level 10 - Community Moderator

Re: Email Scripting off a SFDC Custom Object

(That is, it doesn't have the data unless you map it first.)

Darshil_Shah1
Level 10 - Community Advisor + Adobe Champion

Re: Email Scripting off a SFDC Custom Object

These are the sync rules for Marketo and SFDC :

- If you create the fields in SFDC first and make them visible to the marketo user, they will automatically be created in Marketo.

- If you create fields in Marketo, they will not be auto available in SFDC, and you will need Marketo to map them.

- Note, if you have a field you want to create on the lead and contact object, they should have the exact same API name in SFDC so Marketo maps to both and does not create 2 different fields.

You can refer the below doc for review:

https://docs.marketo.com/display/public/DOCS/Add+an+Existing+Salesforce+Field+to+the+Marketo+Sync