alfresco

Error in calling CMIS Query if String contains single or double quote

旧城冷巷雨未停 提交于 2020-04-13 06:42:06
问题 Here's my problem: When I try to pass a query string in CMIS Query that contains single or double quotes it doesn't execute and gives an error as below: 06:19:23,306 ERROR [DispatcherPortlet:561] Could not complete request org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: Internal Server Error at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.convertStatusCode(AbstractAtomPubService.java:506) at org.apache.chemistry.opencmis.client

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

99封情书 提交于 2020-04-10 04:33:05
问题 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

Alfresco SOLR4 not giving results if I use wildcard search on a text field having comma separated numbers

随声附和 提交于 2020-03-25 21:59:06
问题 I am using SOLR4 along with Alfresco 5 application I have a text field called field1 with value : 71,72,73 If I search for @field1:72 I get the results. But if I search for @field1:*72* I am not getting results. What changes I need to do in the configs to get the results. I have below configurations set on my schema.xml <fieldType name="text___" class="solr.TextField" positionIncrementGap="100"> <analyzer> <tokenizer class="solr.ICUTokenizerFactory"/> <filter class="org.apache.solr.analysis

Alfresco javascript get custom DataList

烂漫一生 提交于 2020-03-06 03:31:12
问题 I've created a custom datalist and put some values on it. Now I try to get data values within a script that will be triggered by a rule. So far, I've trouble to get the custom datalist named test with this code: var site = siteService.getSite(document.siteShortName); var dataLists = site.getContainer("datalists"); var listCompany = dataLists.childByNamePath("test"); It seems that its return a null object but I can't figure it out why, I tried with "dataLists", "datalists" and "data-lists" but

Alfresco javascript get custom DataList

筅森魡賤 提交于 2020-03-06 03:30:48
问题 I've created a custom datalist and put some values on it. Now I try to get data values within a script that will be triggered by a rule. So far, I've trouble to get the custom datalist named test with this code: var site = siteService.getSite(document.siteShortName); var dataLists = site.getContainer("datalists"); var listCompany = dataLists.childByNamePath("test"); It seems that its return a null object but I can't figure it out why, I tried with "dataLists", "datalists" and "data-lists" but

Alfresco javascript get custom DataList

为君一笑 提交于 2020-03-06 03:30:25
问题 I've created a custom datalist and put some values on it. Now I try to get data values within a script that will be triggered by a rule. So far, I've trouble to get the custom datalist named test with this code: var site = siteService.getSite(document.siteShortName); var dataLists = site.getContainer("datalists"); var listCompany = dataLists.childByNamePath("test"); It seems that its return a null object but I can't figure it out why, I tried with "dataLists", "datalists" and "data-lists" but

基于activity的强大java工作流引擎,可视化开发工作流

﹥>﹥吖頭↗ 提交于 2020-03-04 11:07:49
我们先来看看工作流和Activity? 工作流引擎 所谓工作流引擎是指workflow作为应用系统的一部分,并为之提供对各应用系统有决定作用的根据角色、分工和条件的不同决定信息传递路由、内容等级等核心解决方案。工作流引擎包括流程的节点管理、流向管理、流程样例管理等重要功能。 Activity介绍 Activity是由Alfresco软件在2010年5月17日发布的业务流程管理(BPM)框架,它是覆盖了业务流程管理、工作流、服务协作等领域的一个开源的、灵活的、易扩展的可执行流程语言框架。Activiti基于Apache许可的开源BPM平台,创始人Tom Baeyens是JBoss jBPM的项目架构师,它特色是提供了eclipse插件,开发人员可以通过插件直接绘画出业务流程图。 XJR快速开发平台的工作流是整合activity工作流引擎的图形化流程设计器,通过可视化配置界面。基于B/S结构,纯浏览器应用,只需要拖拽组件,拼接流程,就能实现各层的审批。既能实现OA办公系统内部工作流之间的数据整合,如借款与报销、预算与决算等,又能实现OA办公系统工作流与其他业务系统之间的数据整合,如HR、ERP、CRM等。 XJR快速开发平台技术选型: 使用目前流行的多种web技术,包括springboot, JPA,Druid, Activiti,Lombok,swagger,poi

Alfresco: linking directly to workflow

房东的猫 提交于 2020-02-06 07:23:47
问题 I would like to start a workflow from the site links dashlet on my Alfresco site. Using Firebug to examine the POST gives me a URL that works, but it only displays the form without any UI: http://localhost:8081/share/service/components/form?htmlid=template_x002e_start-workflow_x002e_start-workflow_x0023_default-startWorkflowForm-alf-id1&itemKind=workflow&itemId=activiti%24orpWorkflow&mode=create&submitType=json&showCaption=true&formUI=true&showCancelButton=true&destination= Is this possible?

Auto-generation of email with username and random password on creation of new user

风格不统一 提交于 2020-01-26 21:07:31
问题 I have created a class NewUserEmail to auto generate an email with username and password while creating a new user. I am able to create the password but whenever I am trying to log in with that password, its not logging in. I am not able to generate my mail. Please guide me and let me know what is wrong with my code: import java.util.HashMap; import java.util.Map; import java.util.Set; import javax.mail.MessagingException; import javax.mail.internet.MimeMessage; import org.alfresco.error

Auto-generation of email with username and random password on creation of new user

喜你入骨 提交于 2020-01-26 21:06:29
问题 I have created a class NewUserEmail to auto generate an email with username and password while creating a new user. I am able to create the password but whenever I am trying to log in with that password, its not logging in. I am not able to generate my mail. Please guide me and let me know what is wrong with my code: import java.util.HashMap; import java.util.Map; import java.util.Set; import javax.mail.MessagingException; import javax.mail.internet.MimeMessage; import org.alfresco.error