Clarity

  • 1.  Cross domain policy error - Xcelsius

    Posted Nov 18, 2013 08:17 AM

    Hi,

    How to overcome Cross Domain policy error which we are getting while viewing interactive portlets. 

    We get the below error:

    To access external data, add a cross-domain policy file to the external data web server.
    For more information, on the Adobe website, see the article “Cross-domain Policy File Specification”.
    If the problem persists, contact the file creator or your system administrator.
    Error: Error #2170
    Connection Type: Web Service Connection
    File URL: https://<servername>/niku/app?action=npt.viewInteractivePortletData&fileId=5539636&versionId=5539637&fileName=test.swf&RhXm0r7tSeUqEr=true
    External Data URL: http://localhost/niku/xog
     

    Thanks,

    Jana



  • 2.  RE: Cross domain policy error - Xcelsius

     
    Posted Nov 20, 2013 05:20 PM
    rbnjana:

    Hi,

    How to overcome Cross Domain policy error which we are getting while viewing interactive portlets. 

    We get the below error:

    To access external data, add a cross-domain policy file to the external data web server.
    For more information, on the Adobe website, see the article “Cross-domain Policy File Specification”.
    If the problem persists, contact the file creator or your system administrator.
    Error: Error #2170
    Connection Type: Web Service Connection
    File URL: https://<servername>/niku/app?action=npt.viewInteractivePortletData&fileId=5539636&versionId=5539637&fileName=test.swf&RhXm0r7tSeUqEr=true
    External Data URL: http://localhost/niku/xog
     

    Thanks,

    Jana


    Hi All,

    Any ideas here for Jana?

    Thanks!

    Chris



  • 3.  RE: Cross domain policy error - Xcelsius
    Best Answer

    Posted Nov 21, 2013 07:55 AM

    Hi Chris,

    Instead of getting Clarity Web Service URL, a Global parameter, from the Clarity (which is returning http://localhost/niku/xog due to our network setting), we manually entered the URL in the Xcelsius visualization and mapped it to Web Service URL in the data manager. Now we are able to run the interactive portlet without any error.

    Thanks,

    Jana



  • 4.  Re: Cross domain policy error - Xcelsius

    Posted Aug 04, 2015 03:36 PM

    Hi all,

     

    I try to follow as recommend in this post but don't know how to use do manually entered the URL and mapped to web service URl in the data manager. If I want to fix "KPIs by Project Type", what file I should use and how ? I never use xcelsius before.

     

    Thanks

    Sununta



  • 5.  Re: Cross domain policy error - Xcelsius

    Posted Aug 04, 2015 04:40 PM

    If you're also seeing 'localhost' in the External data URL part of the message, then the correct solution to the problem is not likely the one that was posted in this thread, but your HTTP / HTTPS Entry URL parameters for the Application tab in the CSA are either blank or incorrectly contain localhost.

     

    Those parameters should be populated with the normal URL that all users use to access the application, e.g., if you are normally navigating around Clarity with URLs like this:

     

    https://yourserver.com/niku/nu#action:mainnav.work

     

    You would put this in your Entry URL fields of the CSA:

     

    https://yourserver.com

     

    If you are using a non-default port and it's included in your URLs normally like this:

     

    https://yourserver.com:12345/niku/nu#action:mainnav.work

     

    Then you would populate your Entry URL fields like this instead:

     

    https://yourserver.com:12345

     

    You may need to restart the Clarity app services after saving these changes in the CSA when you are able to do so before they will be picked up (depending on caches and other settings).