The purpose of the Workflow JavaScript API is to allow access to Alfresco advanced workflows from within JavaScript. The API supports EMCA Script 1.6 compatible JavaScript. Through this API workflow definitions, instances, paths, tasks and transitions can be accessed and managed.
Friday, March 2, 2012
End old tasks in Alfresco from Admin
I have been working with Alfresco for a while now. It is a very comprehensive tool, but today I need delete old tasks in archive task node.
Wednesday, February 29, 2012
Connect to Remote database through SSH using Port Forwarding with Java
Yesterday I need connect connect our remote MySQL database that was setup on SSH enabled server and query database. Since it was on SSH enabled server, we can’t connect it directly using JDBC connection API.To achieve this, we first need to create SSH session and then using Port Forwarding we can forward the request to server and connect to database. I used JSch. JSch is a pure Java implementation of SSH2.
Monday, February 27, 2012
Setting the background image of an Android TextView
TextView displays text to the user and optionally allows them to edit it. A TextView is a complete text editor, however the basic class is configured to not allow editing; see for a subclass that configures the text view for editing.
In most cases u want add image as textView background. It's so easy. In layout xml file u must write:
In most cases u want add image as textView background. It's so easy. In layout xml file u must write:
Friday, January 27, 2012
Lucene İndex Recovery (Alfresco)
Last week I searched some documents in our DM system. However my program failed to find them. (fts-alfresco)
I remember that in some files has problems and it doesn’t let lucene to create index for those documents. Solution is recovery of index. How to recovery index ???
Step1. Stop Alfresco
Step2. Delete everything under/alf_data/lucene-indexes (don't delete folder)
Delete everything under/alf_data/backup-lucene-indexes (don't delete folder)
Step3. Edit file/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/repository.properties
Set the property index.recovery.mode as follows: index.recovery.mode=FULL
Step4. Start Alfresco see logs, must create index
Step5. Stop Alfresco + change "index.recovery.mode=FULL" to default
Step6. Start Alfresco
I remember that in some files has problems and it doesn’t let lucene to create index for those documents. Solution is recovery of index. How to recovery index ???
Step1. Stop Alfresco
Step2. Delete everything under
Delete everything under
Step3. Edit file
Set the property index.recovery.mode as follows: index.recovery.mode=FULL
Step4. Start Alfresco see logs, must create index
Step5. Stop Alfresco + change "index.recovery.mode=FULL" to default
Thursday, December 29, 2011
Delete alfresco footer and share footer (with community-3.4-share.png)
When using alfresco community your application send request to www.alfresco.com to get community-3.4-share.png file. And if your project works on local domain as our (www.istinadm.loc) then u'll want delete alfresco footer and share footer.
Open your favourite IDE (eclipse:) ) and create alfresco project. In build.xml write jar file name (jar name must begin with "aa" or "aaa" - when tomcat sorts jar files your file must come first). Create class as following:
Open your favourite IDE (eclipse:) ) and create alfresco project. In build.xml write jar file name (jar name must begin with "aa" or "aaa" - when tomcat sorts jar files your file must come first). Create class as following:
Subscribe to:
Posts (Atom)