Formcreator
Last updated
Was this helpful?
Last updated
Was this helpful?
A is available to help you set up your forms.
Public access to forms is set from the access types
tab on the form.
Access restriction is set from the access types
tab from the form. It is possible to restrict access to groups, individuals and profiles. And more simply, to users authenticated on GLPI.
Restriction by entity
To restrict a form to an entity, you can either create the form in the corresponding entity, or create it in the root entity but specify a restriction with private access
to the desired entity.
Forms have a validators
tab. It is possible to request validation of the form from a group or a specific user.
There are many types of question. For example, you can use :
Checkboxes,
Radio buttons,
Date fields
Free fields,
Value selection,
GLPI objects.
This list is not exhaustive and many other options are possible. There are 25 possible types of questions to ask your users.
It is possible to hide or show questions according to certain criteria. This option is set in the questions
tab of the form.
Example
An SLA can be applied via a form. You can do this by going to the target
tab. You will be able to set up an SLA and/or OLA either via a template, a specific SLA or equal to a question asked in the form.
With the question types, it is possible to ask a user to select a document in the form. The question is of the "GLPI object" type. All you have to do is select the type of object. You must ensure that the documents can be read by the entities concerned in management
> documents
.
The import/export action is made to migrate data from a pre-production instance to a production one (implied rigorously identical). Importing a form from another instance that is not identical will fail or will be imported only partially.
This can happen after a migration or update of GLPI (and/or the plugin). There is a command in the GLPI CLI to correct this anomaly. This is provided by the FormCreator plugin.
Know before entering the order
Command to enter from your GLPI file:
php -d memory_limit=-1 bin/console plugins:formcreator:clean_tickets
When you create a form, the requester can select a GLPI object (user, computer, etc.). You can restrict this selection to the user entity, the form entity or both.
Explanation:
User: What the user can see depending on where he is positioned.
Form: What the form can see from where it is positioned.
User and form: Both cumulated.
Is your version of GLPI up to date ? If yes, hide the question "what is your current version".
As a precaution, we strongly recommend that you perform a backup of your instance and database. We also invite you to implement this . Here is the procedure to