<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic When to set CORS setting in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/when-to-set-cors-setting/m-p/316836#M3837</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;To activate CORS, the link: &lt;A href="https://doc.nuxeo.com/pages/viewpage.action?pageId=14257084" target="test_blank"&gt;https://doc.nuxeo.com/pages/viewpage.action?pageId=14257084&lt;/A&gt; provide some xml to allow Corss-domain.&lt;/P&gt;
&lt;P&gt;Where should I put this xml file ? In what file ?&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;St.&lt;/P&gt;</description>
    <pubDate>Sun, 13 Dec 2015 23:27:10 GMT</pubDate>
    <dc:creator>xiaolong_Yang</dc:creator>
    <dc:date>2015-12-13T23:27:10Z</dc:date>
    <item>
      <title>When to set CORS setting</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/when-to-set-cors-setting/m-p/316836#M3837</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;To activate CORS, the link: &lt;A href="https://doc.nuxeo.com/pages/viewpage.action?pageId=14257084" target="test_blank"&gt;https://doc.nuxeo.com/pages/viewpage.action?pageId=14257084&lt;/A&gt; provide some xml to allow Corss-domain.&lt;/P&gt;
&lt;P&gt;Where should I put this xml file ? In what file ?&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;St.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Dec 2015 23:27:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/when-to-set-cors-setting/m-p/316836#M3837</guid>
      <dc:creator>xiaolong_Yang</dc:creator>
      <dc:date>2015-12-13T23:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: When to set CORS setting</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/when-to-set-cors-setting/m-p/316837#M3838</link>
      <description>&lt;P&gt;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 (&lt;A href="https://doc.nuxeo.com/display/NXDOC/How+to+Contribute+to+an+Extension#HowtoContributetoanExtension-xml-extension-studio"&gt;more information&lt;/A&gt;).
Third solution is to name you xml file with whatever_your_want-config.xml (only the &lt;EM&gt;-config.xml&lt;/EM&gt; part is important), and put it in the &lt;CODE&gt;config&lt;/CODE&gt; directory of your server:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;CODE&gt;$NUXEO/nxserver/config&lt;/CODE&gt; for a Tomcat distribution,&lt;/LI&gt;
&lt;LI&gt;&lt;CODE&gt;$NUXEO/server/default/deploy/nuxeo.ear/config &lt;/CODE&gt; for a JBoss distribution.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Also, if you use the first option, don't forget to declare the xml extension file in your MANIFEST.MF in your META-INF folder.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2015 08:38:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/when-to-set-cors-setting/m-p/316837#M3838</guid>
      <dc:creator>Greg_Drayon</dc:creator>
      <dc:date>2015-12-14T08:38:57Z</dc:date>
    </item>
  </channel>
</rss>

