Tuesday, June 28, 2011

Deploying SAP Dashboard (formerly Xcelsius) - Crossdomain policy file

Cross domain policy file is an important configuration to consider while deploying SAP Dashboard(formerly Xcelsius). The SAP BW Quality dashboard, that I recently worked on, is deployed on the BusinessObjects Infoview and  pulls data from SAP ECC and SAP BW for reconciling Orders and Revenue numbers. The flash object that Xcelsius creates run in the browser on the client machine. It follows the security guidelines set by Adobe while accessing external data.

Adobe has introduced a new security policy for the flash palyer 9 & 10. That prevents the Xcelsius dashboard from accessing data from external sources and throws error #2170. In my case, external sources are ECC and BW. To get around this, the cross domain XML file needs to be updated with the following tag:

<allow-http-request-headers-from domain="*" headers="*" secure="false" />

The crossdomain.xml is located at <BusinessObjects installation directory>\Tomcat55\webapps\ROOT\ and should look like this-

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
   <allow-http-request-headers-from domain="*" headers="*" secure="false" />
   <allow-access-from domain="*" secure="false" />
</cross-domain-policy>

Update the file, restart Tomcat (web server) and you're done!

5 comments:

  1. Hey quick question if we are still getting the error above and we have dropped the crossdomain.xml file. What else could it be?

    ReplyDelete
  2. hiii

    i made one dashboard with .net web service connectivity. but swf occurs error "external data cannot be access" i also write crossdomain xml but i don't know where to caopy.

    i save my web service on this path "C:\Documents and Settings\abhijit.nalekar\My Documents\Visual Studio 2010\Projects\WebService1\WebService1"
    i put crossdomain.xml here but it doesn't work.

    please help me

    ReplyDelete
  3. No matter if some one searches for his essential thing, therefore he/she wants to be available that in detail, thus that thing is maintained
    over here.

    My webpage ... skin lightener cream

    ReplyDelete
  4. Whoa! This blog looks just like my old one! It's on a totally different subject but it has pretty much the same page layout and design. Great choice of colors!

    Look at my web blog; garden centers of coloroda

    ReplyDelete
  5. I am still facing the issue and confused about the Web services URL i mean what should be added in Global Security settings panel.

    ReplyDelete