-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Auto generation of Asset Tags #8385
Comments
I don't really understand what you mean here though. How would this actually work? |
Although not the proposer :-) you might think of some template variables. I have been working in several copanies and my current one uses a country code, an asset type code, a number and an OS addition to construct an asset ID like USL20117W, which basically means a US (L)aptop, number, (W)indows. Others used a formula with date strings in them so you could determine from the asset ID when it was installed for the first time (20200905_175). So it can be rather complex, but I think that if you just could define them as variables (%YY%, %MM%, %DD%, %Country%, %Type%, %OS% for the ones I named) together with a number that you can enter yourself, or get an auto incremented number would give enough possibilities, however the possibilities can be endless ;-) |
Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. |
I'd say it's still relevant. I've been running a homegrown system for years, and am now transitioning to Snipe-IT. I would create asset tags based on random 4 character strings, using A-Z and 0-9, but excluding 0, 1, O, I, and L (l). It was the first feature I went looking for while configuring Snipe-IT. @kgortmak kind of nailed it with the implementation idea. For me, I had about 5 different templates, which were as simple as TXXX for tools, EXXX for equipment, DXXX for devices, SXXX for spare parts and BXXX for box (container). |
Okay, it looks like this issue or feature request might still be important. We'll re-open it for now. Thank you for letting us know! |
Every time time this comes up, no one can really explain how this would work for the numeric part exactly though? Most people who want a prefix of some kind want it based on company, department, category, etc, followed by an incrementing number - but they also don't want that number to be out of sequence across those various things. |
@theukedge how do you propose we handle what I mentioned above? |
I'd say that allowing asset tag format templates would be best. With my asset tags, I prefer them random, rather than sequential, so I'd go for something like For people who want sequential numbering, I'd allow them to set that. I could see where people would either want it in sync with other tag formats, or not, so I'd allow them to pull in a specific number sequence into their tag template, or create a new one. For example, to keep them in sync, you might allow templates of
If people don't want the number sequence shared, you could track them separately in the database. So, you might have templates of
|
Server (please complete the following information):
Is your feature request related to a problem? Please describe.
It should be possible to generate asset tags according to some scheme (i.e.
A-Z,0-9
). Currently the only way to have an automated way of creating asset tags is through an autoincrement. Many companies use this scheme of asset tags instead of an auto incremented numeric tag.Describe the solution you'd like
I'd like to be able to generate an asset tag through a randomized string of characters.
Describe alternatives you've considered
I don't think there are any alternatives to this. Doing this all by hand is not intuitive.
The text was updated successfully, but these errors were encountered: