You need to sign in to do that
Don't have an account?
raskren
Login to another Salesforce instance via s-control
Is it possible to login to a different Salesforce organization (assuming the user/pass is known) via s-control and run queries against the remote data?
For example: I administer Salesforce instance A where my s-control runs. I also want to get data from Salesforce instance B and C which contains data I need to report on. Can the s-control running in instance A retrieve this data?
Thanks.
You may have to get your s-control to open a separate page and have it login to Salesforce in that window as a separate instance.
I've never done it before, but I would use this perhaps as a starting point:
http://www.salesforce.com/us/developer/docs/ajax/Content/sforce_api_ajax_connecting.htm
I think if you re-login to Salesforce into another instance with a new user/password, you probably will lose your current session, unless you plan on going back to it by passing the original user/password credentials to Salesforce again...
__sfdcSessionId is the injected session ID. You can change the session ID that the AJAX toolkit uses by modifying its internal variable:
You can then switch between the two. Alternatively, you could also create a new connection... I think the syntax would be:
You could then use sforce.connection to access the original organization, and sforce.connection2 to access the second organization.
1.Create a trigger T inside A using Apex
2. In trigger T, Login into B and create another case inside B
Is that possible? Is there any other good solution to login in to other instance?