<?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: Invoking a java class in share in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/invoking-a-java-class-in-share/m-p/258126#M211256</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your help on this.&amp;nbsp; If I figure anyting out I will update the post.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Well I've spend too much R&amp;amp;D time on this and was re tasked&amp;nbsp; to our backup plan. so I just customized the Web view Dashlet to display the website of the internal site.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;who knows maybe will revisit this when&amp;nbsp; there more time&amp;nbsp; :wink:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Feb 2012 15:46:20 GMT</pubDate>
    <dc:creator>rabidpilot</dc:creator>
    <dc:date>2012-02-09T15:46:20Z</dc:date>
    <item>
      <title>Invoking a java class in share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/invoking-a-java-class-in-share/m-p/258120#M211250</link>
      <description>Hi all,I know this can be done on alfresco by putting the jar in the alfresco.war/WEB-INF/lib folder and thenadding the bean to the alfresco.war/WEB-INF/classes/alfresco/script-services-context.xml I tried to do the same thing with share but I can't find the script-services-context.xml file.Thanks,</description>
      <pubDate>Thu, 02 Feb 2012 17:14:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/invoking-a-java-class-in-share/m-p/258120#M211250</guid>
      <dc:creator>rabidpilot</dc:creator>
      <dc:date>2012-02-02T17:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Invoking a java class in share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/invoking-a-java-class-in-share/m-p/258121#M211251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you are doing anything with the share you have to search the things inside the Webapp/share only.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Which article you are referring for this? and what exactly you want to achieve?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2012 13:57:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/invoking-a-java-class-in-share/m-p/258121#M211251</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2012-02-03T13:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: Invoking a java class in share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/invoking-a-java-class-in-share/m-p/258122#M211252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;here is a link to the article that talks about it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.unorganizedmachines.com/site/software-and-technology/34-software-development/97-calling-web-services-from-alfresco-web-scripts" rel="nofollow noopener noreferrer"&gt;http://www.unorganizedmachines.com/site/software-and-technology/34-software-development/97-calling-web-services-from-alfresco-web-scripts&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have a internal web site where Time is entered based on Projects. We were hoping to have a share site dashlet that could access the a web service and be able to enter the time with out the need of accessing the site directly.&amp;nbsp; The way the web service was setup it accepts requests via http or soap.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The article that I linked to above shows how to get information and I can get that part to work with out any issues on the Alfresco side but haven't had any luck on sending data to the web service and have no clue on how I could even begin to try it on the share side.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope that helps.&amp;nbsp; I would post the code but it belongs to my employers and they don't want it made public.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for help as new to alfresco/share environment.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2012 14:04:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/invoking-a-java-class-in-share/m-p/258122#M211252</guid>
      <dc:creator>rabidpilot</dc:creator>
      <dc:date>2012-02-06T14:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: Invoking a java class in share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/invoking-a-java-class-in-share/m-p/258123#M211253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;this is how you can call your java class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;do the following entry in your script-services-context.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;bean id="activitiesScript" parent="baseJavaScriptExtension" class="yourjavaclass"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;customobj&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/property&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/bean&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Now can create your java class and have some your apis ex.test().&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;then in java script you can call you api in the alfresco java script by mentioning like customobj.test();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;once you get the control in java you can call any web service or whatever you like.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2012 10:32:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/invoking-a-java-class-in-share/m-p/258123#M211253</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2012-02-07T10:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: Invoking a java class in share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/invoking-a-java-class-in-share/m-p/258124#M211254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was able to make the code work on our Alfresco server but I would like to do the same &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thing on the Share side but I don't think share has a file script-services-context.xml&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2012 13:57:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/invoking-a-java-class-in-share/m-p/258124#M211254</guid>
      <dc:creator>rabidpilot</dc:creator>
      <dc:date>2012-02-07T13:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: Invoking a java class in share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/invoking-a-java-class-in-share/m-p/258125#M211255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;then you gotta problem as share totally surf based.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;which is totally js webscript based.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It will be treaky to inject some java class in between or to call other webservice.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;please share it across if you find anything.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2012 10:24:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/invoking-a-java-class-in-share/m-p/258125#M211255</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2012-02-08T10:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Invoking a java class in share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/invoking-a-java-class-in-share/m-p/258126#M211256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your help on this.&amp;nbsp; If I figure anyting out I will update the post.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Well I've spend too much R&amp;amp;D time on this and was re tasked&amp;nbsp; to our backup plan. so I just customized the Web view Dashlet to display the website of the internal site.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;who knows maybe will revisit this when&amp;nbsp; there more time&amp;nbsp; :wink:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 15:46:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/invoking-a-java-class-in-share/m-p/258126#M211256</guid>
      <dc:creator>rabidpilot</dc:creator>
      <dc:date>2012-02-09T15:46:20Z</dc:date>
    </item>
  </channel>
</rss>

