Questions tagged [sforce.connection]
The sforce.connection tag has no usage guidance.
13
questions
0
votes
0
answers
449
views
When at the login screen, after I enter my credentials the page refreshes back to the login screen [duplicate]
When at the login screen, after I enter my credentials the page refreshes back to the login screen. I have tried clearing cache and hard reload, but it still doesn't let me in. can anyone help here? ...
0
votes
0
answers
20
views
Is there a way that we can send related emails of a case record when we share the case record by using PartnerNetworkRecordConnection
I am using SF-to-SF connection to share case records from one org to other org. for that i am using salesforce standard object PartnerNetworkRecordConnection.
I created a class where i am targeting ...
-2
votes
1
answer
63
views
VB.net windorms supplier-> Client connections and passing data [closed]
I am hoping someone can help me. Our client wishes us to connect to Salesforce via API to send data.
The data that they require is in JSON format using the system.web serializer in vb.net framework v4....
0
votes
1
answer
72
views
Is there potential security vulnerabilities with connection.js or any reason why should we rewrite existing pages without using this lib?
I work on one of the projects with assessment activities and there are a bunch of Visualforce pages that use the Connections.js library from the AJAX toolkit.
As for me, security is the number one ...
0
votes
1
answer
449
views
When click on custom tab open external app in new tab
I want to create custom tab , on click of custom tab . it will open new tab in browser with external application url
0
votes
1
answer
232
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
4
answers
472
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
1
answer
449
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
0
answers
2k
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
1
answer
788
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
1
answer
1k
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
1
answer
131
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
2
answers
2k
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>
&...