Page 1 of 1
how to delete a property group?
PostPosted:Sat Oct 31, 2009 3:32 am
by vivihello
hi,
I know it\'s easy to register a property group from the OpenKM console, but how to delete a property group already exist? I have found for a long time but failed,any one can tell me how to do this?
thanks , best wishes.
Re:how to delete a property group?
PostPosted:Sat Oct 31, 2009 3:53 pm
by jllort
There\'s no possible to delete a property group. When you register a new property group you\'re altering repository structure and for historic reason there\'s no possible to delete all property group.
Really what do you want delete all properties associated to a group, or simply delete someone, that not appears more ? the second it could have some solution.
Re: how to delete a property group?
PostPosted:Thu Mar 03, 2011 10:48 am
by liampadre
Hi, I want to know if it's possible just hide a property group, I know it's impossible delete it, but hide?
thx!
Re: how to delete a property group?
PostPosted:Thu Mar 03, 2011 11:16 am
by liampadre
I fixed it, I just change add an attribute in the definition of the property in the xml file, example:
Code: Select all <property-group label="ISO" name="okg:ISO" [b]visible="false"[/b]>
<input label="Verificador" name="okp:ISO.verificador" width="250px"/>
<input label="Aprobador(*)" name="okp:ISO.aprobador" width="250px"/>
<input label="Lista Distr." name="okp:ISO.distribucion" width="350px"/>
<input label="Centro" name="okp:ISO.centro" width="250px"/>
<input label="Departamento" name="okp:ISO.departamento" width="250px"/>
<input label="Tipo" name="okp:ISO.tipo" width="250px"/>
<input label="Codigo" name="okp:ISO.codigo" width="250px"/>
<textarea label="Varios" name="okp:ISO.varios"/>
<input label="Ruta Publ.(*)" name="okp:ISO.ruta" width="300px"/>
</property-group>
and then reload the cnd file.
Greetings.
Re: how to delete a property group?
PostPosted:Thu Mar 03, 2011 4:34 pm
by pavila
It is a feature of the underlining document repository (Jackrabbit as reference implementation of JSR-170).