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-01-15 11:56:19

matteci
Member
Registered: 2024-01-15
Posts: 8

How add user data to mail template

I need to enter additional personal data in the notification template.
With #ticket.authors## the name is entered.
Can you enter your personal data? For example, phone number or address.

Furthermore, additional fields (using additioanl fileds plugin) can be added to the notification template?

Offline

#2 2024-01-23 09:59:59

matteci
Member
Registered: 2024-01-15
Posts: 8

Re: How add user data to mail template

Nobody can help me please?

Offline

#3 2024-01-23 13:16:50

nikolaidys73
Member
From: Rafaela - Santa Fe- Argentina
Registered: 2024-01-15
Posts: 162

Re: How add user data to mail template

Unfortunately you would have to put it by hand.I wouldn't bring the other information


Version GLPI: 10.0.16 -
Plugins :Fields aditional 1.21.9 - Alerts 1.12.2 - GLPI Inventory 1.3.4 - Escalation 2.9.4 - Data Inyection 2.13.4 - Metabase - 1.3.3 - Ticketfilter 1.3.2 - Timeline of tickets -10.0+1.2 - YAGP 2.3.1 - Gapp Essentials 2.3.0 - Formcreator 2.13.9
Server :Ubuntu 22.04 LTS

Offline

#4 2024-01-23 13:29:35

matteci
Member
Registered: 2024-01-15
Posts: 8

Re: How add user data to mail template

The manual states that with ##<object>.<field>## you can insert the fields for the field value of a GLPI object. Is there only visibility of the ticket object and not also the user one?

Offline

#5 2024-01-23 15:12:24

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

Re: How add user data to mail template

The list of valid tags for a notification can be found by clicking the "Show available tags" button above the template text fields. If a tag is not shown there, it cannot be used.
Some tags are "arrays" or a collection of items and can be used with FOREACH tags (see documentation). The available tags page will show you the available fields on the individual items of a collection too.

https://glpi-user-documentation.readthe … lates.html


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.

Online

#6 2024-01-23 17:54:18

matteci
Member
Registered: 2024-01-15
Posts: 8

Re: How add user data to mail template

Great! Thank you very much!

Offline

Board footer

Powered by FluxBB