You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just started working with GLPI and was looking for something that creates asset numbers automatically. So this plugin is what I need.
However, is there a way to set the template in a way that takes the entity (or location) from the auto-imported item? I have setup rules that assign an entity and location based on their IP addresses. As I am working with multiple entities, I would like to get that information somehow into the inventory number (entityA-PC0000X, entityB-PR0002 and so forth).
Can this be done with a regex? Any other option?
Cheers
The text was updated successfully, but these errors were encountered:
So far so good. When I add \l to the mask for the inventory number generation, I get the correct information, i.e. the index number for the item location.
Million dollar question now is, what would the code have to look like when I want the location name instead of the id? I can't simply replace locations_id with name because this will give me the device name not the location name.
Just started working with GLPI and was looking for something that creates asset numbers automatically. So this plugin is what I need.
However, is there a way to set the template in a way that takes the entity (or location) from the auto-imported item? I have setup rules that assign an entity and location based on their IP addresses. As I am working with multiple entities, I would like to get that information somehow into the inventory number (entityA-PC0000X, entityB-PR0002 and so forth).
Can this be done with a regex? Any other option?
Cheers
The text was updated successfully, but these errors were encountered: