[SalesForce] IFrame into SalesForce

I would like to surface SalesForce into our on prem SSO application via Iframes.

Currently we are hitting a snag whereby both VF pages and normal SFDC views do not support iframe rendering.

Is it possible to do this with SFDC?… Can I have an app with a chrome less view into SFDC cases surfaced in my portal in this way?

Best Answer

You can. Sorta. It's very quick and dirty and you probably shouldn't.

  1. create a View of your records, and get the Id: fcf={view-id},

  2. append the URL parameter which invokes console mode: isdtp=lt,

  3. make sure the user has a valid Salesforce session (eg via SSO or user instructions!)

  4. iframe thusly: https://{instance}.salesforce.com/500?fcf=00Bb0000001SuIG&isdtp=lt

Console view

Tip: the reason Salesforce / Visualforce pages mightn't appear initially is because the X-FRAME-OPTIONS: DENY HTTP header is served on the login page. It isn't enforced after login though (yet).

Related Topic