• metadatos no visibles

  • OpenKM tiene muchas características interesantes, pero es necesario un proceso de configuración para mostrar todo su potencial.
OpenKM tiene muchas características interesantes, pero es necesario un proceso de configuración para mostrar todo su potencial.
Forum rules: Por favor, antes de preguntar algo consulta el wiki de documentación o utiliza la función de búsqueda del foro. Recuerda que no tenemos una bola de cristal ni poderes mentales, o sea que que para informar sobre un error es necesario que nos indiques tanto la versión de OpenKM que usas como la del navegador y sistema operativo. Para más información consulta Cómo informar de fallos de forma efectiva.
 #46186  by etchegaray
 
He definido un nuevo tipo de metadatos en el xml desde administración. Puedo añadir esos metadatos a los archivos, pero en la ventana de metadatos no aparece ese tipo de metadato (expediente). Después de editar los metadatos he clicado en "Register metadata groups". Adjunto el xml donde he definido el gupo "expediente" y una captura de pantalla.

¿Hago algo mal?
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE property-groups PUBLIC "-//OpenKM//DTD Property Groups 2.0//EN"
                                 "http://www.openkm.com/dtd/property-groups-2.0.dtd">
<property-groups>
  <property-group label="Consulting" name="okg:consulting">
    <input label="Name" type="text" name="okp:consulting.name"/>
    <input label="Date" type="date" name="okp:consulting.date" />
    <checkbox label="Important" name="okp:consulting.important"/>
    <textarea label="Comment" name="okp:consulting.comment"/>
  </property-group>
  <property-group label="Technology" name="okg:technology">
    <select label="Type" name="okp:technology.type" type="multiple">
      <option label="Alfa" value="t1"/>
      <option label="Beta" value="t2" />
      <option label="Omega" value="t3" />
    </select>
    <select label="Language" name="okp:technology.language" type="simple">
      <option label="Java" value="java"/>
      <option label="Python" value="python"/>
      <option label="PHP" value="php" />
    </select>
    <input label="Comment" name="okp:technology.comment"/>
    <textarea label="Description" name="okp:technology.description"/>
    <input label="Link" type="link" name="okp:technology.link"/>
  </property-group>
    <property-group label="Expediente" name="okg:expediente">
    <input label="Asunto" type="text" name="okp:expediente.asunto"/>
    <input label="Fecha apertura" type="date" name="okp:expediente.fapertura" />
    <input label="Fecha cierre" type="date" name="okp:expediente.fcierre" />
    <input label="Ponente" type="text" name="okp:expediente.ponente"/>
  </property-group>
    
</property-groups>
Attachments
captura.png
captura.png (78.89 KiB) Viewed 3415 times
 #46206  by lnovoa
 
Hi!,

This list shows the metadata that is of type select or Boolean, with the objective of visualizing the nodes by those types.
For the input type, as it is logical, it can not be shown in that tree.
If for example, you add to the group "Expedient" this property, you will see how it comes out.
Code: Select all
<select label="Type" name="okp:expediente.type" type="multiple">
      <option label="Alfa" value="t1"/>
      <option label="Beta" value="t2" />
      <option label="Omega" value="t3" />
</select>

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.