Specify default values when doing an import
Server (please complete the following information):
- Snipe-IT Version v.5.0
- OS:Ubuntu Xenial 16.04
- Web Server: nginx
- PHP Version 7.0
Is your feature request related to a problem? Please describe. Importing assets or other thing from a CSV file always requires some values to be present. The problem is, that some of these values might not be present in the original spreadsheet. For instance, I recently imported a list of books (as accessories). The importer failed, because I did not have a column specifying the quantity (1 piece each) or the category (they are all books). So I had to edit the spreadsheet and add two columns with the same values (1, "Book") for each row and restart the import.
Describe the solution you'd like Allow the user upon a missing field during the import to directly enter a default value in the web interface.
Describe alternatives you've considered The import data has to be edited manually, which is tedious
I like this idea, the only issue is that It introduces a challenge if you have some items in the file where you want the values to remain blank. To avoid adding additional complexity, I think that the best way to move forward is if there is a default value set for a field, you cannot import the field with a blank entry. Does this raise any red flags in your usecase?
My usecase is, that I want the default values for db values which have no corresponding column at all in the input file. So there are never any "blank entries" for some rows.
Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!
Still relevant to me.
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!
Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!
Still relevant to me.
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!
Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!
Still relevant.
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!
Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!
Still relevant
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!
Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!
Still relevant
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!
Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!
Still relevant
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!