Forcing a user to enter metadata pre-upload

We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
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.
Post Reply
rdovell
Fresh Boarder
Fresh Boarder
Posts: 18
Joined: Wed Apr 06, 2016 6:10 pm

Forcing a user to enter metadata pre-upload

Post by rdovell » Tue May 24, 2016 5:25 pm

Hello,

I would like to force a user to enter metadata and maybe validate that data before a file is successfully uploaded. Is there any way to achieve this?

jllort
Moderator
Moderator
Posts: 10880
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Forcing a user to enter metadata pre-upload

Post by jllort » Sat May 28, 2016 8:59 am

For all documents the same metadata ? which is your logic ?

rdovell
Fresh Boarder
Fresh Boarder
Posts: 18
Joined: Wed Apr 06, 2016 6:10 pm

Re: Forcing a user to enter metadata pre-upload

Post by rdovell » Thu Jun 02, 2016 11:52 am

Not necessarily, I want something like a wizard property group, except the upload fails if the user does not input the data.

jllort
Moderator
Moderator
Posts: 10880
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Forcing a user to enter metadata pre-upload

Post by jllort » Sat Jun 04, 2016 9:23 am

This kind of logic is present at kcenter, but not in standard OpenKM UI. Basically from kcenter first we require for the metadata fields and after it we require uploading documents. The document uploaded in the second steps always inherit the metadata fields, filled by the user. From standard OpenKM UI can generate daily ( weekly ) reports looking for missing metadata fields and users who should fill them.

Kcenter is the full configurable OpenKM UI.

stiebs
Fresh Boarder
Fresh Boarder
Posts: 17
Joined: Fri Jun 15, 2012 12:26 pm

Re: Forcing a user to enter metadata pre-upload

Post by stiebs » Mon Jun 27, 2016 6:30 am

So I have the opposite problem... Every time I upload a new document, it prompts me to enter meta-data. I need to accept it, and then delete the property group from the document. How can I turn this off?

stiebs
Fresh Boarder
Fresh Boarder
Posts: 17
Joined: Fri Jun 15, 2012 12:26 pm

Re: Forcing a user to enter metadata pre-upload

Post by stiebs » Mon Jun 27, 2016 6:37 am

So it seems that I inadvertently selected a property group in the "Wizard" section of the default user "Profile" (This is the only profile I'm using). It doesn't seem possible to deselect a property group once selected though.

I've tried had to create a new dummy property group, then update the profile to use the dummy group. Then delete that property group and edit the profile again, making sure no property groups were selected in the wizard. But the wizard still prompts me to set properties.

jllort
Moderator
Moderator
Posts: 10880
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Forcing a user to enter metadata pre-upload

Post by jllort » Wed Jun 29, 2016 2:58 pm

You should use Automation for it. Using automation can decide where is shown the wizard and when not. Is you user profile is switching to all or nothing. Start reading here http://wiki.openkm.com/index.php/Automation

If you want to understanging how it works I suggest download the portable dev environment ( it comes with some automation samples ) https://sourceforge.net/projects/openkmportabledev/

Post Reply