alfresco

Auto Generate user passwords and directly sending mail to respective users about their login credentials in Alfresco [duplicate]

回眸只為那壹抹淺笑 提交于 2019-12-02 04:47:14
This question is an exact duplicate of: Auto-generation of email with username and random password on creation of new user 1 answer My task is to do the following in Alfresco: When a user is created, the password is auto-generated and the login credentials being sent to the users email address directly, instead of the admin having to enter the password and sending it manually to the newly created users. Please guide me how to start and proceed in this... Sachin Mesare You can refer to my answer for Creating user in alfresco You can write some random algorithm to generate password. Also you can

Provide default parameters automatically with $resource?

有些话、适合烂在心里 提交于 2019-12-02 00:59:49
I'm creating a simple AngularJS app that uses Alfresco as back-end over the provided REST API . Firstly, authentication is performed through the appropriate service which returns a token ( alf_ticket ) and that token must be sent as a URL parameter in the subsequent requests after a successful authentication. As far as I'm concerned, the Alfresco REST API doesn't support to receive the token as part of the HTTP headers; that would be best option though, since it would be straightforward to solve the issue by configuring $http defaults for instance, just to mention one options I can think of.

How to call synchronous ajax call in alfresco?

霸气de小男生 提交于 2019-12-02 00:29:11
I have one custom property say XYZ. I want to validate it on blur event. I am calling one web-script using Ajax from JavaScript(Client) but its not waiting for server response and execute further code. I am using alfresco custom validation. I have done all coding regarding custom validation and it works fine. The issue is only script is not waiting for response and continue to execute further code. How can I make synchronous Ajax call using Alfresco.util.Ajax ? Following is my code and configuration which I have done. I have done some configuration shar-config-custom.xml file added mandatory

Alfresco Creating a new user group that permits only creating user and groups

半城伤御伤魂 提交于 2019-12-02 00:05:22
I want to create a new user group . The members in this user group can create new users and new groups. I think creating users or groups require admin permission. This user group does not have other admin permission except creating, editing and deleting user,group. Does alfresco provide this kind of group in alfresco community 4.0c? How can I implement it? How to add a new group with specified permission? I really appreciate for help. You could add a custom role in permissionDefinitions.xml but I don't think that would help in this instance, since the ability to create users and groups plus

How do I disable Alfresco main menu items?

寵の児 提交于 2019-12-01 23:31:35
The main menu on the Alfresco Share app contains a couple of items that the project team for our deployment wants to have disabled. Specifically "My Files" and "Shared Files". Hiding would be good enough, but if we can disable them completely that would be best. Those are functions that the users are not to have any access to. All their interactions should be through the sites. Is there an Alfresco supported (as in "won't break when we upgrade versions") way to do this? You have blog post describing how to hide main menu items at this link. It turned out later that this approach wasn't working

CmisObjectNotFoundException when trying to access my Alfresco repository

六眼飞鱼酱① 提交于 2019-12-01 23:28:06
I'm new with CMIS and Alfresco and I got this error when in try to connect to my Alfresco's repository using AtomPUB binding. I have no idea about the source of my problem. Is it unless a functionality ? Is it my Credential ? When I install it, I choose only : - Alfresco community - Solr4 How should I do if I want to use web services ? Should I install a specific plugin in my Alfresco ? I got with error : SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/C:/Users/ME%2ME/.m2/repository/org/slf4j/slf4j-simple/1.7.9/slf4j-simple-1.7.9.jar!/org/slf4j/impl

How to get all Child associations with a specific Association Type Alfresco (Java)

◇◆丶佛笑我妖孽 提交于 2019-12-01 22:04:34
i'm a total newbie to java and Alfresco and i have this simple problem: i need to get all child Associations of a noderef with Association Type = "risposteAssociate". In Javascript i do something like: var risposte = node.childAssocs["crl:risposteAssociate"]; In Java i have to do something like: List<ChildAssociationRef> risposteAssociate = nodeService.getChildAssocs(node,....); I've looked at the docs Here but i don't fully understand them. EDIT - If i can get the child associations, to iterate over them i can use for (ChildAssociationRef childAssocRef : risposteAssociate) { // do something

Alfresco default work flow template changing

馋奶兔 提交于 2019-12-01 13:31:24
I am running alfresco 5.0.a and I want to modify the default activitiAdhoc template to set the title and description of the task. I run an activti flow when a file is added to a directory via script. My script is. var workflow = actions.create("start-workflow"); workflow.parameters.workflowName = "activiti$activitiAdhoc"; workflow.parameters["bpm:sendEMailNotifications"] = true; workflow.parameters["wf:notifyMe"] = true; workflow.parameters["wf:workflowDescription"] = "A workflow task has been completed. "; workflow.parameters["bpm:assignee"] = people.getPerson("admin"); workflow.parameters[

Spring RESTful client: root tag exception

点点圈 提交于 2019-12-01 13:13:54
问题 I'm trying to parse the result from a RESTFull call using RestTemplate following this sample http://thekspace.com/home/component/content/article/57-restful-clients-in-spring-3.html The XML Response is something like that: <brands> <brand> <nodeRef>1111111</nodeRef> <name>Test</name> </brand> </brands> For first, I configured my application-context.xml like that: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001

Alfresco : Cannot find Alfresco Repository on this server

人走茶凉 提交于 2019-12-01 13:13:23
I am new with Alfresco Comunity, i have trouble when i tried to configure database. i follow the step from here but it's not working i still got an error : " Cannot find Alfresco Repository on this server " this is my C:\alfresco-community\tomcat\shared\classes\alfresco-global.properties ############################### ## Common Alfresco Properties # ############################### dir.root=C:/alfresco-community/alf_data alfresco.context=alfresco alfresco.host=127.0.0.1 alfresco.port=8080 alfresco.protocol=http share.context=share share.host=127.0.0.1 share.port=8080 share.protocol=http ###