You need to sign in to do that
Don't have an account?
Question on Gmaps
Help Please.
I've got the gmaps working for the most part; the only exception is that it does not provide any hits when I enter in a date parameter. I've used the explorer tool to get an error message but my eyes are going...can someone help?
Here's the error:
Query failed: MALFORMED QUERY:
(CreatedDate >= 2005-08-25T11:26:16: )
unexpected char.
How do I need to set up the date?
This is the entire query:
Select id, lastname, firstname, street, city, state, postalcode, company, title, website, email, lat__c, lon__c, Phone, MobilePhone, Fax, ConvertedDate from lead where (City != Null) and (IsConverted = false) and (ConvertedDate >= 2005-08-25T16:50:47: )
Message Edited by QuantumMechanic on 08-26-2005 04:53 PM
Message Edited by QuantumMechanic on 08-26-2005 04:55 PM
Now if I use this syntax in SForce Explorer I still get errors.
YYYY-MM-DDThh:mm:ss
Has anyone been able to get the date to work using gmaps?
Cheers.
There is a bug in the toolkit that is preventing submitting a correctly formatted date.
To work around this issue until the fix is posted, include the following code in your scontrol.
ÂHi Dave, thanks for the quick reply. I've augmented my code with your function however, now the page will
not load whatsoever.
Do you have an entire working script?
Of course, you will have to specify the the js file
http://sandbox.sforce.com/ajax/beta1/sforceclient.js
No dice on that new script.
From the UI selecting leads created within the last 24 hours does not return any data.
This is the output I get when turning the diagnostics on:
Select id, lastname, firstname, street, city, state, postalcode, company, title, website, email, lat__c, lon__c, Phone, MobilePhone, Fax from lead where (City != Null) and (IsConverted = false) and (CreatedDate >= 2005-08-29T11:15:05
No records matched the query.