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 2023-12-03 06:38:02

BW~Merlin
Member
Registered: 2021-05-09
Posts: 33

Data injection update existing assets

I have been using the data injection plugin for importing bulk assets at the start of each year as well as importing the assigned user of that asset in the same import.

What I am struggling with is how to make a data injection model that will update an existing item.

For example if I have a number of assets that I would like to update the users of those assets how can I make a new data injection model that will update the user field of those assets rather than create a whole new asset with the assigned user?

Offline

#2 2023-12-03 08:26:54

rickey67
Member
Registered: 2023-11-27
Posts: 1

Re: Data injection update existing assets

in order to update existing assets's user field using data injection, make sure that model includes a unique identifier (like asset ID), and uses conditional statement to update the user field of identified assets rather than creating new entries. Hope this help.

Offline

Board footer

Powered by FluxBB