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 2020-11-10 09:57:36

zbrozli
Member
Registered: 2020-11-04
Posts: 3

Autofill fields - plugin/feature

Hello all!

I'm new here, so forgive me if the topic is in the wrong section.

I am looking for a plug-in or a function that will allow for automatic filling of fields (e.g. new computer) after assigning a user. (fields related to: group, location, alternative phone number). Of course, the data for auto-complete fields will be taken from the user.

has anyone encountered a similar question, will I have to try to create a code that enables this functionality?

thank you in advance for your help!

Zbrozli

Offline

#2 2020-11-10 10:34:36

LaDenrée
HELPER
Registered: 2012-11-19
Posts: 6,167

Re: Autofill fields - plugin/feature

be careful : a user can be a member of several groups .  (1-n relation)
how would you update computer groupe (1-1 relation) ?

for location and phone number you can use mysql to update these fields.


Trouver la panne avant de réparer...
GLPI10.0.10 (ubuntu 22.04 PHP8.1  Mariadb10.6 ) plugins : comportements 2.7.2 reports 1.16.0 formcreator 2.13.8, datainjection 2.13.4 fields 1.21.6

Offline

#3 2020-11-30 12:19:05

zbrozli
Member
Registered: 2020-11-04
Posts: 3

Re: Autofill fields - plugin/feature

I have users assigned to individual groups.

LaDenrée wrote:

for location and phone number you can use mysql to update these fields.

what do you mean exactly.
As for writing a script, I could do that. The problem is that I don't know the structure of GLPI and its structure (I'm just getting to know it)

Offline

Board footer

Powered by FluxBB