<?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 Re: Extending the root scoped CMIS object in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/extending-the-root-scoped-cmis-object/m-p/284213#M237343</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't know about CMIS, but I can tell you about extension folders:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;classes/alfresco/extension is extending repository (localhost/alfresco context) and &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;classes/alfresco/web-extension is extending share (localhost/share context).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So if you put a component in web-extension, somewhere in site-webscripts subdirectory, you will have a new Share webscript, perhaps a dashlet. If you put it instead in extension directory, under templates/webscripts directory, you have a backend webscript.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The webscripts you see in services index is from those (respective) subdirectories when you unpack alfresco.war and share.war.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ie. unpack share.war and you will see WEB-INF/classes/alfresco/site-webscripts. There are all the share webscripts. Anything in the shared classloader path (TOMCAT/shared/classses/alfresco/web-extension) is overriding the defaults. Similar goes for Alfresco.war.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Additionally, you mention root-scoped objects. Those are defined in spring XML config files, in various components and beans, you could create your own Java bean and through spring bean configuration expose it to your webscripts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you asking about anything particular there? &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Feb 2013 18:49:59 GMT</pubDate>
    <dc:creator>zladuric</dc:creator>
    <dc:date>2013-02-28T18:49:59Z</dc:date>
    <item>
      <title>Extending the root scoped CMIS object</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/extending-the-root-scoped-cmis-object/m-p/284212#M237342</link>
      <description>Hi All,Can anyone tell me where the spring context file is that defines the root-scoped CMIS object?&amp;nbsp; I am trying to create a web script that adds and edits custom aspects. From the CMIS webinar by Jeff Potts, I have an example in the Foundation API of what I need to do - add the Alfresco-created Op</description>
      <pubDate>Thu, 28 Feb 2013 06:44:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/extending-the-root-scoped-cmis-object/m-p/284212#M237342</guid>
      <dc:creator>tara-t</dc:creator>
      <dc:date>2013-02-28T06:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Extending the root scoped CMIS object</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/extending-the-root-scoped-cmis-object/m-p/284213#M237343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't know about CMIS, but I can tell you about extension folders:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;classes/alfresco/extension is extending repository (localhost/alfresco context) and &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;classes/alfresco/web-extension is extending share (localhost/share context).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So if you put a component in web-extension, somewhere in site-webscripts subdirectory, you will have a new Share webscript, perhaps a dashlet. If you put it instead in extension directory, under templates/webscripts directory, you have a backend webscript.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The webscripts you see in services index is from those (respective) subdirectories when you unpack alfresco.war and share.war.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ie. unpack share.war and you will see WEB-INF/classes/alfresco/site-webscripts. There are all the share webscripts. Anything in the shared classloader path (TOMCAT/shared/classses/alfresco/web-extension) is overriding the defaults. Similar goes for Alfresco.war.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Additionally, you mention root-scoped objects. Those are defined in spring XML config files, in various components and beans, you could create your own Java bean and through spring bean configuration expose it to your webscripts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you asking about anything particular there? &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 18:49:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/extending-the-root-scoped-cmis-object/m-p/284213#M237343</guid>
      <dc:creator>zladuric</dc:creator>
      <dc:date>2013-02-28T18:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: Extending the root scoped CMIS object</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/extending-the-root-scoped-cmis-object/m-p/284214#M237344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, Tara-T&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not all but one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For root-scoped object from alfresco side webscripts, you can see following file how it is there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;tomcat\webapps\alfresco\WEB-INF\classes\alfresco\script-services-context.xml&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2013 10:57:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/extending-the-root-scoped-cmis-object/m-p/284214#M237344</guid>
      <dc:creator>pmverma</dc:creator>
      <dc:date>2013-03-01T10:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Extending the root scoped CMIS object</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/extending-the-root-scoped-cmis-object/m-p/284215#M237345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your responses. I have found where the CMIS root scoped bean is set up and the associated Java class is: CMISLocalConnectionManagerImpl.java&amp;nbsp; When I looked at the source of this class I found that it already added the Alfresco CMIS extension as a parameter.&amp;nbsp; I had a web script that I was getting errors updating custom aspects so I assumed that the bean did not have the Alfresco CMIS extension set up.&amp;nbsp; It turned out I just had an error in my web script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regarding share vs backend web scripts, I've placed my web script in the extensions folder as it accesses the repository and retrieves data.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 23:19:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/extending-the-root-scoped-cmis-object/m-p/284215#M237345</guid>
      <dc:creator>tara-t</dc:creator>
      <dc:date>2013-03-05T23:19:05Z</dc:date>
    </item>
  </channel>
</rss>

