<?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: Metadata Manipulation Via Web Scripts in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/metadata-manipulation-via-web-scripts/m-p/225283#M178413</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Drop your jar in this directory: tomcat/webapps/alfresco/WEB-INF/lib&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(you could try in tomcat/shared/lib but you'd have to check the Tomcat configuration in catalina.properties; and it may not work due to class loading issues.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sylvain.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Aug 2009 15:19:04 GMT</pubDate>
    <dc:creator>schambon</dc:creator>
    <dc:date>2009-08-17T15:19:04Z</dc:date>
    <item>
      <title>Metadata Manipulation Via Web Scripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/metadata-manipulation-via-web-scripts/m-p/225275#M178405</link>
      <description>Hi,I am working on producing a Java based GUI to Alfresco using web scripts to provide access to the repository. I am struggling to find any documentation or examples of the creation/manipulation of metadata using the Javascript API. If someone could point me in the right direction, it would be grea</description>
      <pubDate>Tue, 11 Aug 2009 12:13:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/metadata-manipulation-via-web-scripts/m-p/225275#M178405</guid>
      <dc:creator>whitewizard</dc:creator>
      <dc:date>2009-08-11T12:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata Manipulation Via Web Scripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/metadata-manipulation-via-web-scripts/m-p/225276#M178406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Please see: &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/3.2_JavaScript_API" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/3.2_JavaScript_API&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2009 12:37:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/metadata-manipulation-via-web-scripts/m-p/225276#M178406</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2009-08-11T12:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata Manipulation Via Web Scripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/metadata-manipulation-via-web-scripts/m-p/225277#M178407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you very much. I have no idea how I missed that page…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2009 13:08:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/metadata-manipulation-via-web-scripts/m-p/225277#M178407</guid>
      <dc:creator>whitewizard</dc:creator>
      <dc:date>2009-08-11T13:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata Manipulation Via Web Scripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/metadata-manipulation-via-web-scripts/m-p/225278#M178408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you, I now have a complete grasp on how to retrieve and update metadata. I was wondering if there was a way to list all the content models, and the properties they have, via the Javacript API. I can't seem to find anything along those lines.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2009 13:07:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/metadata-manipulation-via-web-scripts/m-p/225278#M178408</guid>
      <dc:creator>whitewizard</dc:creator>
      <dc:date>2009-08-13T13:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata Manipulation Via Web Scripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/metadata-manipulation-via-web-scripts/m-p/225279#M178409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What you want is the DictionaryService from the java API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As far as I'm aware the dictionary service is not exposed to JavaScript. Just extend the JS runtime with the Dictionary Service and run from there. Just read this: &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/3.0_JavaScript_API#Native_Java_API_Access" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/3.0_JavaScript_API#Native_Java_API_Access&lt;/A&gt;&lt;SPAN&gt; and linked pages and follow the procedure.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2009 14:09:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/metadata-manipulation-via-web-scripts/m-p/225279#M178409</guid>
      <dc:creator>schambon</dc:creator>
      <dc:date>2009-08-14T14:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata Manipulation Via Web Scripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/metadata-manipulation-via-web-scripts/m-p/225280#M178410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you very much for your help. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have written a Java class that I believe will expose the DictionaryService object to the Javascript API, but I am unsure as to where I need to put it in the directory structure, and how to tell alfresco to use it. I know that I need to use something along the lines of:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;bean id="JavascriptCompatibleDictionaryService" parent="baseJavaScriptExtension" class="ext.packagename.JavaCompatibleDictionaryService"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="extensionName"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;dictionaryservice&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;/bean&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;But again, I am unsure where to put this. Any pointers would be greatly appreciated, and I'm terribly sorry if I am missing the obvious.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Aug 2009 12:17:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/metadata-manipulation-via-web-scripts/m-p/225280#M178410</guid>
      <dc:creator>whitewizard</dc:creator>
      <dc:date>2009-08-17T12:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata Manipulation Via Web Scripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/metadata-manipulation-via-web-scripts/m-p/225281#M178411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You need to put this XML excerpt in a *-context.xml file in (typically) tomcat/shared/classes/alfresco/extension&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For instance you'd have : dictionary-service-extension-context.xml in there that would contain:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&amp;lt;!DOCTYPE beans PUBLIC "-//SPRING/DTD BEAN//EN"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; "&lt;A href="http://www.springframework.org/dtd/spring-beans.dtd" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/dtd/spring-beans.dtd&lt;/A&gt;"&amp;gt;&lt;BR /&gt;&amp;lt;beans&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;bean id="JavascriptCompatibleDictionaryService" parent="baseJavaScriptExtension" class="ext.packagename.JavaCompatibleDictionaryService"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="extensionName"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;dictionaryservice&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/bean&amp;gt;&lt;BR /&gt;&amp;lt;/beans&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Now you should be able to access the dictionary service's API through the JavaScript object "dictionaryservice".&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Aug 2009 13:01:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/metadata-manipulation-via-web-scripts/m-p/225281#M178411</guid>
      <dc:creator>schambon</dc:creator>
      <dc:date>2009-08-17T13:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata Manipulation Via Web Scripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/metadata-manipulation-via-web-scripts/m-p/225282#M178412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you very much. Alfresco is now looking for my class, but it is unable to find it. I've tried placing it in a .jar inside the /tomcat/shared/classes/alfresco/extensions and /tomcat/lib directories, but neither have worked. Any advice? Sorry to keep asking these questions &amp;gt;_&amp;lt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Aug 2009 14:20:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/metadata-manipulation-via-web-scripts/m-p/225282#M178412</guid>
      <dc:creator>whitewizard</dc:creator>
      <dc:date>2009-08-17T14:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata Manipulation Via Web Scripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/metadata-manipulation-via-web-scripts/m-p/225283#M178413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Drop your jar in this directory: tomcat/webapps/alfresco/WEB-INF/lib&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(you could try in tomcat/shared/lib but you'd have to check the Tomcat configuration in catalina.properties; and it may not work due to class loading issues.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sylvain.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Aug 2009 15:19:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/metadata-manipulation-via-web-scripts/m-p/225283#M178413</guid>
      <dc:creator>schambon</dc:creator>
      <dc:date>2009-08-17T15:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata Manipulation Via Web Scripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/metadata-manipulation-via-web-scripts/m-p/225284#M178414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You, my good sir, are stunning. Thanks for all your help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Aug 2009 16:10:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/metadata-manipulation-via-web-scripts/m-p/225284#M178414</guid>
      <dc:creator>whitewizard</dc:creator>
      <dc:date>2009-08-17T16:10:21Z</dc:date>
    </item>
  </channel>
</rss>

