• Webservices y Templates

  • Do you want to create a native client or integrate with third party applications: webservices are the solution.
Do you want to create a native client or integrate with third party applications: webservices are the solution.
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.
 #23301  by rbahntje
 
Es posible crear un Documento accediendo por Webservice y que el mismo sea generado en base a un template?
Entiendo que en ese caso habrìa que pasarle al webservice los metadatos correspondientes al PropertyGroup definido en el template
 #23312  by jllort
 
Ahora mismo no, pero es interesante el tema que planteas. En realidad se tendrían que implementar 2 método uno para crear el template y otro para saber que datos hay que pasarle -metadatos- para crear el template.
 #23326  by rbahntje
 
Y también podría hacerse para que desde la interface estándard cuando se modifica un metadato el template "regenere" el documento.
Por ejemplo, creo un documentos a partir de un template y uno de los datos es el número de teléfono
Si modifico luego ese property group, el documento no cambia, seria interesante una funcionalidad que al modificar un metadato relance el template y genere una nueva versión del documento.
 #23413  by jllort
 
Para esto que comentas hay que establecer una relación entre el template y el documento ( esta relación dura, ahora mismo no existe ). Esto que comentas es una característica específica de un caso general que es la generación de documentos a partir de un template. Como comentaba antes me parece interesante, pero su hay que ir con cuidado como se implementa. Es decir mientras crear un documento a partir de una plantilla tiene un interés general, el hecho de regenerar un documento a partir de los metadatos es una función que no a todo el mundo le puede venir bien, es mas, puede ser un problema. Yo lo veo interesante pero como característica que tenga algún tipo de configuración adicional, no por defecto.

Si te ves con ánimo de hechar mano al código fuente te podemos orientar por donde pueden ir los tiros y que hay que modificar.

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.