<?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 Where do static files go? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/where-do-static-files-go/m-p/276045#M229175</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm trying to move an existing web script off an older version of Alfresco, and along the way I've moved models and xml files into the data dictionary rather than storing them in the classpath.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There are also a number of images, css, and javascript files that need to be linked into the application but which are expanded overtop of webapps\alfresco\, which can't be the best practice.&amp;nbsp; Where should these files go in the data dictionary so that the script can access them through dynamic URL addressing (images/blah.jpg).&amp;nbsp; I'd like to avoid a bunch of "spacestore/xxx-xxx…" style filenames if I can.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm sure this is well-trodden territory so I apologize for what might seem redundant, rest assured I've Googled and haven't found a clear answer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Feb 2013 18:18:19 GMT</pubDate>
    <dc:creator>davidbalt</dc:creator>
    <dc:date>2013-02-07T18:18:19Z</dc:date>
    <item>
      <title>Where do static files go?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/where-do-static-files-go/m-p/276045#M229175</link>
      <description>I'm trying to move an existing web script off an older version of Alfresco, and along the way I've moved models and xml files into the data dictionary rather than storing them in the classpath.There are also a number of images, css, and javascript files that need to be linked into the application bu</description>
      <pubDate>Thu, 07 Feb 2013 18:18:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/where-do-static-files-go/m-p/276045#M229175</guid>
      <dc:creator>davidbalt</dc:creator>
      <dc:date>2013-02-07T18:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: Where do static files go?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/where-do-static-files-go/m-p/276046#M229176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If the images and CSS files are used as part of the look-and-feel of the output of the web script, they can either go in webapps/alfresco or webapps/share, preferably under a uniquely-named directory so as not to get confused with Alfresco or others' code, or they can be placed in a JAR file within META-INF. The JAR file then goes in /webapps/alfresco/WEB-INF/lib.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you go the JAR file route you must change the references to use /res. So a CSS file, foo.css, in a JAR file under META-INF/styles/foo.css would be referred to from an Alfresco tier web script as /alfresco/res/styles/foo.css and from a Share web script as /share/res/styles/foo.css.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 23:27:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/where-do-static-files-go/m-p/276046#M229176</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2013-02-12T23:27:47Z</dc:date>
    </item>
  </channel>
</rss>

