Search found 12 matches

by MohamadAli
Fri Jul 02, 2021 6:47 am
Forum: Installation
Topic: Change Source Code and deploy the app
Replies: 1
Views: 103

Change Source Code and deploy the app

Hello, I have a use case where I need to hide task and process definition tabs from Dashborad->Workflow view. For this, I tried to change the source code, but the changes are not showing on the interface. Here is what Ive done: Using the Openkm dev environment, I made the changes to the following cl...
by MohamadAli
Mon May 31, 2021 10:38 am
Forum: Configuration
Topic: Defining methods in automation script
Replies: 3
Views: 1426

Re: Defining methods in automation script

I ended up creating a workflow, and executing it from automation, and it worked
by MohamadAli
Wed May 05, 2021 10:54 am
Forum: Installation
Topic: Workflow engine and sql server
Replies: 1
Views: 309

Workflow engine and sql server

Hi, Since we migrated from mysql to sql server, workflow engine is acting strangely: I always get the 015006 error code (hibernate commit failed) after a task is done, my queries in workflow are executed twice, and now I cannot access workflow details from admin page and the service (tomcat) is not ...
by MohamadAli
Tue May 04, 2021 11:03 am
Forum: Installation
Topic: Russian language problems
Replies: 1
Views: 249

Russian language problems

Hey, we recently migrated from mysql to sql server DB. When testing the new DB, all russian characters now appear as ???. SQL Sever DB Collation is set to "Latin1_General_100_CI_AS" because when I tried to set it to "Latin1_General_100_CI_AS_UTF8", openkm failed to create databas...
by MohamadAli
Mon May 03, 2021 4:13 am
Forum: Installation
Topic: Cannot access administration tab after changing role.admin.name
Replies: 4
Views: 356

Re: Cannot access administration tab after changing role.admin.name

its working now, I set rolePrefix to "" and admin role name to the full GS-UZA-GS-OpenKM_ADMINS.

Thank you very much :)
by MohamadAli
Wed Apr 28, 2021 9:31 am
Forum: Installation
Topic: Cannot access administration tab after changing role.admin.name
Replies: 4
Views: 356

Re: Cannot access administration tab after changing role.admin.name

This is the error stack when I change admin role name to the new name in appContext and get the error 404 not found: 28-Apr-2021 14:20:48.801 WARNING [localhost-startStop-1] org.springframework.context.support.AbstractApplicationContext.refresh Exception encountered during context initialization - c...
by MohamadAli
Wed Apr 28, 2021 8:47 am
Forum: Installation
Topic: Cannot access administration tab after changing role.admin.name
Replies: 4
Views: 356

Cannot access administration tab after changing role.admin.name

Hey, Today I deleted the OpenKM folder from tomcat/webapps by mistake, then after exploding the .war again, I could access OpenKM as admin, but couldnt access administration tab, when I try to do it, I get the following: Unauthorized access. Openkm was previously connected to AD, and default admin a...
by MohamadAli
Tue Apr 20, 2021 10:11 am
Forum: Configuration
Topic: Defining methods in automation script
Replies: 3
Views: 1426

Defining methods in automation script

Hi, I saw in scripting example ( scripting example ) that we can define a method and call it to recursively traverse a repository. I want to do the same but in automation scripting, however, I get an error that I am calling an undefined method. Is it possible to do such thing in automation? Thanks i...
by MohamadAli
Mon Apr 19, 2021 4:20 am
Forum: Configuration
Topic: "Document create" pre-event automation actions
Replies: 5
Views: 1732

Re: "Document create" pre-event automation actions

thanks for you response. Effectively, this is the behavior that I want: to update the document instead of creating a new one. what I am thinking about it some method to intercept the "create new document" action and call "update document" action. Is this possible from automation ...
by MohamadAli
Thu Apr 08, 2021 6:25 am
Forum: Configuration
Topic: "Document create" pre-event automation actions
Replies: 5
Views: 1732

Re: "Document create" pre-event automation actions

Thanks for your reply. So my script for testing is now the following and it renames the document when its created in openkm import com.openkm.automation.AutomationUtils; env.put(AutomationUtils.DOCUMENT_NAME, "test.docx"); However the problem now is that when the file already exists, I get...
by MohamadAli
Fri Apr 02, 2021 11:00 am
Forum: Configuration
Topic: "Document create" pre-event automation actions
Replies: 5
Views: 1732

"Document create" pre-event automation actions

Hi, The problem I am trying to solve is the following: I have a document named "document.docx" user downloads this document, edits it, then uploads it, this is the base scenario user downloads the same document again, now in windows, the document is renamed to "document (1).docx"...
by MohamadAli
Fri Apr 02, 2021 10:49 am
Forum: Configuration
Topic: Download document from workflow form button
Replies: 1
Views: 530

Download document from workflow form button

Hi, first of all, congrats on this fantastic app! I have a workflow in which: user enters some metadata values a document name is generated from these values user downloads the document with the auto-generated name (we copy a template document and rename it). The issue is that to download the docume...