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

Help Needed In Integrating An external WebPage To SalesForce
Hi All,
I am trying to integrate our internal database with salesforce.To Do this I have created a custom button in Contacts Tab.Once the user clicks that button it display the webpage from our server.Once the user queries the data and checks all the records I have to update SalesForce.
Since the user already has logged onto SalesForce I am just passing these two fields {!$Api.Enterprise_Server_URL_120},{!$Api.Session_ID} as querystring and I am writing the following lines of code in my webpage:
binding = new SforceService();
binding.Url =Request.QueryString[3];// This is the URL
binding.SessionHeaderValue = new TestSalesForceImplementationUsingGrid021108.SForce.SessionHeader();
binding.SessionHeaderValue.sessionId = Request.QueryString[4];//This is the sessionId
I wanted to know if I am doing the right way or is there a better way to accomplish this.Please let me know since this will go into production later on ...............
Thanks,
Bharathi