alfresco

Transfer content from one Alfresco instance to another (same version) on another server

谁都会走 提交于 2019-12-08 06:02:01
问题 What would be the best /better way to transfer repository content from one Alfresco (enterprise edition) to another instance running on a different server. Currently we copy the entire Alfresco database & file system under alf_data but that needs a down time on the servers. I would require a mechanism without down time & the repository data be copied from one instance to another. Is there any way this is possible ? 回答1: In addition to Heiko's solution, you might be interested in: The out-of

Alfresco Share not showing subtype or custom type

痴心易碎 提交于 2019-12-08 05:35:48
问题 I have a custom model called "medicalBill" that inherits from another custom model called "clientDocument". For some reason in the share UI only the "clientDocument" is visible in the change type dialog. I have read that in the change type dialog it only shows models that are subtypes of cm:content. Does that mean ONLY direct subtypes? I have this in my share-config-custom.xml is it not possible to have a subtype of a subtype here. <types> <type name="cm:content"> <subtype name="cd

Modify live search in Alfresco Commmunity 5.0.d

元气小坏坏 提交于 2019-12-08 05:15:44
问题 I am using Alfresco Community 5.0.d and trying to find the files related to live search. I would like to remove or modify the people finder in live search. Please let me know the files or way to achieve it. Share-header.get.js info is below: if (!user.isAdmin) { widgetUtils.deleteObjectFromArray(model.jsonModel, "id", "HEADER_MY_FILES"); widgetUtils.deleteObjectFromArray(model.jsonModel, "id", "HEADER_SHARED_FILES"); widgetUtils.deleteObjectFromArray(model.jsonModel, "id", "HEADER_SITES_MENU"

How to create a rule in Alfresco to move content one folder to another?

时光怂恿深爱的人放手 提交于 2019-12-08 04:45:01
问题 I am thinking to create a rule, possibly a javascript script, which will move documents one folder to another depending on its properties. In the other words, I will always upload documents to folderA . Alfresco will extract document's property, for example prop1 , and the rule that I define will move this document to folderB if it has property prop1 , otherwise it will move the document to folderC . I know how to extract properties but I don't know how to create this rule. I have no idea

alfresco file Upload Unexpected error occurred during upload of new content

让人想犯罪 __ 提交于 2019-12-08 04:11:10
问题 I want to upload a file to alfresco using the backend Webscript: alfresco/service/api/upload . Here is how I build my json: _ticket = Login.getAlfTicket(login, psswd); String url = "http://localhost:8080/alfresco/service/api/upload"; File file = new File("C:/the-file-name.txt"); byte[] bytes = Files.readAllBytes(file.toPath()); bytes = Base64.encodeBase64(bytes); JSONObject json = new JSONObject(); json.put("filedata", new String(bytes)); json.put("siteid", "google"); json.put("containerId",

alfresco community 5.0.d - Import categories

こ雲淡風輕ζ 提交于 2019-12-08 02:54:16
问题 Good morning / afternoon, I am currently testing Alfresco Community 5.0.d and the possibilities it offers. I would like to know how to import categories from an XML file (or XML files ?). I prefer avoiding using AMP / ACP, as they seem pretty unclear to me. I've looked into the official documentation : http://docs.alfresco.com/community5.0/concepts/dev-extensions-modules-bootstrapping-categories-xml.html ; from what I understood, I need one XML file containing the categories, and another one

Alfresco: Show task fields in another task(view them)

半腔热情 提交于 2019-12-08 01:24:30
问题 I'm deploying new workflow to alfresco 4.0.e. I have a task with formkey="cwf:submitLeaveTask" here is the code: <type name="cwf:submitLeaveTask"> <parent>bpm:startTask</parent> <properties> <property name="cwf:leaveDescription"> <type>d:text</type> </property> <property name="cwf:duration"> <type>d:int</type> <mandatory>true</mandatory> </property> <property name="cwf:startDate"> <type>d:date</type> <mandatory>true</mandatory> </property> <property name="cwf:leaveType"> <type>d:text</type>

Task edit document preview component Alfresco

只愿长相守 提交于 2019-12-07 18:14:06
问题 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

Multiple assignee controls in Alfresco Workflow form

那年仲夏 提交于 2019-12-07 17:02:21
问题 I'm required to build a workflow that allows the admin to select two assignees from two different groups in the first task of the workflow. Can I use two assignee controls in one form ? How? 回答1: You need to: In the task content model, define the 2 assignees as 2 seperate associations of your task type. <type name="my:starttask"> <parent>bpm:startTask</parent> <associations> <association name="my:firstassignee"> <title>firstassignee</title> <source> <mandatory>false</mandatory> <many>false<

How to retrieve all document content from alfresco repository with seperation of document types using Open CMIS

自闭症网瘾萝莉.ら 提交于 2019-12-07 16:53:52
问题 I Want to retrieve All document content from alfresco repository. So can anyone help me that how can i traverse the repository using CMIS. And while traversing i also want to separate the documents based on its type. At this moment i am able to get any one document by specifying the path. but now my requirement is to traverse whole repository and get all the documents. So can any one help me with this. Also suggest me that " Traversal of all folders and later separate by specific type " will