As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Hi,
To activate CORS, the link: https://doc.nuxeo.com/pages/viewpage.action?pageId=14257084 provide some xml to allow Corss-domain.
Where should I put this xml file ? In what file ?
Regards,
St.
As it is a component, you can set it up into any xml extension file in your OSGI-INF folder, if you use Nuxeo IDE, or directly in an xml extension if you use Nuxeo Studio (more information). Third solution is to name you xml file with whatever_your_want-config.xml (only the -config.xml part is important), and put it in the config directory of your server:
config
$NUXEO/nxserver/config
$NUXEO/server/default/deploy/nuxeo.ear/config
Also, if you use the first option, don't forget to declare the xml extension file in your MANIFEST.**** in your META-INF folder.