<?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: Independent url addressable webscripts in Share in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/independent-url-addressable-webscripts-in-share/m-p/213865#M166995</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You should be able to call Share's /service servlet directly - how are you trying to address the webscipts?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you're getting: &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;freemarker.core.InvalidReferenceException: Expression args.htmlid is undefined on line …. etc.&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;then note that most (if not all) of Share's component webscripts require the htmlid argument - try adding "?htmlid=abc" to the webscript request URL.&lt;/SPAN&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>Thu, 30 Jul 2009 15:43:01 GMT</pubDate>
    <dc:creator>mikeh</dc:creator>
    <dc:date>2009-07-30T15:43:01Z</dc:date>
    <item>
      <title>Independent url addressable webscripts in Share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/independent-url-addressable-webscripts-in-share/m-p/213864#M166994</link>
      <description>Hi all,Is there any way to deploy webscripts in Share which are usable without any page or component context from share? I can deploy webscripts, but when i call their url i always get java.lang.NullPointerException&amp;nbsp;&amp;nbsp;&amp;nbsp;org.alfresco.web.scripts.ProcessorModelHelper.populateModel(ProcessorModelHelper.j</description>
      <pubDate>Thu, 30 Jul 2009 14:54:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/independent-url-addressable-webscripts-in-share/m-p/213864#M166994</guid>
      <dc:creator>kbonnet</dc:creator>
      <dc:date>2009-07-30T14:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: Independent url addressable webscripts in Share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/independent-url-addressable-webscripts-in-share/m-p/213865#M166995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You should be able to call Share's /service servlet directly - how are you trying to address the webscipts?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you're getting: &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;freemarker.core.InvalidReferenceException: Expression args.htmlid is undefined on line …. etc.&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;then note that most (if not all) of Share's component webscripts require the htmlid argument - try adding "?htmlid=abc" to the webscript request URL.&lt;/SPAN&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>Thu, 30 Jul 2009 15:43:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/independent-url-addressable-webscripts-in-share/m-p/213865#M166995</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2009-07-30T15:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Independent url addressable webscripts in Share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/independent-url-addressable-webscripts-in-share/m-p/213866#M166996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Mike, thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think i was confused by this nullpointer exception. That one is appearantly thrown whenever anything goes wrong with the webscript. In my logging was an error that the "search" root object wasnt found. I understand that one. I was able to deploy and call a Hello World webscript now. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think it works, but maybe the error page which is used in the Explorer client might be useful in share, when something goes wrong in the webscript.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Koen&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2009 16:07:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/independent-url-addressable-webscripts-in-share/m-p/213866#M166996</guid>
      <dc:creator>kbonnet</dc:creator>
      <dc:date>2009-07-30T16:07:28Z</dc:date>
    </item>
  </channel>
</rss>

