alfresco

Task edit document preview component Alfresco

血红的双手。 提交于 2019-12-05 21:02:50
First question: I want to implement a preview of the document in the form of the task-edit of the workflows... How can I do this? I try to adapt the document-details.xml and document-details.ftl to workflow-details.xml and workflow-details.ftl but not works. I tried to copy the components that have web-preview of the document-details files to workflow-details. Any hint to make this? I have this in workflow-details.ftl : <#include "include/alfresco-template.ftl" /> <@templateHeader> <@script type="text/javascript" src="${url.context}/res/modules/documentlibrary/doclib-actions.js" group=

How to Delete Document Using CMIS

我的梦境 提交于 2019-12-05 08:08:27
问题 I have Created a External web application using Servlets which is connected to alfresco repository. I am also able to upload document in to the repository, download document from repository. now my requirement is, i have to delete document based on user role. means i want to give delete document access to only site manager. Please provide sample code if you have. Thanks in Advance 回答1: In order to delete a document you first need to see if the user have the role to delete this is why the

How to add a document to the Alfresco Repository with Java code?

ⅰ亾dé卋堺 提交于 2019-12-04 19:45:48
EDIT: Apparently I had to make an AMP and map it to Alfresco.war. But now I can't access the code I wrote, so I guess I'll have to use Webscripts and the like. Can someone provide an example of how to add a document to the Alfresco Repository with a Java backed webscript? ORIGINAL QUESTION: I've searched google-wide for a way to add a document to the Alfresco Repository with Java code. But I was not able to find a way that would work. I know how I can add a document to the Repository: use the NodeService. But the problem is that I cannot get an instance of the NodeService. I've tried to inject

Alfresco SSO with Cookie

谁都会走 提交于 2019-12-04 19:42:11
I want to integrate Alfresco with my current login system (which is an LDAP server). I can successfully integrate LDAP authentication in, however, I want to use an external login page and have Alfresco read a cookie to log the user in (the cookie will contain the username and a key which can be used to verify they're logged in with the LDAP server). I looked into the example that came with the SDK, but there doesn't seem to be a way to login the user in without a password. I was looking into the External Authentication Subsystem, and saw the CAS guide, but that seems like overkill and I'm not

How to setup alfresco jlan file server as a standalone java package?

情到浓时终转凉″ 提交于 2019-12-04 16:33:03
I am new to file server implementation. Alfresco jlan seems a good start as it's a pure Java implementation of most server protocols - CIFS, NFS and FTP. There are lot of threads devoted to alfresco, but not specific to jlan. How to setup jlan as a standalone java package in NetBeans? Thanks in advance. blagerweij Have a look at https://web.archive.org/web/20110925093759/https://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/projects/alfresco-jlan/ Here you will find a runsrv.bat (and runsrv.sh) script to bootstrap a JLANServer using the provided XML config: jlanConfig.xml

alfresco: limiting authority.ftl to a group of users

北战南征 提交于 2019-12-04 15:51:46
In my workflow model I have an association to cm:person type, in share configuration I'm using the authority.ftl template to display it, how can I limit the available users to select from down to the members of one group ? There s a few changes that I needed to do in order to achieve this: You should pass a parameter to your authority.ftl in your share modules config file using a new control param: <config evaluator="node-type" condition="my:customtype"> <forms> <form> <appearance> <field id="my:personproperty"> <control template="/org/alfresco/components/form/controls/authority.ftl"> <control

How to use Alfresco 'Edit Online' functionality from Spring MVC application

余生长醉 提交于 2019-12-04 14:51:37
I am currently investigating Alfresco's Sharepoint functionality. I installed Alfresco 3.4 and followed the Web Quick Start Installation . I then uploaded a word document to Alfresco and can navigate to it in a browser. My URL is http://localhost:8080/share/page/site/webqs/document-details?nodeRef=workspace://SpacesStore/f7f5881e-320e-4d73-85e4-b62752fef1b8 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: <div

Alfresco Community Enterprise Feature Comparison

删除回忆录丶 提交于 2019-12-04 09:42:41
问题 I've seen this question but the answers are simply not good enough. I've searched the web and could find a clear listing of the main differences. I am particularly surprised to see contradictions in the above link, that holds only 4 short answers. So the question is, beyond support, what are (all) the differences between Alfresco Community and Enterprise editions (for the current versions of course)? Are there functional or technical features that available in the Enterprise edition, that are

logger.log is not logging to alfresco.log

半世苍凉 提交于 2019-12-04 07:21:28
I am trying to use logger.log("Hello") in a javascript file corresponding to a template page in Alfresco. I have set the following: - in custom-log4j.properties (overriding log4j.properties) log4j.appender.File=org.apache.log4j.DailyRollingFileAppender log4j.appender.File.File=alfresco.log log4j.appender.File.Append=true log4j.appender.File.DatePattern='.'yyyy-MM-dd log4j.appender.File.layout=org.apache.log4j.PatternLayout log4j.appender.File.layout.ConversionPattern=%d{ABSOLUTE} %-5p [%c] %m%n log4j.logger.org.alfresco.repo.web.scripts=warn log4j.logger.org.alfresco.repo.web.scripts

How to manage access permission in alfresco

假如想象 提交于 2019-12-04 06:08:33
问题 Hello Everyone thank's in advance for your help. I am trying to configure access permission in alfresco and now stuck in a scenario It would be great help if someone defines proper way to achieve this functionality now my problem is I want to create a site (which will be accessible by all user) then will create folder and sub folder in that site (i am ready to customize content type of those folder if required) now i want to configure alfresco in such a way that specific set of user can