<?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: Getting the Node Data??? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/getting-the-node-data/m-p/236181#M189311</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It sounds like you're in a great position to update the wiki with some getting started / guided walk-through type information.&amp;nbsp; Perhaps you could take advantage of Alfresco's open source nature and contribute what you've learnt back to the community?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Peter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Aug 2009 22:14:09 GMT</pubDate>
    <dc:creator>pmonks</dc:creator>
    <dc:date>2009-08-27T22:14:09Z</dc:date>
    <item>
      <title>Getting the Node Data???</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-the-node-data/m-p/236175#M189305</link>
      <description>Hi Folks,I'm a newbie to Alfresco, and am really struggling with how to extract the content of a repository node, for presentation in a web service client.&amp;nbsp; From the Alfresco Web Client, I added a new piece of content (plain text), called "MyContent", with the value "This is my content in the reposi</description>
      <pubDate>Fri, 21 Aug 2009 15:09:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-the-node-data/m-p/236175#M189305</guid>
      <dc:creator>peterstb</dc:creator>
      <dc:date>2009-08-21T15:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the Node Data???</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-the-node-data/m-p/236176#M189306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you taken a look at the various example projects included in the SDK?&amp;nbsp; From memory there are 2 or 3 that demonstrate use of the Web Services (SOAP) API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, you might consider using Web Scripts (&lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Web_Scripts" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Web_Scripts&lt;/A&gt;&lt;SPAN&gt;) instead - they're more powerful than the SOAP APIs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Peter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Aug 2009 15:11:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-the-node-data/m-p/236176#M189306</guid>
      <dc:creator>pmonks</dc:creator>
      <dc:date>2009-08-23T15:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the Node Data???</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-the-node-data/m-p/236177#M189307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks so much for the response!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, I started taking a look at the Web Scripts, and in theory like the idea of using RESTful services to access the data I need.&amp;nbsp; I decided to take some baby steps and start with the SimpleWebScript.java program.&amp;nbsp; Seems pretty straight-forward, although I can't gleen from the documentation where I should be putting the compiled class file SimpleWebScript.class???&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a note, after the step of "Try running it":&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;Locations of the files&lt;/SPAN&gt;&lt;BR /&gt;.jar file in &amp;lt;Alfresco&amp;gt;/tomcat/webapps/alfresco/WEB-INF/lib&lt;BR /&gt;web-scripts-application-context.xml - &amp;lt;Alfresco&amp;gt;/tomcat/webapps/alfresco/WEB-INF/classes/alfresco&lt;BR /&gt;simple.get.desc.xml&amp;nbsp; - &amp;lt;Alfresco&amp;gt;/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/demo&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Am I supposed to package my class file in a .jar file and put it in the WEB-INF/lib directory, or is it referring to the supporting .jar files for the web scripts and JSON?&amp;nbsp; Or, both???&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did find the web-scripts-application-context.xml and made the necessary changes, as well as making a simple.get.desc.xml and putting it in my &amp;lt;Alfresco&amp;gt;/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/demo directory…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the missing step???&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance for any help!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Todd&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 19:28:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-the-node-data/m-p/236177#M189307</guid>
      <dc:creator>peterstb</dc:creator>
      <dc:date>2009-08-24T19:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the Node Data???</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-the-node-data/m-p/236178#M189308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So I've been googling for two days now, and constantly refreshing this post in the hopes that someone might have a link to a "simple" Web Service or WebScript example that works…&amp;nbsp; I'll settle for anything…&amp;nbsp; A HelloWorld world would be perfect!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been finding many examples out there, but none that seem to describe "step-by-step", how to develop, "deploy", and test a simple example.&amp;nbsp; The examples I have found seem to be missing some relevant information, such as I described above that prevent me from taking the ball over the goal-line.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm starting to wonder if Alfresco is going to be the right tool for us?&amp;nbsp; It seems like it has taken off very well in the industry, and seems to have a ton of capability.&amp;nbsp; If I can't get a simple HelloWorld going, to build from, I can't recommend it as a product that might meet the needs of several projects we have, in need of a WCMS solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm concerned that I'm just not looking in the right places, although the Alfresco Wiki's would presumably bet the best place to be looking???&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there anyone out there that can point me in the right direction?&amp;nbsp; I'm boardering on desparate, before I abandon putting any more effort into proving that Alfresco might be a good fit for our company.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions are greatly appreciated!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks and best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Todd&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2009 17:55:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-the-node-data/m-p/236178#M189308</guid>
      <dc:creator>peterstb</dc:creator>
      <dc:date>2009-08-27T17:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the Node Data???</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-the-node-data/m-p/236179#M189309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;To read the content from Java what you need is a ContentReader.&amp;nbsp;&amp;nbsp; You can get one from the content service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.alfresco.com/en/viewtopic.php?f=4&amp;amp;t=12090" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/en/viewtopic.php?f=4&amp;amp;t=12090&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can also access the content of the nodes remotely by their URLs or through CMIS web scripts or ftp etc, etc.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2009 20:09:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-the-node-data/m-p/236179#M189309</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2009-08-27T20:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the Node Data???</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-the-node-data/m-p/236180#M189310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the response…&amp;nbsp; I will definitely look into that, as we are primarily a Java shop.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've currently shifted my focus to using WebScripts, and am recently (within the last hour) feeling like I'm starting to make a little progress.&amp;nbsp; I think that 90% of my problem is in understanding what resources (wiki's, tutorials, etc.) to use, and am finding the the version of Alfresco I have installed (3.2 Community) is partly the challenge.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, I've been reading through the WebScripts Wiki at: &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Web_Scripts#Invoking_a_Web_Script" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Web_Scripts#Invoking_a_Web_Script&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; This is where I finally started to make some progress.&amp;nbsp; I put in a&amp;nbsp; of URL, got an alf_ticket from my repository, was able to put in another URL (with the alf_ticket as a parm) and was able to see some level of my repository.&amp;nbsp; I'm thinking sweet!!!&amp;nbsp; Start diving in a little deeper and navigate from the Wiki to another Wiki at: &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Web_Scripts#Examples_and_Guidelines" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Web_Scripts#Examples_and_Guidelines&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; Sweet again!!!&amp;nbsp; Things are looking up for me!&amp;nbsp; Get to the Examples and Guidelines section and am thinking, ok, I'm not taking any shortcuts!&amp;nbsp; So, I navigate to the "Web Scripts Examples" Wiki at: &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Web_Scripts_Examples" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Web_Scripts_Examples&lt;/A&gt;&lt;SPAN&gt;, and none of the "simple" example URL's are working for me.&amp;nbsp; What's happened is I've navigated (I'm assuming here) to some samples based on Alfresco 2.1 and later (don't know how much "later" means), and the URL structure doesn't seem to match the URL structure of my 3.2 Community edition???&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll take it on the chin and admit that there's probably a lot of user error, but it's really difficult to get my arms around the technical artifacts, I need, to make the 3.2 Community edition work in my enviornment, without accidentally stumbling onto Wiki's, tutorials, etc., based on previous versions, which may not work for me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is anybody else struggling with this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By the way…&amp;nbsp; I'm sincerely greatful for the response…&amp;nbsp; I will definitely be researching further, as that was the inital path I was headed down.&amp;nbsp; Just needed to vent a little (and not directed at any of the posting responders)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Todd&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2009 20:54:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-the-node-data/m-p/236180#M189310</guid>
      <dc:creator>peterstb</dc:creator>
      <dc:date>2009-08-27T20:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the Node Data???</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-the-node-data/m-p/236181#M189311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It sounds like you're in a great position to update the wiki with some getting started / guided walk-through type information.&amp;nbsp; Perhaps you could take advantage of Alfresco's open source nature and contribute what you've learnt back to the community?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Peter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2009 22:14:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-the-node-data/m-p/236181#M189311</guid>
      <dc:creator>pmonks</dc:creator>
      <dc:date>2009-08-27T22:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the Node Data???</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-the-node-data/m-p/236182#M189312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Point taken Peter…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I feel like I have my arms around this a little better, and think I can put something together to contribute I will do so.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Todd&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2009 13:27:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-the-node-data/m-p/236182#M189312</guid>
      <dc:creator>peterstb</dc:creator>
      <dc:date>2009-08-28T13:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the Node Data???</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-the-node-data/m-p/236183#M189313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi peterstb,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had a hard time working with the Simple tutorial at &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Java-backed_Web_Scripts_Samples" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Java-backed_Web_Scripts_Samples&lt;/A&gt;&lt;SPAN&gt; as well.&amp;nbsp; You are right to ask what the jar file was about because that did not help me at all.&amp;nbsp; What you need to do is move your built classes to &lt;/SPAN&gt;&lt;STRONG&gt;Alfresco/WEB-INF/classes&lt;/STRONG&gt;&lt;SPAN&gt;.&amp;nbsp; YOu can ignore the part about the jar file (perhaps someone with more expertise can go into detail how to make it work with the jar file, but I certainly did not need it).&amp;nbsp; As a side note, you should create a freemarker response file if your java file will not be doing it for you (*.get.json.ftl)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Once that is done and you have the correct description and freemarker files (*.get.desc.xml) as well as added a new bean for it, restart tomcat and you should be good.&amp;nbsp; It sucks, but you have to restart tomcat whenever you rebuild your files.&amp;nbsp; Maybe its just my environment, but redeploying alfresco does not reload my new classes.&amp;nbsp; Anyways, hope that helps you in some way.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2009 02:11:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-the-node-data/m-p/236183#M189313</guid>
      <dc:creator>sgomez</dc:creator>
      <dc:date>2009-10-02T02:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the Node Data???</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-the-node-data/m-p/236184#M189314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you're using Tomcat, it's better not to directly manipulate the exploded webapp (anything under ${ALFRESCO_HOME}/tomcat/webapps/alfresco/) since Tomcat will re-explode the alfresco.war file at intervals, removing anything you've put in there manually (and doing so unexpectedly, in all likelihood).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A better option is to package up extensions into one or more AMP files (see &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/AMP_Files" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/AMP_Files&lt;/A&gt;&lt;SPAN&gt;) then install them using the MMT tool (see &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Module_Management_Tool" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Module_Management_Tool&lt;/A&gt;&lt;SPAN&gt;) or the apply_amps.[bat|sh] script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Peter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Oct 2009 04:38:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-the-node-data/m-p/236184#M189314</guid>
      <dc:creator>pmonks</dc:creator>
      <dc:date>2009-10-04T04:38:05Z</dc:date>
    </item>
  </channel>
</rss>

