FireBoard
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Tracking document life and version (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Tracking document life and version
#1788
alloydog (User)
Senior Boarder
Posts: 47
graphgraph
User Offline Click here to see the profile of this user
Tracking document life and version 5 Months, 4 Weeks ago Karma: 0  
In the Properties tab for a document, there is the Status. Currently it seems it only shows "Available" and "Locked by ..."

I know theses come from where the document is unlocked or locked, but is it possible to have more statuses? Such as "Draft", "Peer reviewed" "Approved" and so on?

Also, how do you increase a document version number but the major number, that is, say, from 1.3 to 2.0?
 
Report to moderator   Logged Logged  
 
  The administrator has disabled public write access.
#1790
jllort (Admin)
Admin
Posts: 619
graph
User Offline Click here to see the profile of this user
Re:Tracking document life and version 5 Months, 4 Weeks ago Karma: 10  
For extends document properties you must use metadata ( we call as property groups ) where you can define closed list, input box etc... ( OpenKM comes with a example called my_group.cnd on %jboss_home% -> please try it on a developement environment not production, because you can not delete metadata structure when after defining ).

About number version you can not pass from 1.0 to 2.0 it's a tree structure naming nodes and always start with 1. if you forget this starting "1." probably you'll view as normal naming versioning :

1.1 1
1.2 2
1.3 3
1.4 4
1.3.1 3.1 ( return to version 3 and increasing version )
1.3.2 3.2
 
Report to moderator   Logged Logged  
 
Be open my friend
  The administrator has disabled public write access.
#1791
alloydog (User)
Senior Boarder
Posts: 47
graphgraph
User Offline Click here to see the profile of this user
Re:Tracking document life and version 5 Months, 4 Weeks ago Karma: 0  
Is this the file:

Code:

~$ cat /opt/OpenKM-3.0/my_groups.cnd <okm = 'http://www.openkm.org/1.0'> <okg = 'http://www.openkm.org/group/1.0'> <okp = 'http://www.openkm.org/group/property/1.0'> [okg:tecnologia] mixin - okp:tecnologia.tipo (string) = '' multiple autocreated - okp:tecnologia.lenguaje (string) = '' autocreated - okp:tecnologia.descripcion (string) = '' autocreated - okp:tecnologia.comentario (string) = '' autocreated [okg:consultoria] mixin - okp:consultoria.tipo (string) = '' autocreated - okp:consultoria.comentario (string) = '' autocreated
 
Report to moderator   Logged Logged  
 
  The administrator has disabled public write access.
#1809
jllort (Admin)
Admin
Posts: 619
graph
User Offline Click here to see the profile of this user
Re:Tracking document life and version 5 Months, 3 Weeks ago Karma: 10  
Exactly this is one of the needed files.

my_groups.cnd -> properties declaration
PropertyGroupValues.properties -> avaliable values for properties
PropertyGroupBundle.properties -> the property key values translation

For example:

1-On my_groups.cnd you can find okp:tecnologia.tipo -> this defines the property "tipo".
2-On PropertyGroupValues.properties you can see okp\:tecnologia.tipo=4,uno,dos,tres

First number indicates representation
1- Input
2- TextArea
3- List
4- List select multiple

and
"uno,dos,tres " indicates avaliable values for this property.

3- Now only need to translate property and values on some languages ( at least one ) on PropertyGroupBundle.properties file:

okp\:tecnologia.tipo.uno=Tipo Uno
okp\:tecnologia.tipo.dos=Tipo Dos
okp\:tecnologia.tipo.tres=Tipo Tres

Only one suggestion -> if you change properties file, probably you'll need to restart jboss server ( I'm not sure about it, at least you need to restart OpenKM because property group ( metadata ) is only loaded at startup OpenKM login.

A final suggestion, because property group can not be removed after registering, consider to try on a testing environment not on a production. You can always overload metadata with more values and properties but you can not delete it. ( it's for historic repository reason ).

Hope it'll help you.
 
Report to moderator   Logged Logged  
 
Be open my friend
  The administrator has disabled public write access.
#1945
alloydog (User)
Senior Boarder
Posts: 47
graphgraph
User Offline Click here to see the profile of this user
Re:Tracking document life and version 5 Months, 2 Weeks ago Karma: 0  
OK, I have now registered the my_groups.cnd file, and can see the different properties values under Administration | Properties. Clicking View, shows the different properties.

But... how do I assign these to a document?

For example, if I created a property called Status, with the values "Draft, Reviewed, Approved". How would I add it to the list of document properties.

Currently, all I still is:
UUID
Name
Folder
Size
... and so on.

I don't see any of the new properties in the Properties section for the document.
 
Report to moderator   Logged Logged  
 
  The administrator has disabled public write access.
#1948
pavila (Admin)
Admin
Posts: 555
graphgraph
User Offline Click here to see the profile of this user
Gender: Male OpenKM
Re:Tracking document life and version 5 Months, 2 Weeks ago Karma: 9  
There is a pair of buttons in the toolbar that can add or remove property groups. Once a property group has been assigned to the document, a new tab will appear in the document properties.
 
Report to moderator   Logged Logged  
 
Be open, my friend!
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop