Correcting data values in forms and CRM | Community
Skip to main content
Zoe_Forman
Community Manager
January 8, 2024
Solved

Correcting data values in forms and CRM

  • January 8, 2024
  • 1 reply
  • 3622 views

 It has been brought to my attention that 'Vietnam' needs to be spelt correctly on all our global forms and within our CRM-Salesforce.


Instead of Vietnam, we have Viet Nam as our stored, select value in all forms.


What is the best way to correct this spelling error in bulk in all forms? - Could Python code work?

 

I can then create a smart campaign to change old values to new values in Marketo when corrected.

In Salesforce, is this again a store value change that can be done on mass by the CRM Admins?
Will the corrected value in Marketo sync to  Salesforce lead and update in Saleforce too?

Thanks

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 SanfordWhiteman

The Marketo REST Asset API allows you to edit form fields, including select options. It’s not a Python thing — any language can be used, but the key is your developer needs to be familiar with the API. It’s a pretty steep learning curve for the forms part.

 

Given the learning curve, I’d recommend you make this change instead on the client side, with a piece of additional JS. Naturally you’ll need to deploy that JS everywhere (after the form embed).

 

I find it best to keep select options in a separate file and build them dynamically using JS all the time, that way you can instantly make changes to every form, everywhere.

1 reply

New Participant
January 8, 2024

Hey @zoe_forman 

 

RE: Salesforce Sync - The Marketo/Salesforce lead sync is bidirectional, so you can make the edits in Marketo and they'll be updated in Salesforce if the CRM has access to the fields (which your country field should be!) 

 

As an extra safeguard, I would consider adding a 'Sync Person to SFDC' step in your campaign you use to make these changes. This will force the Marketo/Salesforce sync! 

 

I'm unaware of any way to make mass changes to Marketo forms. 

Zoe_Forman
Community Manager
January 8, 2024

Hi  @jacksi1 

Yes, we do have bidirectional sync for COUNTRY field MKTO<>SFDC.

 

The extra flow step to 'Sync Person to SFDC' step in your campaign to stop being caught in a queue is a good call.

This is the easy part!

 


The bulk change is the more complex part - or will just take a lot of time.
I'll reach out to a couple of Python experts to see if its something that can be solved with some code.
Thanks, Zoe

Michael_Florin-2
New Participant
January 8, 2024

You can access a form field's select list via API: https://developers.marketo.com/rest-api/assets/forms/

 

But the question always is: Is it worth the effort to explore that or just grit your teeth and do it manually. How many forms do you have? If it's below 100, I'd go manual.