Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to use Alfresco 'Edit Online' functionality from Spring MVC application
    text
    copied!<p>I am currently investigating Alfresco's Sharepoint functionality. I installed Alfresco 3.4 and followed the <a href="http://wiki.alfresco.com/wiki/Web_Quick_Start_Installation_and_Configuration" rel="nofollow">Web Quick Start Installation</a>. </p> <p>I then uploaded a word document to Alfresco and can navigate to it in a browser. My URL is <a href="http://localhost:8080/share/page/site/webqs/document-details?nodeRef=workspace://SpacesStore/f7f5881e-320e-4d73-85e4-b62752fef1b8" rel="nofollow">http://localhost:8080/share/page/site/webqs/document-details?nodeRef=workspace://SpacesStore/f7f5881e-320e-4d73-85e4-b62752fef1b8</a></p> <p>Using Internet Explorer there is an 'Edit Online' button under the 'Document Actions' section. Sadly this button is not available with firefox or google chrome. The HTML source for the button doesn't help me much as I can see a URL:</p> <pre><code>&lt;div class="onActionEditOnline"&gt; &lt;a rel="edit,online-edit" href="" class="action-link" title="Edit Online"&gt; &lt;span&gt;Edit Online&lt;/span&gt; &lt;/a&gt; &lt;/div&gt; </code></pre> <p>While researching thing at the alfresco site people recommended learning <a href="http://www.springsurf.org" rel="nofollow">Spring Surf</a> as the Alfresco /share application was written using it. The Spring Surf tutorial uses <a href="http://www.springsource.org/roo" rel="nofollow">Roo</a>, this in turn has a Spring Surf addin, which I could not get running, reported by someone else <a href="http://forum.springsource.org/showthread.php?104369-Spring-roo-addon-with-spring-surf" rel="nofollow">here</a>.</p> <p>Back to the 'Edit Online' button itself; when I click it the word document is opened in Word on my client machine, I can edit it and click save in Word, using the Sharepoint protocol the document is correctly saved back to Alfresco.</p> <p>My question is how can I access this 'Edit Online' functionality from my own Spring MVC application? I would like to have this 'Edit Online' button visible on one of my JSPs but I don't know how to interact with Alfresco. Has anyone done this? Any help appreciated!</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload