• [solved] automation rule - no script box

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #29630  by Fohnbit
 
Hello!

In install on Ubuntu 14 x64 the version: 6.3.0 (build: 8150) community edition.

I enable automation rule.
When I now want to set a action (ExecutingScripting) I get the window, but no script box, where I can write the script.
Attached the window.

I´m using as client windows 8.1 with google chrom browser.

Thank you!
Attachments
script.JPG
script.JPG (19.36 KiB) Viewed 2186 times
Last edited by Fohnbit on Sun Aug 24, 2014 4:09 pm, edited 1 time in total.
 #29642  by jllort
 
There's a mistake in documentation, the type "code" was replaced by "textarea". I've updated documentation. The correct inserst should be :
Code: Select all
INSERT INTO OKM_AUTO_METADATA (AMD_AT, AMD_CLASS_NAME, AMD_NAME, AMD_GROUP, AMD_TYPE00, AMD_SRC00, AMD_DESC00, AMD_TYPE01, AMD_SRC01, AMD_DESC01) VALUES ('pre', 'com.openkm.automation.action.ExecuteScripting', 'ExecuteScripting', 'action', 'textarea', '', 'Script', '', '', '');
INSERT INTO OKM_AUTO_METADATA (AMD_AT, AMD_CLASS_NAME, AMD_NAME, AMD_GROUP, AMD_TYPE00, AMD_SRC00, AMD_DESC00, AMD_TYPE01, AMD_SRC01, AMD_DESC01) VALUES ('post', 'com.openkm.automation.action.ExecuteScripting', 'ExecuteScripting', 'action', 'textarea', '', 'Script', '', '', '');
 #29648  by Fohnbit
 
Hello!

Thank you!
But can´t run a second time an insert. Maybe you have an update command?
Or how can I fix it?

Thank you!
 #29654  by Fohnbit
 
OK, i found an update command.

It works now, thank you!

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.