<?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: documentlibrary and documentlibrary-v2 webscripts in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/documentlibrary-and-documentlibrary-v2-webscripts/m-p/293278#M246408</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The Document Library has probably seen the most changes in Share… there were large changes between 3.4 and 4.0 and then again from 4.1 to 4.2. The 4.2 WebScript (ending in -v2) combines both the toolbar.get and documentlist.get WebScripts (e.g. it instantiates both the toolbar and documentlist client-side JavaScript widgets). An entirely new WebScript was created so that it would be possible for 3rd party developers to "swap" back the previous regions in the Document Library template and use those old WebScripts. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have extensions in 3.4 that you want to move to 4.2 then it is highly likely that you'll want to take advantage of the new extension mechanisms that weren't present in 3.4… presumably you copy/pasted the original 3.4 WebScripts into the web-extension path and made updates there? If that's the case then you should investigate extending the updated WebScripts rather than replacing them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dave&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Oct 2013 20:28:14 GMT</pubDate>
    <dc:creator>ddraper</dc:creator>
    <dc:date>2013-10-01T20:28:14Z</dc:date>
    <item>
      <title>documentlibrary and documentlibrary-v2 webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/documentlibrary-and-documentlibrary-v2-webscripts/m-p/293277#M246407</link>
      <description>Hello all,Alfresco 4.2 has two version of documentlibrary webscripts - documentlibrary and documentlibrary-v2, as a default the v2 version is used (by Share), to usethe documentlibrary version (not v2) we can change "resolver.doclib.doclistDataUrl" bean configuration in slingshot-documentlibrary-con</description>
      <pubDate>Tue, 01 Oct 2013 19:16:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/documentlibrary-and-documentlibrary-v2-webscripts/m-p/293277#M246407</guid>
      <dc:creator>alfexp</dc:creator>
      <dc:date>2013-10-01T19:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: documentlibrary and documentlibrary-v2 webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/documentlibrary-and-documentlibrary-v2-webscripts/m-p/293278#M246408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The Document Library has probably seen the most changes in Share… there were large changes between 3.4 and 4.0 and then again from 4.1 to 4.2. The 4.2 WebScript (ending in -v2) combines both the toolbar.get and documentlist.get WebScripts (e.g. it instantiates both the toolbar and documentlist client-side JavaScript widgets). An entirely new WebScript was created so that it would be possible for 3rd party developers to "swap" back the previous regions in the Document Library template and use those old WebScripts. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have extensions in 3.4 that you want to move to 4.2 then it is highly likely that you'll want to take advantage of the new extension mechanisms that weren't present in 3.4… presumably you copy/pasted the original 3.4 WebScripts into the web-extension path and made updates there? If that's the case then you should investigate extending the updated WebScripts rather than replacing them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dave&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2013 20:28:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/documentlibrary-and-documentlibrary-v2-webscripts/m-p/293278#M246408</guid>
      <dc:creator>ddraper</dc:creator>
      <dc:date>2013-10-01T20:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: documentlibrary and documentlibrary-v2 webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/documentlibrary-and-documentlibrary-v2-webscripts/m-p/293279#M246409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for the quick response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My changes are already integrated into 4.2c version of documentlibrary directory - however I had problems to make it work so I tried to switch fresh version of Alfresco from using documentlibrary-v2 to documentlibrary, I thought that it should be easy way to do it -&amp;nbsp; I made the following steps (using only the original version of Alfresco and Alfresco Share 4.2c - without any custom modifications):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. I set basePath (resolver.doclib.doclistDataUrl) parameter as "/slingshot/doclib",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. I changed '/slingshot/doclib2/node/' to '/slingshot/doclib/node/' in share\WEB-INF\classes\alfresco\templates\org\alfresco\import\alfresco-util.js file,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;however this was insufficient - I had to change the strucutre of json responses to make it work - I have to test it yet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tom&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Oct 2013 19:50:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/documentlibrary-and-documentlibrary-v2-webscripts/m-p/293279#M246409</guid>
      <dc:creator>alfexp</dc:creator>
      <dc:date>2013-10-02T19:50:35Z</dc:date>
    </item>
  </channel>
</rss>

