Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regex for entity? #111

Open
osmoonlight opened this issue Nov 10, 2024 · 0 comments
Open

Regex for entity? #111

osmoonlight opened this issue Nov 10, 2024 · 0 comments

Comments

@osmoonlight
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant