Subscribe:

viernes, 12 de octubre de 2018

Tellico: Pestañas de campos de párrafo con varios campos

Una curiosa característica es que Tellico admite varios campos de párrafo en una misma pestaña.  En realidad, cuando se crean, eso no es así.  Los campos de párrafo generan automáticamente una pestaña propia.  De esa manera, si un usuario desea disponer de varios campos de párrafo para notas diversas, no puede visualizarlas a la vez en el formulario de edición de las entradas, porque están en pestañas distintas.

Sin embargo, cuando se hacen importaciones masivas de otros ficheros tellico, si estos poseen un campo de párrafo con el mismo nombre, la importación no fusiona los campos, sino que origina uno nuevo y lo inserta en la misma pestaña que el anterior.

Ya nos ha pasado un par de veces.  Hasta ahora no hemos aprovechado esa característica oculta y hemos prescindido del segundo campo, trasladando a mano los comentarios de uno de los campos al otro (nos pasó hace un par de años), pero en realidad sería muy interesante comprobar si se pueden crear incluso más, por ejemplo 3 o 4 campos puestos todos en la misma pestaña.  La vía para hacerlo sería crear tellicos falsos con un campo de ese tipo y el mismo nombre que tenga en el fichero donde se vaya a importar.

Parece más bien asociado al hecho de que la etiqueta <comments> se usa en algunas de las ocasiones, y en otras <comentarios>, y ambos nombres están asociados al comienzo del fichero, donde se declaran los campos existentes.  Eso, de ser así, impediría seguramente la creación de un tercer campo dentro de la misma pestaña, pues la declaración de campos solo admitiría dos valores, el nombre interno del campo y el visible.  Pero quizá se pudieran obtener resultados curiosos si creamos varios tellicos falsos, cada uno con el nombre en un idioma distinto, asociado al nombre interno en inglés.  Al importar cada uno de ellos, ¿tendrían que crearse varios campos y todos ellos en la misma pestaña?

Por supuesto, si esto se estableciera como característica oficial del programa, debería haber un modo para indicar qué campo de párrafo concreto queremos emplear para un informe.
====

TRANSLATED INTO ENGLISH:

Paragraph field tabs with several fields

A curious feature is that Tellico admits several fields of paragraph in the same tab. Actually, when they are created, that is not the case. Paragraph fields automatically generate its own tab. In this way, if a user wishes to have several paragraph fields for different notes, he can not view them at the same time in the entry form, because they are in different tabs.

However, when massive imports of other tellico files are made, if they have a paragraph field with the same name, the import does not merge the fields, but instead it originates a new one and inserts it in the same tab as the previous one.

It has already happened to us a couple of times. So far we have not taken advantage of this hidden feature and we have discarded the second field, moving by hand the comments from one field to the other (it happened two years ago), but it would be very interesting to see if the users can create even more, for example 3 or 4 fields all in the same tab. The way to do it would be to create false tellicos with a field of that type and the same name as in the file where it will be imported.

It seems associated with the fact that the label <comments> is used in some occasions, and <comentarios> in the others, and both names are associated at the beginning of the file, where the existing fields are declared. That, if so, would surely prevent the creation of a third field within the same tab, since the declaration of fields would only admit two values, the internal name of the field and the visible one. But maybe it's could get curious results if we create several fake tellicos, each with the name in a different language, associated with the internal name in English. When importing each of them, would they have to create several fields and all of them in the same tab?

Of course, if this were established as an official feature of the program, there should be a way to indicate which particular paragraph field we want to use for a report.

0 comentarios:

Publicar un comentario

 
Blogger Templates