Create a Data Form Map For My Custom Site: Difference between revisions

From IHRIS Wiki
No edit summary
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Cuando se crea un sitio personalizado, se podrán añadir formularios y campos nuevos. En tal caso, los mapas de datos para iHRIS Manage y Qualify ya no son correctos. Sera necesario generar su propio mapa de formularios.
When you create a custom site, you may be adding new forms and fields. In which case, the data maps for iHRIS Manage and Qualify are no longer accurate.   You will want to generate your own form map.




==Software Necesario==
==Required Software==
Crear un mapa de formularios de datos es fácil una vez que se han instalado los programas adecuados en su sistema. Para hacer esto, debe ejecutar:
Creating a data form map is easy once you have the proper programs installed on your system. To do so run:
<source lang='bash'>
<source lang='bash'>
sudo apt-get install graphviz imagemagick
sudo apt-get install graphviz imagemagick
</source>
</source>


==Activar el Módulo==
==Enabling the Module==
La habilidad de crear un mapa de datos es dada por el modulo "". Para activarlo vía interfaz web:
The ability to create a data map is provided by the "" module. To enable via the web interface:
*Haga click en "Configurar Sistema"
*Click on "Configure System"
*Haga click en "Configurar Módulos "  
*Click on "Configure Modules"
*Haga click en "Sub-Módulos" junto a "Formularios I2CE "  
*Click on "Sub-Modules" next to "I2CE Forms"
*Haga click en la caja que esta junto a "Documentador de Formulario"  
*Click on  the check box next to "Form Documentor"
*Haga click en el botón "Activar" al final de la página
*Click the "Enable" button on the bottom of the page.


 
==Enable the Module (Command Line)==
==Activar el Módulo (Línea de Comando)==
Go to the ''pages'' directory of your site and enter
Vaya al directorio de ''páginas'' del sitio y escriba
  php index.php  --update=1 --enable=formDocumentor
  php index.php  --update=1 --enable=formDocumentor


==Crear un Mapa==
==Creating a Map==
Vaya al directorio de su sitio, por ejemplo:
Go to your site directory, for example:
<source lang='bash'>
<source lang='bash'>
cd /var/www/iHRIS-manage
cd /var/www/iHRIS-manage
</source>
</source>


Ahora ejecute:
Now run:
<source lang='bash'>
<source lang='bash'>
  php index.php --page=/formDocumentor/dot
  php index.php --page=/formDocumentor/dot
</source>
</source>


Entonces se le pedirá que seleccione los formularios que quiere incluir en el mapa. Puede seleccionar los números individuales o un rango de números. Le sugiero que ''no'' incluya los formularios que inician con '''cl_''' ya que se verá desordenado y estos están relacionados con  SDMX-HD.  Otros formularios que sería conveniente que omita son '''uuid,'''  '''contact,''' '''role''' y '''user'''
You will be then be prompted to select which forms that you want to include in the map.   You can select either the individual numbers or a range of numbers. I suggest that you do ''not'' include the forms starting with '''cl_''' as it will get messy, and these are related to SDMX-HD.  Other forms you may want to skip are '''uuid,'''  '''contact,''' '''role''' and '''user'''


Cuando finalice debería tener un archivo en el directorio '''/tmp''' .
When you finish, you should have a file in the '''/tmp''' directory.




[[Category:Tutorial]][[Category:Implementer Resources]][[Category:Customizations]][[Category:Forms]][[Category:Review2013]]
[[Category:Developer Resources]]

Latest revision as of 07:44, 21 August 2019

When you create a custom site, you may be adding new forms and fields. In which case, the data maps for iHRIS Manage and Qualify are no longer accurate. You will want to generate your own form map.


Required Software

Creating a data form map is easy once you have the proper programs installed on your system. To do so run: <source lang='bash'> sudo apt-get install graphviz imagemagick </source>

Enabling the Module

The ability to create a data map is provided by the "" module. To enable via the web interface:

  • Click on "Configure System"
  • Click on "Configure Modules"
  • Click on "Sub-Modules" next to "I2CE Forms"
  • Click on the check box next to "Form Documentor"
  • Click the "Enable" button on the bottom of the page.

Enable the Module (Command Line)

Go to the pages directory of your site and enter

php index.php  --update=1 --enable=formDocumentor

Creating a Map

Go to your site directory, for example: <source lang='bash'> cd /var/www/iHRIS-manage </source>

Now run: <source lang='bash'>

php index.php --page=/formDocumentor/dot

</source>

You will be then be prompted to select which forms that you want to include in the map. You can select either the individual numbers or a range of numbers. I suggest that you do not include the forms starting with cl_ as it will get messy, and these are related to SDMX-HD. Other forms you may want to skip are uuid, contact, role and user

When you finish, you should have a file in the /tmp directory.