syncLead clearing field data | Community
Skip to main content
November 15, 2013
Solved

syncLead clearing field data

  • November 15, 2013
  • 3 replies
  • 2174 views
Is it possible thru the soap API (w/o needing anything else) to clear the value from a field, custom or otherwise?

I've tried just passing thru a blank value and that doesn't seem to do anything. Changing the value to something else does work, I just don't see a way to clear it out.

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 Kenny_Elkington
Hey Brian,

The same applies to syncLead as it does to Change Data Value.  You can input "NULL" into the attribute, and it will clear the value in the field.

3 replies

Kenny_Elkington
Kenny_ElkingtonAccepted solution
New Participant
November 15, 2013
Hey Brian,

The same applies to syncLead as it does to Change Data Value.  You can input "NULL" into the attribute, and it will clear the value in the field.
Amanda_Thomas6
New Participant
February 4, 2016

Hi Kenny Elkington and Brian Miller

I tried this with a date field, and it did not work. Do you know a way where I can clear  a date field through a marketo campaign?

November 15, 2013
That sounds like something you can't do thru the API. Is there no way to do it via the syncLead (or any other) call in the SOAP API?

Edit: I guess I could setup a smart campaign that could clear out fields and call that via the API requestCampaign, but to rely on something that has to be done in the UI first rather than just natively in the API seems somewhat hack-ish.

Any other possible solutions?

Thanks!





November 15, 2013
Hey Brian,

You can empty a field by using the flow step "Change Data Value" and entering a value of "NULL".