04-16-2014 05:49 AM
Hi Lender,
I have embedded the "Salesforce dot com (SFDC) Sample Gadget 10.0.1" gadget in to finesse.
Can you please suggest us, that how can we pass the ANI received in Finesse to Sales force screen pop page.
Thanks,
Daniel Inbaraj J.
Solved! Go to Solution.
04-16-2014 11:48 AM
You can pop a Salesforce.com url in a separate browser tab using a Finesse workflow and workflow action which has been assigned to an agent team.
You can have Finesse add the fromAddress of the dialog to the url when you configure the workflow action.
But you cannot do this in an iframe inside a gadget. Salesforce.com will reject the url as not logged in even if you pass the credentials on the url. An iframe only works with the Salesforce login url
04-16-2014 07:15 AM
You cannot do a screenpop into an iframe with Salesforce.com, only navigate to the login url which is https://login.salesforce.com/?ec=302&startURL=%2Fhome%2Fhome.jsp if you add the user and pwd to the url
Salesforce will block other urls from working in an iframe. This is a Salesforce.com issue
04-16-2014 11:48 AM
You can pop a Salesforce.com url in a separate browser tab using a Finesse workflow and workflow action which has been assigned to an agent team.
You can have Finesse add the fromAddress of the dialog to the url when you configure the workflow action.
But you cannot do this in an iframe inside a gadget. Salesforce.com will reject the url as not logged in even if you pass the credentials on the url. An iframe only works with the Salesforce login url
04-16-2014 10:18 PM
Thanks Lender.
I will try the second option.
--Dany
07-27-2015 08:38 AM
Has anyone tried this since Salesforce added support for CORS. The way I understand CORS is that if I add my finesse domain to the allowed sites, I should be able to use salesforce in an iFrame. I haven't had any luck and am still receiving the following error:
Refused to display 'https://*.salesforce.com/home/home.jsp?sdtd=1' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.
Maybe my understanding of CORS is incorrect, but shouldn't I be able to use this in an iFrame at this point.
07-29-2015 09:54 AM
CORS is the ability to access website content, without using an IFRAME. Accessing a site through an IFRAME can introduce a security risk, that's why many sites do not allow their sites to be accessed through an IFRAME. Bing.com allows it, while Google.com does not.
I found an article saying that Salesforce does not allow itself to be loaded into an IFRAME.
I also took the URL link and tried to load it into an IFRAME on a simple HTML page, outside of Finesse, and it did not load.
I think your question about any changes to Salesforce being able to load in an IFRAME have not changed.
07-29-2015 10:53 AM
I did some more research, and noticed a form post that could be helpful...
Basically you need to contact Salesforce and have them turn off the clickjack protection for your site.
08-03-2015 02:12 PM
Thanks for the research. That sounds like a terrible idea. I think I'll go with my original thought and launch a new window every time.
Thanks again!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide