Page 1 of 1

[solved] automation rule - no script box

PostPosted:Fri Aug 22, 2014 11:00 am
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!

Re: automation rule - no script box

PostPosted:Sun Aug 24, 2014 8:07 am
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', '', '', '');

Re: automation rule - no script box

PostPosted:Sun Aug 24, 2014 1:33 pm
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!

Re: automation rule - no script box

PostPosted:Sun Aug 24, 2014 4:09 pm
by Fohnbit
OK, i found an update command.

It works now, thank you!