alfresco-webscripts

How to limit the Alfresco query result set to Top-N rows only

安稳与你 提交于 2021-02-05 10:01:48
问题 I need how to get 20 records out of 100 from alfresco in java. Query: +@cm\:categories:"*categoryId*"+TYPE:"{http://www.alfresco.org/model/content/1.0}content Here In this categoryId 100 records in alfresco. But I need top 20 records. Please help me. 来源: https://stackoverflow.com/questions/61773069/how-to-limit-the-alfresco-query-result-set-to-top-n-rows-only

companyhome not defined error in bundle service *.post.js file in Alfresco Share

一曲冷凌霜 提交于 2021-01-29 09:04:43
问题 I have a custom service /hayts the processes file uploads and metadata. the same files work when following the MultiPart Forms Tutorial. However, when I bundle the files into My Share application. I can load the form submit it to upload the file. But the POST processing JS fails. The Web Script /share/page/hayts has responded with a status of 500 - Internal Error. 500 Description: An error inside the HTTP server which prevented it from fulfilling the request. Message: 11120001 Failed to

Alfresco - Aikau Custom Action

为君一笑 提交于 2020-04-17 21:35:21
问题 I want add custom action in alfresco aikau search page. I have created extension module. <extension> <modules> <module> <id>Custom Action In Search Result Page</id> <auto-deploy>true</auto-deploy> <version>1.0</version> <customizations> <customization> <targetPackageRoot>org.alfresco.share.pages.faceted-search </targetPackageRoot> <sourcePackageRoot>com.custom.faceted-search</sourcePackageRoot> </customization> </customizations> </module> <module> <id>Tutorial widgets</id> <version>1.0<

Alfresco - Aikau Custom Action

旧街凉风 提交于 2020-04-17 21:35:05
问题 I want add custom action in alfresco aikau search page. I have created extension module. <extension> <modules> <module> <id>Custom Action In Search Result Page</id> <auto-deploy>true</auto-deploy> <version>1.0</version> <customizations> <customization> <targetPackageRoot>org.alfresco.share.pages.faceted-search </targetPackageRoot> <sourcePackageRoot>com.custom.faceted-search</sourcePackageRoot> </customization> </customizations> </module> <module> <id>Tutorial widgets</id> <version>1.0<

Alfresco - Aikau Custom Action

旧街凉风 提交于 2020-04-17 21:33:32
问题 I want add custom action in alfresco aikau search page. I have created extension module. <extension> <modules> <module> <id>Custom Action In Search Result Page</id> <auto-deploy>true</auto-deploy> <version>1.0</version> <customizations> <customization> <targetPackageRoot>org.alfresco.share.pages.faceted-search </targetPackageRoot> <sourcePackageRoot>com.custom.faceted-search</sourcePackageRoot> </customization> </customizations> </module> <module> <id>Tutorial widgets</id> <version>1.0<

Get NodeRef of a workflow task Alfresco

时光总嘲笑我的痴心妄想 提交于 2020-01-16 03:18:24
问题 I create a workflow, and when I go to the task-edit page: I'm trying to obtain the nodeRef of the file (latexexemplo-2.pdf) of the workflow task: http://localhost:8080/share/page/task-edit?taskId=activiti$20649 I'm trying to make this way: var taskId = args.taskId var task = workflow.getTaskById(taskId); nodeRef = task.getPackageResources()[0].nodeRef; But I obtain "args is not defined" ... "workflow is not defined" ... "task is not defined". How can I get the nodeRef with another way? 回答1:

cmis or web scripts use?

北城以北 提交于 2020-01-11 10:32:09
问题 I want to build a JavaEE GED application using alfresco and activiti Workflow engine which manages and monitors the mail of an organization (Letter, Fax, mail etc.). Since I am new with alfresco I want to know the best way to communicate with alfresco in my case : the use of CMIS or web scripts (I'm building a third-party application ) . 回答1: I can suggest two solutions using Using the REST API or CMIS with a library like Apache Chemistry Apache Chemistry is very well documented and you can

How to add custom table to the reviewTask screen of workflow form?

五迷三道 提交于 2019-12-25 12:09:54
问题 Alfresco Community v5.2 includes some of preconfigured workflows that available on the page /share/page/start-workflow Among others, there is one that is interested to me - is "Review and Approve (one or more reviewers) - Assign a review task to multiple reviewers" . This business process is well suited to the requirements of one of our customers. The only difference is that is needed to see the table of all the performers on the ReviewTask screens. I decided to start with this wonderful

How to add custom table to the reviewTask screen of workflow form?

倖福魔咒の 提交于 2019-12-25 12:09:19
问题 Alfresco Community v5.2 includes some of preconfigured workflows that available on the page /share/page/start-workflow Among others, there is one that is interested to me - is "Review and Approve (one or more reviewers) - Assign a review task to multiple reviewers" . This business process is well suited to the requirements of one of our customers. The only difference is that is needed to see the table of all the performers on the ReviewTask screens. I decided to start with this wonderful

Not able to select a tag in Alfresco Community 5.0.d

六眼飞鱼酱① 提交于 2019-12-25 08:59:28
问题 I am using Alfresco Community 5.0.d and when I go to edit properties then click on select tag, I get below error in view. org.alfresco.repo.search.impl.lucene.LuceneQueryParserException: 00170047 Below is error in console. "status": { "code": 500, "name": "Internal Error", "description": "An error inside the HTTP server which prevented it from fulfilling the request." }, "message": "org.alfresco.repo.search.impl.lucene.LuceneQueryParserException: 00170049 ", "exception": "", "callstack": [],