AnsweredAssumed Answered

How to get a document from a specific site

Question asked by rodrigoa on Jan 16, 2012
Latest reply on Jan 17, 2012 by amandaluniz_z
Good Morning,

I am quite new using Alfresco, and I am having some problems to get a document from a specific site. In my code below I am creating the file, but what I really want is to get one document from the site "revision". How can I do this?

         <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
               var site = siteService.getSite("revision");
               var doc1 = userhome.createFile("transform_me1.doc");

Thanks in advance,

Rodrigo Araujo