alfresco

I am using Alfresco 5.0.d Community Edition and mysql as database. I am creating user through Admin Tools -> Users -> Create User

巧了我就是萌 提交于 2019-12-06 09:06:31
I am using Alfresco 5.0.d Community Edition and mysql as database. I am creating user through Admin Tools -> Users -> Create User. But when I am trying to invite these users, they are not searchable. They are also not searchable in People section but they are searchable in Admin Tools -> Users. No error is coming in server logs. I have even deleted previous indexing and created new indexing many times. Any help would be appreciated. Thanks You can try by changing a property in alfresco-global.propeties file ### Solr indexing ### index.subsystem.name=solr4 to ### Solr indexing ### index

Customizing Surf Platform Root-Scoped API

这一生的挚爱 提交于 2019-12-06 07:19:51
I want to customize Surf Platform Root-Scoped API specifically user object. That means add new property or method to user object to check the user is in certain group in header.inc.ftl [in share] like `<#if user.isAdmin> How can I implement this? Is Alfresco Root Scoped Objects can be used as Surf Platform Root-Scoped object? I have no idea of customizing surf platform root object. Can anyone help me??? Not quite sure what you are trying to accomplish, but the role security model is hardcoded in spring-surf/spring webscripts. There is guest, user and admin. If what you want is another

alfresco community 5.0.d - Import categories

柔情痞子 提交于 2019-12-06 06:22:51
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 to "register" the first (I am not sure about what this second one shall consist of). But being quite a

start workflow using alfresco java script api or through web script

不羁岁月 提交于 2019-12-06 05:44:41
I want to start a workflow programatically. So written a web script. Execute Script : function startWorkflow() { var workflow = actions.create("start-workflow"); workflow.parameters.workflowName = "activiti$alfGroupReview"; workflow.parameters["bpm:workflowDescription"] = "Please review "; workflow.parameters["bpm:groupAssignee"] = people.getGroup( "GROUP_site_collaborators");; var futureDate = new Date(); futureDate.setDate(futureDate.getDate() + 7); workflow.parameters["bpm:workflowDueDate"] = futureDate; workflow.execute(document); return ; } For the above script, I am getting error

How to get alf_ticket in Alfresco Share 3.4

房东的猫 提交于 2019-12-06 05:11:17
I've been using context.properties.alfTicket to get a ticket for some custom stuff I've been working before, but recently I migrated from Alfresco 3.0 to 3.4. Now I can't find the authentication ticket in Alfresco Share - is there a way to get this? Whether in JavaScript (server-side, of course) or freemarker. Edit: I added a bounty. I'll give the bounty to whoever gives me the code sample on how to get the alf_ticket in document-details.get.js or document-details.get.html.ftl . In an Alfresco webscript you could use session.ticket , this should be available in Share to. This link to the

Non-Authenticated FreeMarker page in alfresco share

扶醉桌前 提交于 2019-12-06 04:26:21
i have create a new page in alfresco share but the page cannot be displayed without login! how can i make this page enabled without login. my file in "/alfresco/templates/blog/demo/custom-viewer.ftl". and this file contains "custom-viewer.ftl": <#include "include/alfresco-template.ftl" /> <@templateHeader> <@script type="text/javascript" src="${url.context}/res/modules/documentlibrary/doclib-actions.js" group="document-details"/> <@link rel="stylesheet" type="text/css" href="${url.context}/res/components/document- details/document-details-panel.css" group="document-details"/> <

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

痴心易碎 提交于 2019-12-06 02:30:00
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 be the good approach OR " Search specific type of document using CMIS query " will be the good approach

logger.log is not logging to alfresco.log

南楼画角 提交于 2019-12-06 02:19:36
问题 I am trying to use logger.log("Hello") in a javascript file corresponding to a template page in Alfresco. I have set the following: - in custom-log4j.properties (overriding log4j.properties) log4j.appender.File=org.apache.log4j.DailyRollingFileAppender log4j.appender.File.File=alfresco.log log4j.appender.File.Append=true log4j.appender.File.DatePattern='.'yyyy-MM-dd log4j.appender.File.layout=org.apache.log4j.PatternLayout log4j.appender.File.layout.ConversionPattern=%d{ABSOLUTE} %-5p [%c] %m

Multiple assignee controls in Alfresco Workflow form

淺唱寂寞╮ 提交于 2019-12-06 01:21:33
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? Stefan De Laet 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</many> </source> <target> <class>cm:person</class> <mandatory>false</mandatory> <many>false<

what is type and aspect in alfresco?

强颜欢笑 提交于 2019-12-06 00:32:58
问题 Right now am started working with alfresco. But am not clear about what is type and whats aspect?. please give in detail with example. 回答1: Each node on creation has a given type, and just one type, like 'document' or 'folder'. On other hand one node can have many aspects, like 'taggable' or/and 'versionable'. The node type of a node can change over time, but there is only one type for one node, the aspects are like property attachments, you can add them on creation or in runtime. Aspects can