alfresco-share

Alfresco: Defining new Control-Params

淺唱寂寞╮ 提交于 2019-12-12 14:24:52
问题 I am working on a custom form control, and need to define a new control-parameter of type string called helptext . I understand how to call it in my share-config-custom, how to use it in my custom form control, but not how to initially declare it. I see other control-params use the format field.control.params.${param} , but cannot locate where any of these are defined. A file search for existing control-params returns dozens of files. Where and how do I declare control-params before using

How to auto-generate a mail with the password created after clicking on “Create User” button in Alfresco New User page? [duplicate]

落爺英雄遲暮 提交于 2019-12-12 04:32:08
问题 This question already has an answer here : Auto-generation of email with username and random password on creation of new user (1 answer) Closed 3 years ago . How can we auto-generate a mail with the new user's password as soon as we click on the create user button in Alfresco New User page. Do we need to create any webscript or action which can redirect to create user action and a corresponding mail will be generated automatically. Please let me know how to create the link between Create User

Is there a way to set the display text for the value in list?

£可爱£侵袭症+ 提交于 2019-12-12 04:25:14
问题 For example, there are some business process. The user is prompted to reject or to approve some document. Part of the workflow content model: ... <constraints> <constraint type="LIST"> <parameter name="allowedValues"> <list> <value>Approve</value> <value>Reject</value> </list> </parameter> </constraint> </constraints> ... Instead of Approve / Reject I want to display a different text (national, with spaces, etc.). But in scripts I would like to use the same Approve / Reject values. Is it

Alfresco Object is not available in extension module in alfresco share

六眼飞鱼酱① 提交于 2019-12-12 03:42:14
问题 I am trying to override the javascript controller node-header.js of components\node-details with the extension module of alfresco share This is my node-header.get.js <import resource="classpath:/alfresco/templates/org/alfresco/import/alfresco-util.js"> for (var i=0; i<model.widgets.length; i++) { if (model.widgets[i].id == "NodeHeader") { if(model.widgets[i].options.nodeRef!=null) { var jsNode = new Alfresco.util.Node(model.widgets[i].options.nodeRef); if(jsNode.hasAspect("custom:intranetFile

How to fetch password from Alfresco UI page which has been created by admin for the new user?

时光总嘲笑我的痴心妄想 提交于 2019-12-12 02:45:45
问题 I had used this code for auto generation of mails. Now the problem is password shown in the mail is the password as generated by the script. I want the password to be fetched from alfresco new user page, where the admin has created the password for the new user not any random string. Below is the script that i generated for automatic mail generation. if (document.isContainer && document.displayPath == "/Company Home/User Homes") { var owner = document.properties["cm:owner"]; var pNode =

Prevent Aspect from being added in Alfresco Share

…衆ロ難τιáo~ 提交于 2019-12-11 20:15:08
问题 Most tutorials don't take this into account, but I suppose there are many occasions where a node doesn't meet all requirements for a custom aspect. The only way I found for this to occur is to develop a behavior, and in beforeAddAspect throw an Alfresco runtime exception. Which is happening by registering a before add aspect categorically as FIRST_EVENT this.beforeAddAspect = new JavaBehaviour(this, BEFORE_ADD_ASPECT, NotificationFrequency.FIRST_EVENT); And then throwing the error itself:

No collections folder when creating a folder in Alfresco

别说谁变了你拦得住时间么 提交于 2019-12-11 11:57:45
问题 I have created a folder called audio_test under root folder in Alfresco using the Alfresco Share client, but there is only the index.html file but no collections folder. According to the documentation I need the collections folder to manage my audio files so that my web app can access them. Why isn't there a collections folder for me? Or how do I create one myself? 回答1: You can follow the steps described in the following pages: Creating the Web Quick Start site to create the WQS. Each root

OpenAM J2EE agent installation bringing down tomcat

谁说胖子不能爱 提交于 2019-12-11 11:16:32
问题 OpenAM version -12 , Agent version 3.5 and 3.3 , tomcat version 7 I have tried to follow the link https://forums.alfresco.com/forum/installation-upgrades-configuration-integration/authentication-ldap-sso/sso-openam-06052012 to set up my J2EE Agent. Let me paste the steps after asking the question(see at the end) but I am getting the error as asked below Not able to configure J2ee agent on adding my customized data store for users I have tried to use 3.5 version installed and uninstalled

Send public link by email

淺唱寂寞╮ 提交于 2019-12-11 09:46:04
问题 i am facing a little problem with email template in Alfresco Share. I want to send document's public link to users when somthing is uploaded. The question is: how to include public link of a shared document in email template? what freemarker data tag references the public link? 回答1: In Share 4.2f under path share\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\components\head\ resources.get.html.ftl you have constant Alfresco.constants.QUICKSHARE_URL built like Alfresco.constants

Auto-Incrementing (Unique) ID in Alfresco

余生颓废 提交于 2019-12-11 08:03:30
问题 i am trying to extend alfresco's document management by running a script. So far, i have managed to create a Custom Model with a Custom Type and Property as seen below: the said Custom Type is under this Custom Model (never mind the Custom Aspect for now) the custom type is working so far, i managed to apply it to a certain document as you can see below (Notice the Control Code Field) now what i want to do is to add an auto incrementing function that will be set as the value of the Control