AnsweredAssumed Answered

Finesse with MS Dynamics CRM without iFrame in Finesse Gadget?

Question asked by clili on Jan 15, 2015
Latest reply on Jan 19, 2015 by clili

hi,

Would like to check whether anyone has experience with screen pop-ing Dynamics CRM web page within Finesse ?

Currently we are looking at the Screenpop gadget to load the Dynamics CRM within the Finesse iFrame and CallVariables will be passed to the CRM via QuerySrings in the URL. However, customer is concerned on Security ...

 

However, we found the following info so we would like to check whether MS Dynamics CRM supports the below ?

 

It is recommended that you *not* use an iframe in a Finesse gadget, use it only as a last resort.

Some web sites will not work in an iframe.  Google, for example, blocks displaying a Google Search page in an iframe.

Just because a site allows itself to be loaded in an iframe now, does not mean it will be supported by the web site in the future.

Running a web site in an iframe is considered poor security, as the containing page could access credentials from the iframe page.

Instead use the gadgets.io.makequest function to access a web app using its REST API.

Note: You cannot display a web page returned via the makerequest as there will be cross domain scripting issues with it.

See the WebServicesSampleGadget in the Finesse documentation page here

https://developer.cisco.com/site/collaboration/contact-center/finesse/documentation/

the format for gadgets.io.makerequest is:

gadgets.io.makerequest(url, callback, opt_params);

The function fetches content from the provided url and feeds that content into the callback function.

Content should be of type JSON or XML that you then dynamically add to the gadget html.

 

You should not use gadgets.io.makerequest to display a web page, rather to retrieve JSON or XML from a web site that provides a REST API.

Due to cross domain scripting issues a Finesse gadget will not be able to display a web page within a gadget.

 

 

 

Thanks,

Outcomes