tag:blogger.com,1999:blog-930701489422940227.comments2024-03-08T04:36:34.741-05:00Technical Tips & TricksAnonymoushttp://www.blogger.com/profile/12082457929047237520noreply@blogger.comBlogger21125tag:blogger.com,1999:blog-930701489422940227.post-45948764264835085902018-05-23T21:28:13.959-04:002018-05-23T21:28:13.959-04:00This is great, thank you! Question - Instead of ha...This is great, thank you! Question - Instead of having a filter on the department aspect for engineering, can we have a search field that only search the fsrch:department aspect that we can manually enter Engineering?Anonymoushttps://www.blogger.com/profile/08532306114305752070noreply@blogger.comtag:blogger.com,1999:blog-930701489422940227.post-89625701892835626542018-05-08T08:01:32.086-04:002018-05-08T08:01:32.086-04:00Using ACP import/export, how can you monitor progr...Using ACP import/export, how can you monitor progress of the import/export to know it is working? With larger ACP files it is not the fastest process.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-930701489422940227.post-89573409384236711422017-11-27T08:09:54.376-05:002017-11-27T08:09:54.376-05:00Among the posts I've seen, this is the most us...Among the posts I've seen, this is the most useful post about Alfresco Filtered Search, and I appreciate your efforts, thank you so much.Patrick Dillardhttp://loganwinson.doodlekit.com/blog/entry/4249216/top-things-to-know-about-alfresco-developmentnoreply@blogger.comtag:blogger.com,1999:blog-930701489422940227.post-3534513616421528122017-11-14T04:59:06.671-05:002017-11-14T04:59:06.671-05:00Neat Explanation and aslo try to explain SSO with ...Neat Explanation and aslo try to explain SSO with alfresco by using any of tools(Access documents through 3rd applications.)Anonymoushttps://www.blogger.com/profile/08036357471689936235noreply@blogger.comtag:blogger.com,1999:blog-930701489422940227.post-43473348655085911072017-11-10T05:42:02.554-05:002017-11-10T05:42:02.554-05:00Many thanks
Work perfectly in the admin console. I...Many thanks<br />Work perfectly in the admin console. In this console you can use the "space" variable like this : exportAction.parameters['destination'] = space; if you want to write the acp in another folder than companyhome<br /><br />Xavhttps://www.blogger.com/profile/06075655494402795973noreply@blogger.comtag:blogger.com,1999:blog-930701489422940227.post-8169754432605224842017-08-03T06:01:22.921-04:002017-08-03T06:01:22.921-04:00I like the helpful info you provide in your articl...I like the helpful info you provide in your articles. I will bookmark your blog and check again here regularly. I'm quite certain I will learn many new stuff right here! Best of luck for the next!<br /><a href="http://www.webwingtechnologies.com/landing-page-design.html" rel="nofollow"> Landing Page Design and Optimization </a>*<a href="http://www.webwingtechnologies.com/website-design.html" rel="nofollow"> best web design services </a><br />Julie taylorhttps://www.blogger.com/profile/08643085335001850710noreply@blogger.comtag:blogger.com,1999:blog-930701489422940227.post-82930189970748073302017-07-20T05:32:33.671-04:002017-07-20T05:32:33.671-04:00ALL the tips are useful and carry an equal importa...ALL the tips are useful and carry an equal importance and I am totally satisfied with your tips and you have shared this blog for the good work.Cad Modellinghttp://www.3dhub.co.nz/noreply@blogger.comtag:blogger.com,1999:blog-930701489422940227.post-20371368178233202032017-07-13T04:55:12.239-04:002017-07-13T04:55:12.239-04:00That's a good question.
It doesn't look li...That's a good question.<br />It doesn't look like it is possible to select the current user with the GUI available from the "send menu" picker.<br />An alternative is to instead of using "send email", to select "execute script".<br /><br />Create a script in the Data Dictionary > Scripts folder.<br />Make sure you set the mimetype for the script to Javascript (via Edit Properties) and also set a title for the script.<br /><br />The contents of the script can be as follows.<br />Note that the person object should correspond to the current user.<br /><br />var mail = actions.create("mail"); <br />mail.parameters.to = person.properties["email"]; <br />mail.parameters.subject = "Hello from JavaScript"; <br />mail.parameters.from = person.properties["email"]; <br />mail.parameters.template = companyhome.childByNamePath<br />("Data Dictionary/Email Templates/notify_user_email.ftl"); <br />mail.parameters.text = "some text, in case template is not found"; <br />mail.execute(document);Dick Weisingerhttps://www.blogger.com/profile/11465621138093053250noreply@blogger.comtag:blogger.com,1999:blog-930701489422940227.post-29563763375063607602017-07-13T04:54:35.655-04:002017-07-13T04:54:35.655-04:00The escaping of your quotes at the end of the sear...The escaping of your quotes at the end of the search expression don't seem to be right. The following worked OK for me:<br /><br />var doc = search.luceneSearch("TYPE:\"{http://www.alfresco.org/model/content/1.0}folder\" AND PATH:\"/app:company_home//cm:logs\"");<br />Dick Weisingerhttps://www.blogger.com/profile/11465621138093053250noreply@blogger.comtag:blogger.com,1999:blog-930701489422940227.post-58052180145611552252017-07-12T06:24:24.763-04:002017-07-12T06:24:24.763-04:00Hi, I wrote:
exportAction.parameters['destinat...Hi, I wrote:<br />exportAction.parameters['destination'] = search.luceneSearch("TYPE:\"{http://www.alfresco.org/model/content/1.0}folder\" AND PATH:\"/app:company_home//cm:logs");<br /><br />and the error is:<br /> ReferenceError: "logs" is not defined. (workspace://SpacesStore/45d5f44a-390f-45b5-9f7e-52fe767f207a#12<br /><br />any idea?<br /><br />Thnks!Anonymoushttps://www.blogger.com/profile/04937040031845492875noreply@blogger.comtag:blogger.com,1999:blog-930701489422940227.post-12354220720668435742017-05-23T20:30:24.877-04:002017-05-23T20:30:24.877-04:00The "Enhanced Search" option will be ava...The "Enhanced Search" option will be available for non-text data types which include int, long, float, double, date, datetime.<br />Change the data type to one of those and the "Enhanced Search" option should become available.Dick Weisingerhttps://www.blogger.com/profile/11465621138093053250noreply@blogger.comtag:blogger.com,1999:blog-930701489422940227.post-171762352962617642017-05-18T20:34:25.908-04:002017-05-18T20:34:25.908-04:00Hi, thanks for this great tutorial. But the "...Hi, thanks for this great tutorial. But the "Enhanced Search" indexing option is not available on my current Alfresco 5.2 CE. How to make my custom properties able to show on adv search?<br /><br />Thanks,Anonymoushttps://www.blogger.com/profile/00311478056584220184noreply@blogger.comtag:blogger.com,1999:blog-930701489422940227.post-77541443750507261112016-12-20T12:45:41.485-05:002016-12-20T12:45:41.485-05:00Hi Camilo,
I haven't seen that error before. ...Hi Camilo,<br /><br />I haven't seen that error before. Looking at it, it seems to be coming from MySQL. It is likely happening because of non-English characters stored with your content.<br /><br />I found a suggestion here: http://stackoverflow.com/questions/1008287/illegal-mix-of-collations-mysql-error<br /><br />I would suggest that you review that article.<br />Based on the discussion there and if it makes sense, you might try to do a backup of your database and then attempt the following:<br /><br />SET collation_connection = 'utf8_general_ci'<br /><br />then for your databases:<br /><br />ALTER DATABASE alfresco CHARACTER SET utf8 COLLATE utf8_general_ci<br /><br />ALTER TABLE alf_child_assoc CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci<br /><br />ALTER TABLE alf_node CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci<br /><br />ALTER TABLE alf_store CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci<br />Dick Weisingerhttps://www.blogger.com/profile/11465621138093053250noreply@blogger.comtag:blogger.com,1999:blog-930701489422940227.post-69643868013814651592016-12-20T10:56:24.076-05:002016-12-20T10:56:24.076-05:00hi,
great post,
i run the first script in alfresc...hi, <br />great post,<br />i run the first script in alfresco comunnity edicion 201609 and givme this error.<br /><br />500 Internal Error<br />Stacktrace-Details:<br />org.springframework.extensions.webscripts.WebScriptException: 11200270 Wrapped Exception (with status template): 11200298 Failed to execute script 'Javascript Console Script': <br />### Error querying database. Cause: java.sql.SQLException: Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '='<br />### The error may exist in alfresco/ibatis/#resource.dialect#/node-common-SqlMap.xml<br />### The error may involve alfresco.node.select_ChildAssocOfParentByName-Inline<br />### The error occurred while setting parameters<br />### SQL: select assoc.id as id, parentNode.id as parentNodeId, parentNode.version as parentNodeVersion, parentStore.protocol as parentNodeProtocol, parentStore.identifier as parentNodeIdentifier, parentNode.uuid as parentNodeUuid, childNode.id as childNodeId, childNode.version as childNodeVersion, childStore.protocol as childNodeProtocol, childStore.identifier as childNodeIdentifier, childNode.uuid as childNodeUuid, assoc.type_qname_id as type_qname_id, assoc.child_node_name_crc as child_node_name_crc, assoc.child_node_name as child_node_name, assoc.qname_ns_id as qname_ns_id, assoc.qname_localname as qname_localname, assoc.is_primary as is_primary, assoc.assoc_index as assoc_index from alf_child_assoc assoc join alf_node parentNode on (parentNode.id = assoc.parent_node_id) join alf_store parentStore on (parentStore.id = parentNode.store_id) join alf_node childNode on (childNode.id = assoc.child_node_id) left join alf_store childStore on (childStore.id = childNode.store_id) where parentNode.id = ? and assoc.type_qname_id = ? and assoc.child_node_name = ? and assoc.child_node_name_crc = ?<br />### Cause: java.sql.SQLException: Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '='<br /><br />What could be the error and the fault, thanks for the helpcamilohttps://www.blogger.com/profile/12110969008898308133noreply@blogger.comtag:blogger.com,1999:blog-930701489422940227.post-53149289789671537702016-11-30T19:05:13.413-05:002016-11-30T19:05:13.413-05:00Hi Dick,
Thanks for writing this blog. I have no...Hi Dick,<br /><br />Thanks for writing this blog. I have no idea why Alfresco took the acp export out of share, it was a very important feature when developing apps. I did not realise that you could run the js code to do this so this info will come in very handy.<br /><br />Regards<br /><br />Brian O'Neill (Seed IM)Anonymoushttps://www.blogger.com/profile/18250576530150296506noreply@blogger.comtag:blogger.com,1999:blog-930701489422940227.post-17725591477811045922016-11-24T10:14:15.221-05:002016-11-24T10:14:15.221-05:00Thank you very much Dick for your answer:
I final...Thank you very much Dick for your answer:<br /><br />I finally found the problem. I had an AMP module with an older version of common-compress between its dependencies, so two different versions of the same library were loaded in WEB-INF/lib. The older version did not have this class. Once deleted this wrong lib, all worked fine.<br /><br />Regards.<br /><br />--C.Cesar Capillashttp://www.zylk.netnoreply@blogger.comtag:blogger.com,1999:blog-930701489422940227.post-9071075217734123872016-11-18T14:26:14.597-05:002016-11-18T14:26:14.597-05:00Hi Cesar,
I suspect that something is wrong with ...Hi Cesar,<br /><br />I suspect that something is wrong with your install.<br />Did you install from a standard Alfresco stack?<br /><br />The error that you report is that it isn't finding a Java class file.<br /><br />The jar file where that file is located is here:<br />alfresco/tomcat/webapps/alfresco/WEB-INF/lib/commons-compress-1.8.jar<br />Check that this file exists.<br /><br />I tried running the code again on an Ubuntu machine using Alfresco 5.0.2.5. Earlier I had used Alfresco 5.1. I also have RM 2.4 installed and the Javascript console. Otherwise, it is a freshly installed system.<br /><br />I copy and pasted the same code listed above and it ran successfully.<br /><br />Try running the code on a system installed from the standard Alfresco stack.<br /><br />That should work -- and then try to see what is different between it and your current install.<br />Dick Weisingerhttps://www.blogger.com/profile/11465621138093053250noreply@blogger.comtag:blogger.com,1999:blog-930701489422940227.post-70269428990047235992016-11-18T05:28:43.019-05:002016-11-18T05:28:43.019-05:00Hi:
I run the first snipplet in JS Console in Alf...Hi:<br /><br />I run the first snipplet in JS Console in Alfresco 5.1.e and Alfresco 5.0.2.5, but I had the following error:<br /><br /><br />Caused by: java.lang.NoSuchMethodError: org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream.setUseZip64(Lorg/apache/commons/compress/archivers/zip/Zip64Mode;)V<br /><br />I did not test the second part. The snipplet would be very useful because, this addon is not working in Alfresco 5, neither. <br /><br />https://addons.alfresco.com/addons/importexport-acpzip-share<br /><br />Regards.<br /><br />--C.Cesar Capillashttp://www.zylk.netnoreply@blogger.comtag:blogger.com,1999:blog-930701489422940227.post-9049912242439605052016-11-01T13:52:19.823-04:002016-11-01T13:52:19.823-04:00The Alfresco Support Tools extension to the Admin ...The Alfresco Support Tools extension to the Admin Console supports JMX reversion as well via the web UI. See https://github.com/Alfresco/alfresco-support-tools for details.Axel Fausthttp://axel-faust.denoreply@blogger.comtag:blogger.com,1999:blog-930701489422940227.post-89740978549721558842016-10-25T01:19:05.066-04:002016-10-25T01:19:05.066-04:00goodgoodAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-930701489422940227.post-22888454446948152502016-09-15T09:00:36.629-04:002016-09-15T09:00:36.629-04:00Thumbnails of .dwg files provided via Formtek'...Thumbnails of .dwg files provided via Formtek's EDM Module.Ed Kayhttp://formtek.com/noreply@blogger.com