function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Karthik bullsKarthik bulls 

Integrating SalesForce with Servelt(Custom Web Application). How to, Step By Step ?

I want to perform these steps,

1. Open a Web-Application (Custom, say, www.someWebApp.com).
2. Feed in Login credentials of Salesforce (in www.someWebApp.com's login page).
3. Validate these credentials in SalesForce.
4. If Valid user, take User to SuccessServelt.
5. If invalid user credentials, take user to FailureServelt.

Alternatively, i tried,
https://www.salesforce.com/us/developer/docs/api_rest/Content/intro_understanding_web_server_oauth_flow.htm

but, the 4th step is not clear, what exactly has to be done.

Please help.
Gaurav NirwalGaurav Nirwal
To clarify, the custom button would look something like:

www.myExternalApp.com/view?id={someExternalValue}
So, within the email, I want to provide a link to the button that passes in someExternalValue:

www.na5.salesforce.com/servlet/servlet.Integration?lid={myButtonId}&someExternalValue=abc
Thus, when the user clicks the link, Salesforce launches straight to the URL of the custom button, and the value "abc" is passed in, so the resulting URL salesforce opens is myExternalApp.com/view?id=abc