• ABShell
  • NEWBIE
  • 0 Points
  • Member since 2005

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 12
    Questions
  • 5
    Replies
How can I get the latest object created? going through the whole list and get to the bottom of the query?
Hi,

How do I search for a record in Contact where name is equal to something?

I just find out that when I do query, I can not just write name, but has to sperate it into firstname and lastname. Any document I can take a look?
Hi:


I was trying to use the regular saleforce Lookup (the one with a magnify glass) in my S-control. it is invoked by a java script call to openLookup('/widg/lookup_fs.jsp?*****').

Can some one explain how to use this method?
and how does the search result gets back to my form?

thanks,
Beta2 sforceClient.Update() call reports "object Error" this morning.

It was ok yesterday. And Beta1 also fine. Might be related to your bug update.
Hi:

For some reason the .getClassName() does not work for returns from Create,
but do work for Query() and Update().

How do I print out the error message of Create?



---------------------------------------------------
var saveResult = sforceClient.Create(sObjects);

//report object does not support this method.....
if (saveResult.getClassName() == "SaveResult") {
alert("Save successful");
}

else if (saveResult.getClassName() == "SoapFault") {
alert(saveResult.detail.toString());
}
---------------------------------------------------------
During an update, a property that was set to null or empty is not getting updated.

//this line will not update the Approver__c attribute if the value is null
oppt.set("Approver__c", products[pos].get("Approver__C"));

Please advise.
Is there any salesforce javascript functions available to do formatting? like those of dates, numbers and currency?
If I want to use some images, or third party javascript files, can I upload them somewhere in the salesforce site? and how?
The url https://www.sforce.com/ajax/beta2/ is not working.

thanks,
I want to display an animated gif during the async call back to salesforce?

Does salesforce have standard one?

If not, any one can point me to some other standard animated gifs?
Hi,

Can I do multiple async sforceClient.Query() call within a page?

Right now it reports error like follows:
XMLHttpRequests[...].readyState is null or not an object.
Hi:

I have several questions:

1) Looks like a simple query like sforceClient.query("Select Id, LastName, FirstName From Contact where LastName like ***) will return not only the data, but also those layout information.
Is there a detailed documentation describing the behavior of each API call?
Is there any way I can perform a query which only return data?

2) Retrieve option, how is that compared to query call?

3) What is the general guideline to speed things up?


thanks,
Hi:

For some reason the .getClassName() does not work for returns from Create,
but do work for Query() and Update().

How do I print out the error message of Create?



---------------------------------------------------
var saveResult = sforceClient.Create(sObjects);

//report object does not support this method.....
if (saveResult.getClassName() == "SaveResult") {
alert("Save successful");
}

else if (saveResult.getClassName() == "SoapFault") {
alert(saveResult.detail.toString());
}
---------------------------------------------------------
The url https://www.sforce.com/ajax/beta2/ is not working.

thanks,
Hi:

I have several questions:

1) Looks like a simple query like sforceClient.query("Select Id, LastName, FirstName From Contact where LastName like ***) will return not only the data, but also those layout information.
Is there a detailed documentation describing the behavior of each API call?
Is there any way I can perform a query which only return data?

2) Retrieve option, how is that compared to query call?

3) What is the general guideline to speed things up?


thanks,