Syncing to User Lookup Fields in SFDC | Community
Skip to main content
Jace_Garside1
Level 2
May 27, 2020 5:56 PM UTC
Solved

Syncing to User Lookup Fields in SFDC

We have a custom user lookup field in our Salesforce environment.  That field is integrated with our Marketo environment.  In Salesforce, that field shows the user's name, but in Marketo, the user ID is populated.  Is this a normal/expected outcome?  Is there a way to have the user's name populate without having to create a formula field in SFDC?

Oz_Platero
Oz_PlateroAccepted solution
Level 6
Jun 8, 2020 2:19 PM UTC

Hello @jace_garside1 

 

Is this a normal/expected outcome? 

Yes, when connecting tables the default way it to use Foreign Keys and Primary keys so that is why you see an integer. 

 

Is there a way to have the user's name populate without having to create a formula field in SFDC?

Yes, try the following to output a name (text) value:  https://developer.salesforce.com/forums/?id=906F0000000AxcXIAS

3 replies

Oz_Platero
Oz_PlateroAccepted solution
Level 6
Jun 8, 2020 2:19 PM UTC

Hello @jace_garside1 

 

Is this a normal/expected outcome? 

Yes, when connecting tables the default way it to use Foreign Keys and Primary keys so that is why you see an integer. 

 

Is there a way to have the user's name populate without having to create a formula field in SFDC?

Yes, try the following to output a name (text) value:  https://developer.salesforce.com/forums/?id=906F0000000AxcXIAS

Translate
Jace_Garside1
Level 2
May 27, 2020 6:17 PM UTC

Based on the conversation below, looks like a formula field is required to populate the user display name in Marketo.

 

https://nation.marketo.com/message/130611#comment-130611

Translate
Darshil_Shah1
Community Manager
May 27, 2020 6:35 PM UTC

This could work I believe: You can develop apex triggers to populate the custom field in sfdc that will sync back to marketo normally. 

Translate