+ Start a Discussion
buyan thyagarajanbuyan thyagarajan 

Passing querystrings from sfdc to an external web application..

Hi Guys,
I have a requirement where i would need to pass a query string from a salesforce custom object to an external web application. The external web application would open in a new window and display a bunch of documents. The external web application requires a unique doc id and authentication information to open a window. Here is my question
1. What are the security configurations i need to do in sfdc to allow sfdc to allow a query string to be opened up in a new window?
2. Does sfdc add or append additional query strings along with our custom url like http://www.xxt.com/doc?id=10 which i need to be aware of?
3. If the external web application supports single sign on, how do we leverage single sign on from sfdc to the external web app?
Please feel free to share your experiences on passing urls with query strings to external applications..
Daniel BallingerDaniel Ballinger
Maybe start by looking into Canvas apps (https://developer.salesforce.com/page/Force.com_Canvas), which are a special type of connected app (https://developer.salesforce.com/page/Connected_Apps).

Canvas apps can be authenticated using OAuth 2.0 or a signed request in the query string.

Otherwise, you should be able to popup a window outside of a Visualforce page using Javascript.