10-28-2014 05:19 AM
Hi there,
I'm trying to use Nuxeo [5.8] in an Iframe, but the gadgets are not loading.
An error occurs when opening the window in the Iframe:
"Error: Permission denied to access property 'nxContextPath'"
The JavaScript function calls the following command:
gadgets.nuxeo.URLBASE=top.nxContextPath+"/site/gadgetDocumentAPI/";
I was able to trace it to the nuxeo.js file: http://fisheye.nuxeo.com/browse/nuxeo-opensocial/nuxeo-opensocial-features/src/main/js/nuxeo/nuxeo.j...
I also found that instead of using "top.nxcontextPath" it is better to use 'NXGadgetContext.clientSideBaseUrl' (http://permalink.gmane.org/gmane.comp.cms.nuxeo.scm/65899)
Is there a way I can change this myself?
Edit 14-11-2014 I found that top should be replaced with parent. Also a lot of links in gadgets (opensocial and social collaboration) contain target="_top" it would be better if target="_parent" would be used.
Thanks in advance, Bauke Roo
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.