email,workflow,alfresco,activiti
The simple fix would be to send the mail asynchronously, so that the action call returns immediately and the sending occurs in another thread. The only downside of this is that the calling code won't be notified if the sending fails (though you can attach a compensating action for failure...
eclipse,forms,share,config,alfresco
All thanks, the problem is solved! It was necessary to manually add the path to the template file and describe the parameters in the file config-custom.xml (%Alfresco%\tomcat\shared\classes\alfresco\web-extension) It was: <field set="info" label-id="Value select" id="hire:valueselect"/> After the change: <field set="info" label-id="Value select" id="hire:valueselect"> <control template="/org/alfresco/components/form/controls/selectone.ftl"> <control-param...
javascript,list,data,workflow,alfresco
There are 2 javascript object on which you have confusion.One is site and other is node.Site object does not have method called childByNamePath. Instead of that use below for getting datalist. var dataLists = site.getContainer("dataLists"); Your code for retrieving site is correct.The only change is for datalist....
You can try this query: var folderNode = search.luceneSearch("PATH:\"/app:company_home/cm:HereYourFolderName\" AND TYPE:\"cm:folder\""); And make sure you have created this web-script in alfresco....
alfresco,cmis,opencmis,dotcmis
The problem was that the old CMIS URL http://[host]:[port]/alfresco/cmisatom was used. Solution: Replacing that URL in the configuration with the new CMIS URL http://[host]:[port]/alfresco/api/-default-/public/cmis/versions/1.0/atom solved the problem....
forms,model,workflow,alfresco,activiti
Many thanks for Krutik for his answer. Below is my full explanation on how I was able to get it to work. Summary In your bpmn file, create a userTask that loads a duplicate of your form (duplicate meaning copy the type in your model with a different name). Use...
Solr search engine which was introduced in alfresco had issue with it's certificate validity date, So all alfresco 4.0.x version has this issue which cause breaking of solr search. To fix that you need to follow steps mentioned in this forum post. https://forums.alfresco.com/forum/announcements/important-ssl-certs-solr-alfresco-4-expire-week-08152012-1307...
active-directory,alfresco,alfresco-share
This example from the 5.0 documentation should get you going. PS: The Admin Console is Enterprise Edition only....
Using config.scoped["all"]["SiteName"] gives you the sort object as result, which should be composed by two entries. Since accessing configuration is performed using the same techniques and syntax as any other model data, you should access the two distinct elements like this: var sortObj = config.scoped["all"]["SiteName"]; var msgVal0 = sortObj[0].msgVal; var...
Finally, I resolve my questions using other RESTful URL. So, the steps to retrieve a content of a workflow is the next: 1. I get the package ID (this is a folder node) of the task of workflow: GET /alfresco/service/api/task-instances/activiti$taskID { "data": { "id": "activiti$taskID", "url": "api\/task-instances\/activiti$taskID", "name": "wf:taskName", "title":...
Eeuh that's just a div in the control field for all the date fields. Take a look at alfresco/site-webscripts/org/alfresco/components/form/controls/date.ftl The message you see is in this div: <div class="format-info"> <span class="date-format">${msg("form.control.date-picker.display.date.format")}</span> <#if showTime><span class="time-format<#if disabled>-disabled</#if>">${msg("form.control.date-picker.display.time.format")}</span></#if> </div> So you want a string, just...
You were using an unsupported Maven version (in fact the Alfresco SDK 2.0.0 requires Maven 3.2.5 and above, see http://docs.alfresco.com/sdk2.0/tasks/alfresco-sdk-install-maven.html). This explains why you are seeing this problem which instead does not exist in properly tested configurations. Will close the related https://github.com/Alfresco/alfresco-sdk/issues/265 as well....
To change the email template(s) for all notifications: wf-email.html.ftl located in Data dictionary/Email templates/Workflow notification Change the following html snippet: <a href="${shareUrl}/page/task-details?taskId=${args.workflowId}">${shareUrl}/page/task-details?taskId=${args.workflowId}</a> Into <a href="${shareUrl}/page/task-edit?taskId=${args.workflowId}">${shareUrl}/page/task-edit?taskId=${args.workflowId}</a> If you're using your own notification mechanism, then create a new email template based on...
java,workflow,alfresco,alfresco-share
I'm back with a solution even if I'm not sure if it's the best. Any way that solved my problem. I modified the method ObjectRenderer_renderCellAdd of object-finder.js to check if the user is the document coordinator and if there is no other active workflow linked to the document. Instead of...
Finally i resolved the issue by calling the login page url http://ip:port/share/page/ via Curl with login parameters(username and pwd)...I got JsessionId as response from curl...Now i took that JsessionId and set inside the browser...so wen u click http://ip:port/share/page/ the login page is bypassed
alfresco,standards-compliance,cmis
No, it is not OK in regard to the CMIS specification. All requests to http://server/alfresco/api/-default-/public/cmis/versions/1.1/atom/changes MUST return a token when ChangeLog is enabled. From the CMIS 1.1 specification: 2.1.15.3 "Latest Change Token" repository information Repositories that support the changeLogToken event MUST expose the latest change log token (i.e. the change...
Using the fme JavaScript console, I've found a way to solve the problem. It is possible to disable behaviours on a node, include the behaviour that checks for the node being locked. Inside the JavaScript console, this code does what I want: var node = search.findNode(nodeRef); var ctx = Packages.org.springframework.web.context.ContextLoader.getCurrentWebApplicationContext();...
Assuming you already have the external amps available to maven (either because their're on Maven Central repo or because they're installed locally), you simply add the external amps as dependencies in your amp project. E.g.: <dependency> <groupId>org.sharextras</groupId> <artifactId>javascript-console-repo</artifactId> <version>0.6.0</version> <type>amp</type> </dependency> You also must configure the maven dependency plugin. You...
tomcat,alfresco,runtimeexception
reinstalling alrfesco solved the problem
javascript,workflow,task,alfresco,alfresco-share
You might want to drill in to the repository web scripts that do this to see how they work. For example, look at this: http://localhost:8080/alfresco/s/api/workflow-instances?initiator=admin&exclude=jbpm$wcmwf:*,jbpm$wf:articleapproval,activiti$publishWebContent,jbpm$publishWebContent,jbpm$inwf:invitation-nominated,jbpm$imwf:invitation-moderated,activiti$activitiInvitationModerated,activiti$activitiInvitationNominated&skipCount=0&maxItems=50&pooledTasks=false&state=COMPLETED That's what the "Workflows...
There are some properties which you need to set while credating rule.Explanation of those properties are as below. 1.When the rules will be triggered: - Items are created or enter this folder - Items are update - Items are deleted or leave this folder 2.criteria for the rule to be...
I don't think its possible to search files or folders in all existing alfresco tenants.As far as I know tenants are designed for hiding visibility of document from one to another tenants.That is the main purpose for which tenant were introduced. So that single alfresco instance can be used for...
eclipse,alfresco,alfresco-share
If you want to do this thing in eclipse below blow will help you in that case. Details are on middle of blog. http://axel-faust.de/?cat=3&lang=en There is also debugger available in alfresco and share ,in webscript servuce page. You will also find option for same in below url. http://localhost:8080/alfresco/service/index Click Refresh...
I'm not sure why it's not giving an error on start-up. But in Alfresco a property must be unique in it's model. So your my:companyId is used twice in different aspects. The best practice is to create 1 aspect called my:company which has a property my:companyId. You can just define...
Ok, I have found the solution by myself. I hope this helps someone. var docXml = new XML(document.content); document.name = docXml.phoneEntry.name; ...
We can add form by editing below file in alfresco share share-config-custom.xml. Do not touch any other file. This file should be placed inside {tomcat}\shared\classes\alfresco\web-extension folder. For adding field in alfresco share form you should know below thing. 1.There is one condition attribute in config element of alfresco share form,...
Many peoples are making mistakes like this.So for people like that.Please keep in mind that Most of the CMS are extendable without editing source code....
search,share,alfresco,faceted-search
Well I finally solve the problem. Just for clarification: I had a requirement to use 5.0.a version in which there is no Search Manager page. The solution which I used is a bit dirty, but it worked. I just overwrite the faceted-search.get.js and changed the facets array by adding my...
You can simply ommit the corresponding propertyValue. For example, if you only set this: postParameters.Add("propertyId[0]", "mycustomdatetimeproperty"); But don't set a respective propertyValue[0], the value will be set to null....
There are 3 values which can be specified in family tag of dashlet in Descriptor file. 1.<family>site-dashlet</family> - Dashlet will be visible on site dashboard only. 2.<family>user-dashlet</family> - Dashlet will be visible in user dashboard only. 3.<family>dashlet</family> - It will be visible in both the dashboard....
Luckily I have code for file upload thorugh JAVA backed webscript. Hope this help you too.To create java backed webscript see this Create one class named CustomFileUpload.java and put following content package com.upload; import org.springframework.extensions.webscripts.Cache; import org.springframework.extensions.webscripts.DeclarativeWebScript; import org.springframework.extensions.webscripts.Status; import org.springframework.extensions.webscripts.WebScriptRequest; import java.io.File; import java.io.IOException; import...
The locations you're mentioning seem to be taken from the Alfresco Repository extensions - logging guide, and not the Alfresco Share extensions section, which is why they're not working As far as I can check/remember, Share doesn't actually have (out of the box) a context file defining extensions/modules log4j files...
alfresco,alfresco-share,advanced-search
The share config isn't correct. Take a look at https://wiki.alfresco.com/wiki/Share_Advanced_Search#Search_Forms You need to change the model-type of cm:content form id="search" with the aspect fields. I'm on the phone so the answer maybe short. --UPDATE-- You can't select an Aspect in the drop-down in the Advanced Search, the current implementation of...
java,spring,concurrency,spring-security,alfresco
Because the SecurityContext is hold by SecurityContextHolder in a ThreadLocal Variable (the default strategy) thus the current thread, you need to pass the SecurityContext to the Callable because it's running in a different thread and then inject it to it's own ThreadLocal in SecurityContextHolder. I hope this solution applies to...
Your problem is that you're using a tutorial written for Alfresco 4.0 or 4.1 on a 5.x install On Alfresco 4.x, the URL you mention http://127.0.0.1:8080/alfresco/api points to the Alfresco Web Services Endpoint. On Alfresco 5, that endpoint URL has changed, to make way for the new RESTful public API....
Update your process defination with below code. var dest = companyhome.childByNamePath("Sites/main/documentLibrary/Execut"); for (var i = 0; i < bpm_package.children.length; i++) { bpm_package.children[i].move(dest); } You are using wrong path.Path for site is Sites/main/documentLibrary/Execut and not site/main/documentLibrary/Execut...
In JavaScript: appUtils.toJSON(node, true); The boolean true/false is for using short Qnames. Here is some info about it....
you can use fileFolderService to move any document.There is method in fileFolderService called move.You can fine more on this on below link. http://dev.alfresco.com/resource/docs/java/org/alfresco/service/cmr/model/FileFolderService.html For using filefolderService you need to inject that service.Ig you are using javabackend webscript you can do it like below in any context file. <bean id="webscript.{Path}.get" class="com.yaskawa.api.WebScript"...
api,rest,alfresco,alfresco-share
Yes, you have to create a module with model and custom aspects or types that will hold the custom metadata. Then you will upload the file and set properties using alfresco rest webscripts. For adding aspects you can use this webscript ...alfresco/s/script/org/alfresco/slingshot/documentlibrary/action/aspects.post If you do not want two http request(upload...
copy /alfresco/templates/webscripts/org/alfresco/repository/forms/pickerresults.lib.ftl to the extension folder and change the following loop <#list results as row> { "type": "${row.item.typeShort}", "parentType": "${row.item.parentTypeShort!""}", "isContainer": ${row.item.isContainer?string}, "name": "${row.item.properties.name!""}", "title": "${row.item.properties.title!""}", "description": "${row.item.properties.description!""}", <#if row.item.properties.modified??>"modified":...
javascript,dictionary,alfresco
An Alfresco model can contain 0 or more types, along with other things like constraints, aspects etc. You can read more about content modelling in the Alfresco documentation on the subject As such, when you're creating a type, or setting a type onto a datalist, you need to use type's...
alfresco,alfresco-share,reset-password
The plugin which you are using is not designed for the latest version or version which you are using.There are some files which are changed in alfresco version 4.2f.I have designed new solution which is compatible with your version.There may be some designing issue, but you can change it in...
Yes, according to the documentation here When modifying access control, do not try to split ReadProperties and ReadContent. This does not make sense for search. A node and all of its properties, including content, are indexed as one entity. Splitting the evaluation of access for content and properties is not...
No, Alfresco ist not a JSON DB (Anti-Pattern #4), the text is just indexed as full text. You'll have to use properties (-> Alfresco Content Model) to be able to query for your fields.
You can use the very simple library Requests. import json import requests url = "http://localhost:8080/alfresco/service/api/upload" auth = ("admin", "admin") files = {"filedata": open("/tmp/foo.txt", "rb")} data = {"siteid": "test", "containerid": "documentLibrary"} r = requests.post(url, files=files, data=data, auth=auth) print(r.status_code) print(json.loads(r.text)) Output: 200 {'fileName': 'foo.txt', 'nodeRef': 'workspace://SpacesStore/37a96447-44b0-4aaa-b6ff-98dae1f12a73', 'status': {'code': 200, 'description': 'File uploaded...
Below is the code snippet which is working for me for using variable in next task. <startEvent id="startevent2" name="Start" activiti:initiator="${initiator.properties.userName}" activiti:formKey="aw:TransportManager"> <extensionElements> <activiti:executionListener event="complete" class="org.alfresco.repo.workflow.activiti.tasklistener.ScriptTaskListener"> <activiti:field name="script"> <activiti:string> <![CDATA[ execution.setVariable('aw_vehicle_number',...
Well, the answer is a little ugly, but hopefully this helps someone... A good way to look up the NodeRef using an 'opaque' objectId should be to use CMISServices, obtained from the registry in your java backed web script, i.e. docRef = registry.getCMISService().getLatestVersion(docIdStr, false); Unfortunately, there's a bug in the...
First Question Will be ,Why you would like to compile alfresco source code?Are you aware that We can do many customization without customizing alfresco source code. Above was only for your information. First try to compile it without using eclipse.Due to that you are facing error. If still problem persist,...
This is the issue because, tomcat instance has no xalan.jar file in class path. And this should be the content of solr.xml <?xml version="1.0" encoding="utf-8"?> <Context docBase="D:/alfresco/alf_data/solr/apache-solr-1.4.1.war" debug="0" crossContext="true"> <Environment name="solr/home" type="java.lang.String" value="D:/alfresco/alf_data/solr" override="true"/> </Context> ...
java,ocr,alfresco,command-line-tool
You need to use the ContentService, specifically getReader(NodeRef,QName) then getContent(File) to a temporary file Your code would then be something like File tmp = File.createTempFile("for-ocr",".tmp"); ContentReader reader = contentService.getReader(nodeRef, ContentModel.PROP_CONTENT); reader.getContent(tmp); // Run the OCR program here tmp.delete(); ...
Webscripts are a nice way to build your own API but in this case you should be fine with the buildin API that Alfresco provides you OOTB. You can fetch all folders/documents using the REST APIs getDescendants call. Please see the API spec for the exact details: https://wiki.alfresco.com/wiki/Repository_RESTful_API_Reference#Retrieve_tree_of_descendants_.28getDescendants.29 It returns...
The restful API docs are at http://your-alfresco-server:8080/alfresco/service/index/uri/api/upload.
lucene,alfresco,folder-structure
It is not recommended to have 5000 subfolders under one root folder.It will impact your performance very badley. You need to divide repository based on some logic structure in such a way that you could minimize the number of subfolders at each level. Logical group based on some criteria which...
Found the answer by using the parent methods instead var primaryParent = document.parent; var parents = document.parents; for(var parent in parents){ if(parents[parent].nodeRef + "" !== primaryParent.nodeRef + ""){ parents[parent].removeAssociation(document, "cm:contains"); parents[parent].removeNode(document); } } ...
By default the time before content is deleted is set to 14 days. You can set the value of 'protectDays' in your alfresco-global.properties: system.content.orphanProtectDays=2 Note - Don't set this to 0, it causes other issues....
You can use this to check existing datalist item. var opportunity = orpList .childByNamePath(execution.getVariable("orpWorkflow_nodeName")); // If the data list Item is not been created yet, create it if (!opportunity ) { var orpList = orpList .createNode(execution.getVariable("orpWorkflow_nodeName"),"dl:dataList");} ...
First thing ,which you need to consider is your alfresco version, as in the latest version of alfresco there are many changes.We should always put alfresco version in question. In alfresco version 4 or in nearer version you can consider below. Major code changes will be in Alfresco.component.DataList object(Component) of...
Not quite understandning what you are after here, I however think this is possible (not sure why anyone would like to do it though.) You write your own class extending the BaseTemplateProcessorExtension, in that class you could write a method performing the stuff you want. public class MyTemplateProcessorExtension extends BaseTemplateProcessorExtension...
alfresco,alfresco-share,openam,opensso
The error message is a bit misleading: the Cannot obtain application SSO token in general means that the agent was unable to authenticate itself. When you install the agent, the agent asks for a profile name and a password file, those values need to correspond to the agent profile configured...
There are 2 approach using which we can deploy webscript in alfresco. 1.Placing webscript inside DataDictionary 2.Placing webscript inside extension folder In case of your code you are placing files in wrong folder.Below are correct location for each deployment approach. Location for Data Dictionary /Data Dictionary/Web Scripts/org/alfresco Location for extension...
Your share-config-custom is incorrect. Below is full xml. <!-- Global config section --> <config replace="true"> <flags> <!-- Developer debugging setting to turn on DEBUG mode for client scripts in the browser --> <client-debug>false</client-debug> <!-- LOGGING can always be toggled at runtime when in DEBUG mode (Ctrl, Ctrl, Shift, Shift). This...
May be below can help Inbound email service The inbound email service deals with incomming email messages. email.inbound.enabled=true Enable/Disable the inbound email service. The service could be used by processes other than the Email Server (e.g. direct RMI access) so this flag is independent of the Email Service. email.inbound.unknownUser=anonymous The...
Permissions are stored in the DB but also indexed into SOLR to filter search results by permissions without DB access. I guess you're looking for bean PermissionService interface org.alfresco.service.cmr.security.PermissionService: Get all the AccessPermissions that are set for anyone for the given node: public Set<AccessPermission> getAllSetPermissions(NodeRef nodeRef); Get all the AccessPermissions...
alfresco,alfresco-share,web-scripting
You most likely derived your class from DeclarativeWebScript which extends AbstractWebScript and adds the template processing. Make sure to derive your class from the latter.
It is the authentication.chain property which defines , from where we are fetching property file. Below URL is description of that. alfresco/extension/subsystems/Authentication/alfrescoNtlm/alfrescoNtlm1/mychanges.properties If you have noticed that alfrescoNtlm1 folder than,this folder name must match with the property value ldap1:ldap1,alfrescoNtlm1:alfrescoNtlm.(See Italic text) In case of context file you can define context...
alfresco,conflict,alfresco-share,file-sharing
Alfresco can be divided in two areas, filesystem and DB holding metadata. From the filesystem point of view I cannot imagine how an index could cope with two applications writing on it concurrently. Also, I don't think alfresco can lock filesystem element while accessing it. From the database point of...
Activiti does not use the "activiti$" prefix, it's just used by Alfresco APIs. When using the TaskService createAttachment please use Attachment attachment = taskService.createAttachment("url", null, "401", name, "", url); and not activiti$401
Using NotificationFrequency you can decide when the behavior should be invoked by specifying the appropriate NotificationFrequency. NotificationFrequency.EVERY_EVENT *This will be called every time when event is occurred.* NotificationFrequency.FIRST_EVENT *This will be called only once.* NotificationFrequency.TRANSACTION_COMMIT *This will be called when transaction is committed.* You will get more idea when you read content of below link.Also read the comment of Axel Faust....
Changing existing date.ftl is not advisable.Instead of that you should create your own date control(you need to create both ftl and as well as javascript file),In that you need to change below things. Change in tomcat\webapps\share\components\form\date-picker.js file(this should be file which you have created for your custom control).In onReady() function...
I have worked with WCMQS (Quick Start) with Alfresco 4.2, so my experience is not covering Alfresco 5.x. Correct me if I am wrong, if you talk about replacing the WCM, it means you are interested in building a static web site. Altough wcmqs is a good product, I found...
maven,ant,alfresco,alfresco-share
That totally depends on the ant build setup. But one good guess is that you will have to put the files residing in the "Alfresco" folder of your old project into different subfolders of the repo-amp, and the same way around with the "Share" folder. Most files will go into...
java,admin,alfresco,backend,runas
To detail the answer from Krutik, you should wrap code in a runAsSystem block like this: final permissionService = serviceRegistry.getPermissionService(); //Read the username of the current user final String loggedInUser = authenticationService.getCurrentUserName(); ChildAssociationRef childAssociationRef = nodeService.getPrimaryParent(actionedUponNodeRef); //Get the parent NodeRef NodeRef parent = childAssociationRef.getParentRef(); String fileName = (String) nodeService.getProperty(parent, ContentModel.PROP_NAME);...
jquery,ajax,json,alfresco,payload
I think it depends on the Content-Type header of the request; if the content type is "application/x-www-form-urlencoded" then it is shown under form data. If you put - for example - Content-Type: application/json the json should be part of the payload. You can use: $.ajax({ url: serviceUrl, type: "POST", dataType:...
php,alfresco,cmis,ecm,apache-chemistry
You need to write a proxy that will fetch the content stream on the user's behalf using the existing CMIS session, then stream it back to the client making the request. Jeff...
workflow,filenames,alfresco,business-process
I am find own solution this issue. Need to create execution listener in user task. Its code is: <extensionElements> <activiti:executionListener class="org.alfresco.repo.workflow.activiti.listener.ScriptExecutionListener" event="start"> <activiti:field name="script"> <activiti:string><![CDATA[ if (typeof execution.getVariableLocal('zvernennya_registrationnumber') != undefined) execution.setVariable('zvernennya_registrationnumber', execution.getVariableLocal('zvernennya_registrationnumber')); if (typeof...
This is the curl command I use to generate sites programatically. I insert the JSESSIONID, LOGINCOOKIECONTENTS and CSRFTOKEN (twice) contents manually, but getting them programatically should work. curl 'http://localhost:8081/share/service/modules/create-site' -H 'Cookie: JSESSIONID={JSESSIONID}; alfLogin={LOGINCOOKIECONTENTS}; alfUsername3=admin; Alfresco-CSRFToken={CSRFTOKEN};' -H 'Origin: http://localhost:8081' -H 'Accept-Encoding: gzip,deflate,sdch' -H 'Accept-Language: en-US,en;q=0.8' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac...
alfresco,cmis,aspect,custom-type
It seems the warning is just that, it can be ignored. But using CMIS 1.1, I have to do two steps to add in the extra properties from the custom aspect. (Trying to do it in one step gives the error "Type 'P:cmod:customDoc' is unknown!") First createDocument() with the cmis:secondaryObjectTypeIds...
javascript,alfresco,ecm,web-scripting
As stated here Alfresco Javascript API The Alfresco JavaScript API allows script writers to develop JavaScript (ECMA Script) 1.7 compatible files that access, modify, and create Alfresco repository objects. This means you are able to extend and create new webscripts to interact with the Alfresco plaform. Moreover it provides some...
The variable which you are passing is defined in FTL file,which(FTL file) is referenced from share-config-custom.xml. Lets have deeper look. share-config-custom.xml Here Where we are declaring control parameter. <field-visibility> <show id="fieldName"/> </field-visibility> <appearance> <field id="fieldName" label="Name of Field"> <control template="/path/to/ftl/textarea.ftl" /> <control-param name="helpText">Description of field</control-param> </control> </field>...
Yes this is possible. Regarding how you can do this,You can do this by defining custom action and calling it from alfresco javascript,which you will write in workflow. How you can define custom action ,that you can find from below link. https://wiki.alfresco.com/wiki/Custom_Actions In case of how you can call custom...
maven,dependencies,alfresco,activiti
The org.alfresco.repo.workflow.activiti.tasklistener.ScriptTaskListener class is contained in the following artifact: org.alfresco:org.alfresco-repository. It is not available in maven central, but instead it can be found in the following repository: https://maven.alfresco.com/nexus/content/groups/public/ So in your pom you would need to add the following: <project> ... <repositories> ... <!-- define the alfresco maven repository -->...
search,solr,share,alfresco,faceted-search
I raised an issue ALF-21249 And also found a workaround, which is a bit dirty, but works well. Let's say you have a property with name ccm:property which has type d:mltext and you want to have facet for this property in English and French. Define an aspect with two d:text...
layout,alfresco,datalist,alfresco-share
You are entering wrong condition in <config> tag. Below <config evaluator="model-type" condition="orpdl:orpDataListModel"> should replace with <config evaluator="model-type" condition="orpdl:issuesList"> This will also apply to node-type. ...
You just have to add : force="true" on aspect based property.See below code. <show id="ed:documentRegnum" force="true" /> ...
Based on the other anwsers I created this query: SELECT string_value AS document_name, audit_created AS creation_date FROM alf_node node INNER JOIN alf_node_properties ON (id=node_id) INNER JOIN alf_qname ON (qname_id=alf_qname.id) WHERE ns_id IN (SELECT ns.id FROM alf_namespace AS ns WHERE ns.uri='http://www.alfresco.org/model/content/1.0') AND local_name='name' AND audit_creator = 'admin' AND audit_created > '2015-05-06'...
integration,ocr,alfresco,tesseract,alfresco-share
you can use another tool which is directly performing pdf to searchable pdf conversion.This tool is using tesseract internally for this conversion.You can find more details on below link and configure same for alfresco. http://ubuntuforums.org/showthread.php?t=1456756 command pdfocr -i input.pdf -o output.pdf...
There isn't a service on the Share side which provides that information, because the information you want is only held on the repository. As such, you'll need to call one of the REST APIs on the Repo to get the information you need Your code would want to look something...
There is a file in below location "tomcat/shared/classes/alfresco-global.properties" Which contains details regarding alfresco host and port configuration. If changing that does not work.You will have firewall enabled in server....
You can achieve this by defining a new aspect that extends cm:indexControl like so: <aspect name="my:doNotIndexContentControl"> <title>Do Not Index Control</title> <parent>cm:indexControl</parent> <overrides> <property name="cm:isIndexed"> <default>true</default> </property> <property name="cm:isContentIndexed"> <default>false</default> </property> </overrides> </aspect> Note the overrides. The overridden property, cm:isContentIndexed,...
Try this may this works for you new Alfresco.widget.DashletTitleBarActions("${id}").setOptions( { actions: [ { cssClass: "help", bubbleOnClick: { message: "Information about dashlet" }, tooltip: "Display help for this dashlet" } ] }); Also add <#assign id = args.htmlid?js_string> at start of your ftl or change "${id}" to "${args.htmlid}" in above code....
The following should work: jodconverter.enabled=false jodconverter.officeHome=null jodconverter.portNumbers=8100 The configuration file: tomcat\shared\classes\alfresco-global.properties...
For this NodeRef workspace://SpacesStore/7f77488a-60a0-48c3-9369-77183ccad0d2 Values for parameter will be as follow {property} : content {store_type} :Workspace {store_id}:spaceStore {id}:7f77488a-60a0-48c3-9369-77183ccad0d2 Details related to each parameter is already specified by Krutik. And you should use this download url. /alfresco/d/<d|a>/<workspace>/<store>/<nodeId>/<filename> where d=direct and a=attached The 'attach' or 'direct' element is used to indicate whether...