You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2024-05-21 15:15:33

brn215
Member
Registered: 2024-05-21
Posts: 3

Formcreator variables in question

Hi,

In the formcreator LDAP Select question type, is it possible to filter the LDAP query, to only display results for the current logged on GLPI user?

Example:
(& (samaccountname=%{username}) )

In general, how to use system variables such as the above, if possible at all?

Thank you!

Offline

#2 2024-05-21 23:13:12

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,821
Website

Re: Formcreator variables in question

I'm not aware of any template variable support in form creator forms.


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

#3 2024-05-22 15:37:44

brn215
Member
Registered: 2024-05-21
Posts: 3

Re: Formcreator variables in question

Ok thank you. Where are template variables supported (outside of the assistance module), and is there any documentation on how to use/syntax?

Last edited by brn215 (2024-05-22 15:41:14)

Offline

#4 2024-11-13 23:09:37

Nyan.Anthony
Member
Registered: 2024-11-13
Posts: 1

Re: Formcreator variables in question

Hello brn215,

Did you find a solution to show only the results of the user registered in GLPI?
I need to do the same, I think the alternative that can be done is to create a rule that first creates the ticket or form and then through rules import the data from the internal GLPI database by importing the users through LDAP.

Offline

Board footer

Powered by FluxBB