alfresco-share

Is it possible to make document picker default to document library in alfresco share?

末鹿安然 提交于 2019-12-11 07:24:39
问题 I have a copy of association.ftl which I use for a control added to the advanced search form in share. Unfortunately when opened the default display is companyhome where as I'd rather have it default to the related site's document library. I read this wiki and also tried the changing the parentNodeRef value in the javascript to at least add sites to the path to no success. The share form config control: <config evaluator="model-type" condition="cm:content"> <forms> <!-- Search form --> <form

Aikau fundamentals - payload 101

拈花ヽ惹草 提交于 2019-12-11 00:09:09
问题 I am very new to Alfresco Aikau and I just don't get how payload works. There are many examples where payload is used but I am not making the connection. All the examples I seem to find suggest (to me that is) that the payload is used to define a data list that will be loaded and returned to the widget. But, the data list always seems to be a url and I assume the result from the url is a json object. What if I want to call a webscript that build a json object and returns it back to the widget

alfresco: limiting authority.ftl to a group of users

我是研究僧i 提交于 2019-12-09 21:29:23
问题 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 ? 回答1: 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>

Is there a way to control the sorting order in the user's search interface?

天大地大妈咪最大 提交于 2019-12-08 12:18:42
问题 I'm developing AMP file for the Share tier and I want to override the search order. Currently, the sorting performed by fullName . In my case I need sorting by lastName . In people-finder.js I found this line: ... /** * Build URI parameter string for People Finder JSON data webscript * * @method _buildSearchParams * @param searchTerm {string} Search terms to query */ _buildSearchParams: function PeopleFinder__buildSearchParams(searchTerm) { return "sortBy=fullName&dir=asc&filter=" +

cross domain call using REST Alfresco

最后都变了- 提交于 2019-12-08 07:10:56
问题 I am using the REST API to upload a file. http://fiddle.jshell.net/876fzzd5/5/ is the pastebin. I am using http://malsup.com/jquery/form/#file-upload form plugin to upload cross domain. IE debug tools shows that the correct response is received from the server. However the success callback is always called even if the file upload fails. If I don't use a cross domain Ajax call then the correct callback methods (success/error) are called. Could some one let me know what might be the issue? 回答1:

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

How to use multiple alfresco AMP file in eclipse

心不动则不痛 提交于 2019-12-08 05:44:02
问题 I have created one Alfresco project in Eclipse. I want to use one uploader-plus AMP file in my newly created Alfresco project in Eclipse. How can I achieve this? can we use multiple amps in single alfresco project in eclipse or can we create single amp file by combining 2 different amp files??? 回答1: Independently from the IDE you are using, it is possible to setup an All-In-One project to fetch and apply several extra amps before starting up (either from a local or a remote maven repo) :

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"

Site wise custom evaluator in alfresco

蓝咒 提交于 2019-12-08 03:28:18
问题 I am facing some problems to create, Site wise evaluator to show or hide create menu option in alfresco. In below Attached image i want to show create market option for one site and create project option for other site. can anyone help me regarding this, if possible please provide sample custom evaluator code. i am using Alfresco 5.0.d version Thanks in Advance. 回答1: This blog post describes how to to the site evaluator for updating Alfresco Share configuration. Judging from your screenshot

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>