Page 1 of 1
Configuring the new document wizard
PostPosted:Fri Jul 28, 2017 6:53 pm
by dferguson
I wish to use the document wizard to enable keywords, metadata, etc. to be added when a new document is added. I have wizard enabled in the profile configuration for the user in question.
profile config.png (49.35 KiB) Viewed 4968 times
However when a new document is added only 'notify users' and 'import from ZIP' is available.
doc wizard.png (11.02 KiB) Viewed 4968 times
I read up on using the wizard and perhaps if I wanted to add other items to the document wizard I needed to do so through automation. I followed the instructions here
https://docs.openkm.com/kcenter/view/ok ... ation.html to enable the automation (including automation validations and actions). I then went onto create automation.
automation.png (49.61 KiB) Viewed 4968 times
But still the wizard only shows 'notify users' and 'import from zip'.
Am I doing this wrong?
Re: Configuring the new document wizard
PostPosted:Sat Jul 29, 2017 10:22 am
by jllort
When you enable an automation task, automatically the profiles section what refers about wizard has not effect. I think might be a mistake in automation, what event did you registered ( should be "document creation" ) and also I suggest choose at "post" ( pre has not sense, you want to ask for keyword after - post - document creation ).
Add an screenshot with more detail to see the "event" and if you have chosen at "post".
If you do not set any validation then should execute always, might be good idea set "path contains" validation from root, otherwise the wizard might appear also if you create documents in your personal folder, templates etc...
Re: Configuring the new document wizard
PostPosted:Mon Jul 31, 2017 3:07 pm
by dferguson
Rule
rules.png (7.76 KiB) Viewed 4939 times
Validations
automation validation rules.png (19.54 KiB) Viewed 4939 times
Re: Configuring the new document wizard
PostPosted:Wed Aug 02, 2017 10:41 am
by jllort
Use PathContains rather FolderContains, the validation will never be true with your actual configuraton.
Re: Configuring the new document wizard
PostPosted:Fri Aug 04, 2017 4:59 pm
by dferguson
With your suggestions I was able to get the automation rule to work. However I have been trying to get a new automation for when a document gets moved to a specific folder. But can't get it to work.
new rule 1.png (8.26 KiB) Viewed 4910 times
new rule.png (21.89 KiB) Viewed 4910 times
Re: Configuring the new document wizard
PostPosted:Sun Aug 06, 2017 9:58 am
by jllort
The move event implementation in 6.3 takes in consideration the origin folder ( when validate the path you have set there, really is validating origin, not destination ), but not the destination folder. Should create some new Validation for it, the existing ones will not going as you wish.
It's a discussion we have had and what is still not clear for us, really in a operation like move or copy, you might be interested in evaluating the origin or the destination ( both seems right ), but at the begining we thought have more sense evaluate the origin rather destination and all methods what have this possibility really only are evaluating the first condition.
Re: Configuring the new document wizard
PostPosted:Mon Aug 07, 2017 3:06 pm
by dferguson
OK, I follow however the wizard is only showing up for new documents. No matter what I try I cannot get the wizard to show up for a document move. I added a "AddKeyword" to the document move rule and it works. But any UI interaction isn't executing.
Re: Configuring the new document wizard
PostPosted:Thu Aug 10, 2017 6:48 pm
by jllort
Wizard is only shown while document creation is not linked with other events. Should modify the source code for it ( and I think is not a trivial modification ). If you want I can share try to guide you on it.