• Adhar Jain
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies

Hey fellow developers!

 

Let me start by saying I am pretty new to all of this. Hopefully I am posting in the right board. I am new to the SOAP api, and development on the SFDC platform all together.

 

I am trying to code (with PHP) a script that clears out certain date fields in a custom SFDC object. The problem is, I don't know what I should be passing to this field to clear it out. I have tried passing "null", "0", "false", "" (blank), and I keep getting the error:

 

Fatal error: Uncaught SoapFault exception: [soapenv:Client] '' is not a valid value for the type xsd:date in /path/to/soapclient/SforceBaseClient.php:509

 I can't imagine there isn't a way to clear out this field via the API. The field is not marked as required in SFDC. Does anyone have any ideas for me to try?

 

Thanks in advance!!

 

Brad 

  • May 25, 2012
  • Like
  • 0