alfresco-share

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

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

How to hide create site link for particular user

时间秒杀一切 提交于 2019-12-07 08:10:23
问题 I am on Alfresco 4.2e Community Edition.I am able to restrict site creation for a particular group by modifying the following files. In public-services-security-context.xml org.alfresco.service.cmr.site.SiteService.createSite=ACL_METHOD.ROLE_ADMINISTRATOR,ACL_METHOD.GROUP_SITECREATORS In sites.get.js and mysites.get.js I added this var createSiteVisible = userHasGroup(user.name, 'SITECREATORS'); model.createSiteVisible = createSiteVisible; function userHasGroup(username, group) { var result =

Modify live search in Alfresco Commmunity 5.0.d

空扰寡人 提交于 2019-12-07 03:18:29
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"); widgetUtils.deleteObjectFromArray(model.jsonModel, "id", "HEADER_PEOPLE"); widgetUtils

How can I set a size limit for files uploaded in Alfresco 4.2.c?

淺唱寂寞╮ 提交于 2019-12-06 13:32:15
I think the title is pretty self-explanatory, now... I have been looking for a way of limiting the size of files uploaded in Alfresco 4.2.c through Share. I'm surprised there isn't any mechanism provided out-of-the-box, looks to me a pretty basic feature. After some investigation the only way I see to make it possible is by implementing custom policy or behavior, according to what's discussed here: http://forums.alfresco.com/forum/developer-discussions/web-content-services/limit-file-upload-size-34d-10272011-1416 Do anybody knows any other (simpler) approaches? EDIT: As Andreas Steffan

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

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

Task edit document preview component Alfresco

血红的双手。 提交于 2019-12-05 21:02:50
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 type="text/javascript" src="${url.context}/res/modules/documentlibrary/doclib-actions.js" group=