alfresco

Alfresco default work flow template changing

我只是一个虾纸丫 提交于 2019-12-01 12:28:10
问题 I am running alfresco 5.0.a and I want to modify the default activitiAdhoc template to set the title and description of the task. I run an activti flow when a file is added to a directory via script. My script is. var workflow = actions.create("start-workflow"); workflow.parameters.workflowName = "activiti$activitiAdhoc"; workflow.parameters["bpm:sendEMailNotifications"] = true; workflow.parameters["wf:notifyMe"] = true; workflow.parameters["wf:workflowDescription"] = "A workflow task has

Alfresco : Cannot find Alfresco Repository on this server

我是研究僧i 提交于 2019-12-01 10:39:26
问题 I am new with Alfresco Comunity, i have trouble when i tried to configure database. i follow the step from here but it's not working i still got an error : " Cannot find Alfresco Repository on this server " this is my C:\alfresco-community\tomcat\shared\classes\alfresco-global.properties ############################### ## Common Alfresco Properties # ############################### dir.root=C:/alfresco-community/alf_data alfresco.context=alfresco alfresco.host=127.0.0.1 alfresco.port=8080

Alfresco REST API for downloading document

二次信任 提交于 2019-12-01 10:38:19
I want to use the Afresco REST API to download a document. After some research I find out this REST API: /alfresco/s/api/node/content{property}/{store_type}/{store_id}/{id} But I am not sure how to pass the parameters. If my document details URL in Share is : http://127.0.0.1:8080/share/page/context/mine/document-details?nodeRef=workspace://SpacesStore/7f77488a-60a0-48c3-9369-77183ccad0d2 What should be passed in {property} , {store_type} , {store_id} and {id} ? For this NodeRef workspace://SpacesStore/7f77488a-60a0-48c3-9369-77183ccad0d2 the values for parameter will be: {property}: content

How to Update Document properties using CMIS

浪子不回头ぞ 提交于 2019-12-01 09:54:38
问题 I have one external web application through that i connected to alfresco repository using CMIS. I am already able to upload document in to repository or able to download n view document. Now my requirement is, I have to Update Specific Documents Properties. So can any one please provide sample code or steps to update document properties Using CMIS. Thanks in Advance... 回答1: try this worked fine for me Session session = getSession(serverUrl, username, password); Document targetFile = (Document

Alfresco Share site's dashlet for document library

混江龙づ霸主 提交于 2019-12-01 08:40:35
问题 I was wondering whether exists any dashlet which allows you to explore a site's document library. As far as I know doesn't exist such dashlet out of the box, there only exists the "Site Content" dashlet but it is slightly limited. I have been searching around and "googling" and I found these useful resources that could be useful as a starting point if I had to create my own: http://ecmarchitect.com/archives/2012/05/08/1592 http://code.google.com/p/fme-alfresco-extensions/wiki

Alfresco Maven SDK - fails if module version string ends with “-SNAPSHOT”

主宰稳场 提交于 2019-12-01 08:37:00
So I created an amp project, both repo and share, and every time I try to build or run the project it fails with: java.lang.NoClassDefFoundError: de/schlichtherle/truezip/fs/FsSyncExceptionBuilder at de.schlichtherle.truezip.fs.FsManager.sync(FsManager.java:99) at de.schlichtherle.truezip.fs.FsSyncShutdownHook$Hook.run(FsSyncShutdownHook.java:93) Caused by: java.lang.ClassNotFoundException: de.schlichtherle.truezip.fs.FsSyncExceptionBuilder at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) at org.codehaus.plexus.classworlds.realm.ClassRealm

Activiti使用maven alfresco仓库问题处理

可紊 提交于 2019-12-01 06:53:39
环境 项目用到了Activiti工作流引擎。 项目使用maven进行依赖管理。 遇到问题 项目使用的activiti版本是5.13,但是maven中央库中是从5.14开始的。 从网上找到 https://maven.alfresco.com/nexus/content/groups/public/ 这个仓库包含5.13版本。 但是配置完该仓库,使用maven从里面下载的时候出现了异常。 java.lang.RuntimeException: Could not generate DH keypair 搜索解决方案 从网上搜,找到了: 这里 还有 这里 解决方法 下面内容摘自上述第二个搜索结果: Solution: The problem is “Prime size must be multiple of 64, and can only range from 512 to 1024″. The maximum-acceptable size that Java accepts is 1024 bits, this is a known issue http://bugs.java.com/bugdatabase/view_bug.do?bug_id=6521495 . I tried using the Java Cryptography Extension (JCE)

Alfresco Maven SDK - fails if module version string ends with “-SNAPSHOT”

五迷三道 提交于 2019-12-01 05:46:14
问题 So I created an amp project, both repo and share, and every time I try to build or run the project it fails with: java.lang.NoClassDefFoundError: de/schlichtherle/truezip/fs/FsSyncExceptionBuilder at de.schlichtherle.truezip.fs.FsManager.sync(FsManager.java:99) at de.schlichtherle.truezip.fs.FsSyncShutdownHook$Hook.run(FsSyncShutdownHook.java:93) Caused by: java.lang.ClassNotFoundException: de.schlichtherle.truezip.fs.FsSyncExceptionBuilder at org.codehaus.plexus.classworlds.strategy

What is the most straight-forward method to deploy a new workflow definition in Alfresco Community 4.0.e?

南笙酒味 提交于 2019-12-01 04:42:09
I am having a hard time deploying a new workflow definition in Alfresco Community 4.0.e. Alfresco does not have any user interface for this in the Community Edition. I could not find any Alfresco add-on related to this either. I have had a look at a lot of pages discussing this, such as these: Difficulties in deploying my own workflow in alfresco workflow console Add new workflow into Alfresco share https://wiki.alfresco.com/wiki/Custom_Share_Workflow_UI http://wiki.alfresco.com/wiki/Workflow_Console http://wiki.alfresco.com/wiki/Dynamic_Models#Dynamic_workflow_process_definitions http://www

What is the most straight-forward method to deploy a new workflow definition in Alfresco Community 4.0.e?

主宰稳场 提交于 2019-12-01 02:20:42
问题 I am having a hard time deploying a new workflow definition in Alfresco Community 4.0.e. Alfresco does not have any user interface for this in the Community Edition. I could not find any Alfresco add-on related to this either. I have had a look at a lot of pages discussing this, such as these: Difficulties in deploying my own workflow in alfresco workflow console Add new workflow into Alfresco share https://wiki.alfresco.com/wiki/Custom_Share_Workflow_UI http://wiki.alfresco.com/wiki/Workflow