Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [sforce.connection]

The tag has no usage guidance.

0
votes
1answer
32 views

Best practice for using AJAX connection API in a VF page

I am using URL's as follows in a visual force page: <script src="/soap/ajax/31.0/connection.js" type="text/javascript"></script> <script src="/soap/ajax/31.0/apex.js" type="text/...
0
votes
4answers
65 views

not able to retrieve records in <script> tag in VF page

I am trying to query fee records in function check(). alert(cb.id);is returning correct id but query is not returning anything. alert('qr '+qr); function is not working. catch is throwing Error ...
0
votes
1answer
70 views

Do I need to re initialize longpolling client with new access token on every connection session timeout?

Sample code how I'm initializing LongPollingTransport to create Bayeux client for subscribing pushtopic , LongPollingTransport transport = new LongPollingTransport(options, httpClient) {...
0
votes
0answers
826 views

AttributeError: 'HttpResponse' object has no attribute 'query'

We have a Django website that interacts with Salesforce custom object named Temp Contact (API: Temp_Contact__c). When I try to login to website, I receive this error in the terminal- AttributeError:...
1
vote
1answer
178 views

Retrieve FieldSet fields throught javascript possible?

I know how to get FieldSet fields from within apex through describe. but I have the need to do it using javascript is this possible ? and if so how. Thanks in advance Ronen
1
vote
1answer
399 views

How to get org defaults custom settings with SOQL

I am developing custom button, I use ajax tooklit for getting some data, needed as url parameters. As part of it I want to query custom settings, but org defaults only. var token = sforce.connection....
1
vote
1answer
94 views

Not able to mass transfer records based on the condition

I need to have a list button used to assign the records to the corresponding queue based on the lead type. Here is my code . I dont know that part i have missed here. {!REQUIRESCRIPT("/soap/ajax/16.0/...
2
votes
2answers
286 views

Soql in Vf page using sForce.connection

I am trying to soql in VF page. But I am not getting an result. I have verified my code. <apex:page > <script src="https://code.jquery.com/jquery-1.11.1.min.js"></script> &...