bulk stock adding, search box focus, custom location field and stock reports
SnipeItApp looks really awesome after playing around with the demo, really impressed with the project! Id like to make a few suggestions that im hoping would benefit people in my position and the community: The main thing is the ability to "bulk add" assets into the system. I Frequently purchase 50-100 units at a time which last a week before the next batch came in.
-
If we could bulk add similar items but differentiate with serial numbers (auto incrementing Asset IDs too), that would be fantastic.
-
Focus on search box ready for barcode scanner input would be nice too.
-
Custom location field. Instead of "checked out to" a user, we can create a custom checked out location. Saves assigning to a user account everytime & useful for rapid deployments where items go to a site and not an individual.
-
Stock management & reporting pages. Minimum reorder levels etc.
Keep up the good work on this awesome project :) dmd-dmz
+1 I agree that bulk import would be huge, especially as I convert from excel spreadsheets with a few hundred devices to snipe :).
Also, bulk adding users, or the ability to assign it a user not in the system, such as a dept. that doesn't have an email address. I know I could put anything in there instead, but that's less elegant.
I've been trying to suss out how importing would work for a little while now. I imagine most people would want a CSV upload, but building a parser for custom CSVs seems a little out of scope for this. Would a standardized CSV template that people could drop info into and then upload work?
A standardized CSV would be the best option i think
How about letting arbitrary CSV's in, but require that the headers have certain values in order to map to certain fields?
e.g. for users:
first,last,email,password,location,blah
uber,brady,[email protected],dumbpass,myloc,stuff
rejecting:
first_name,last_name,other_stuff
with: "Minimum fields required for users not specified - must specify at least first,last,email,password,location - other fields are empnum, title,location, phone, groups,manager"
and even rejecting:
first_name,last_name,email_address,password_value,location_id,blah
because the names don't match up (they must match exactly).
I don't think the 'arbitrary ordering' or 'extra data-permitting' will be too much harder than running from a template.
Other errors we'll have to deal with:
"Manager 'foo' (line 1234) does not exist, rolling back entire import" "Location 'bar' (line 2345) does not exist, rolling back entire import" "Group 'blah' (line 23456) does not exist, rolling back entire import" "No group specified on line 1234, rolling back entire import"
There are probably others too, but just glancing through that's what I imagine one would have to do.
That is how Web Help Desk does it - even offers a template to download so admin has right labels in the right order.
— Sent from Mailbox
On Tue, Nov 4, 2014 at 7:40 PM, madd15 [email protected] wrote:
A standardized CSV would be the best option i think
Reply to this email directly or view it on GitHub: https://github.com/snipe/snipe-it/issues/215#issuecomment-61741700
That's what I was figuring, a downloadable template.
Downloadable template would great. The more fields in there the better, but maybe order it so only the first few columns are required?
On Tuesday, November 4, 2014, snipe [email protected] wrote:
That's what I was figuring, a downloadable template.
— Reply to this email directly or view it on GitHub https://github.com/snipe/snipe-it/issues/215#issuecomment-61742440.
Sent from my mobile
@uberbrady we are eagerly awaiting your pull request ;)
There is a rough cli bulk importer on develop now.
Usage:
php artisan import:csv app/private_uploads/yourcsv.csv --domain=yourdomain.com
It will be looking for a CSV in the format of:
Assigned To, Category, Asset Model Name, Manufacturer, Model Number,Serial Number, Asset Tag, Location
It will split the user’s name, creating firstname and lastname, will generate an email address using your domain and the [email protected] pattern, will generate a password for them, and will create the asset models, locations, category, etc if they don't currently exist.
It currently does not do any validation other than checking to see if the record already exists in the database.
It determines if the user exists by looking up the email address (which has been generated as [email protected], and may not be correct for all email naming conventions.)
If you want to test this, BACK UP YOUR DATABASE FIRST. This is experimental, and it might shit all over your data. I have successfully used this cli tool to import a CSV of over 2,000 assets, but there's some data cleansing and checking that needs to be built in before it's bulletproof.
Closing this now, since there are multiple issues reported in it, and that's too difficult to track. Pretty sure there are issues open for everything else anyway though. (If not, @dmd-dmz, feel free to open separate tickets for the remaining issues.)
FYI, I have pushed out an update to the importer that is on develop and master, and we now have official documentation on usage:
http://snipe.github.io/snipe-it/manual/importing-assets.html