You need to sign in to do that
Don't have an account?

Where is the documentation for sforce.connection.search() and other functions?
I can find examples of how to use the search() function in my S-Control but I can't find the detailed syntax of that function nor any of the other functions exposed in sforce.connection. I've tried searching for the functions in the online help but had no luck finding the correct reference. I've downloaded connection.js but it doesn't provide any good comments. Does anyone have a link to some detailed documentation?
- Ed
- Ed
HTHs,
sforce.connection.search("find {" + searchStringText.value + "} in Name fields RETURNING Account(name, id), Contact(name, id)")
It allowed me to get hits in Account and Contact at the same time. I was hoping to find a more detailed explanation of the syntax that can be used in search unless I totally missed something. For example, I had to look around the message boards to discover that you can't control ordering of the result set.
Interesting IDE.... I've been using the Eclipse plugin for all my S-Control development work. Does the IDE provide context help for syntaxes beyond what Eclipse provides?
- Ed
Got to section:
Understanding API calls > Sforce Object Search Lang (SOSL)
Thanks for trying out Ajax Tools. It does not have more context help
than Eclipse plugin, but it does provide samples, debug shell,
explorer etc - all in one place, without the messy install of
a downloaded app/plugin - IMHO.
- Ed