First of all, I would like to ask, Do we can ‘update’ customize attribute from bulk script or not? If no, Thank you.<\/p>\n
If yes, I have a problem for ‘update’ customize attribute from scanned devices. I’m not sure what i did wrong?<\/p>\n
Error as below.<\/p>\n
C:\\Program Files (x86)\\Spiceworks\\bin>ruby.exe bulk_import.rb -e %myusername% -p<\/em><\/p>\n %mypassword% -s %server% --no-manual import.csv<\/em><\/p>\n Logging into Spiceworks…<\/em><\/p>\n Importing assets…<\/em><\/p>\n Error: no name attribute given in {“primary_owner_name”=>“chutawat Luangsa-ard”,<\/em><\/p>\n “serial_number”=>“SGH203R064”, “description”=>“manually imported from csv file”<\/em><\/p>\n }<\/em><\/p>\n Had exception importing: exit<\/em><\/p>\n bulk_import.rb:14:in `exit’<\/em><\/p>\n bulk_import.rb:14:in `eputs’<\/em><\/p>\n bulk_import.rb:139:in `block in<\/em><\/p>","upvoteCount":5,"answerCount":4,"datePublished":"2014-05-26T07:24:47.000Z","author":{"@type":"Person","name":"aa81841","url":"https://community.spiceworks.com/u/aa81841"},"acceptedAnswer":{"@type":"Answer","text":" There’s actually a bug in the import script that should be fixed here soon that prevents the update process when the --no-manual flag is used from working correctly.<\/p>\n That should be fixed in the next patch.<\/p>\n Once it’s fixed, you should be able to use the script to update your devices, but there is a minimum amount of information required to do so. The script requires the name<\/strong> and serial_number<\/strong> fields to function properly. Other fields are alright to use, but both of these need to be included for the script to run. It looks like the complaint:<\/p>\n indicates that the name<\/strong> field wasn’t provided. First of all, I would like to ask, Do we can ‘update’ customize attribute from bulk script or not? If no, Thank you.<\/p>\n If yes, I have a problem for ‘update’ customize attribute from scanned devices. I’m not sure what i did wrong?<\/p>\n Error as below.<\/p>\n C:\\Program Files (x86)\\Spiceworks\\bin>ruby.exe bulk_import.rb -e %myusername% -p<\/em><\/p>\n %mypassword% -s %server% --no-manual import.csv<\/em><\/p>\n Logging into Spiceworks…<\/em><\/p>\n Importing assets…<\/em><\/p>\n Error: no name attribute given in {“primary_owner_name”=>“chutawat Luangsa-ard”,<\/em><\/p>\n “serial_number”=>“SGH203R064”, “description”=>“manually imported from csv file”<\/em><\/p>\n }<\/em><\/p>\n Had exception importing: exit<\/em><\/p>\n bulk_import.rb:14:in `exit’<\/em><\/p>\n bulk_import.rb:14:in `eputs’<\/em><\/p>\n bulk_import.rb:139:in `block in<\/em><\/p>","upvoteCount":5,"datePublished":"2014-05-26T07:24:47.000Z","url":"https://community.spiceworks.com/t/bulk-update-inventory-devices/306795/1","author":{"@type":"Person","name":"aa81841","url":"https://community.spiceworks.com/u/aa81841"}},{"@type":"Answer","text":" Any updates on this issue?<\/p>","upvoteCount":0,"datePublished":"2014-06-01T12:48:46.000Z","url":"https://community.spiceworks.com/t/bulk-update-inventory-devices/306795/3","author":{"@type":"Person","name":"nicos20594722","url":"https://community.spiceworks.com/u/nicos20594722"}},{"@type":"Answer","text":" There hasn’t been any change since my post of Thursday, no.<\/p>","upvoteCount":0,"datePublished":"2014-06-02T18:31:04.000Z","url":"https://community.spiceworks.com/t/bulk-update-inventory-devices/306795/4","author":{"@type":"Person","name":"matts","url":"https://community.spiceworks.com/u/matts"}}]}}
no name attribute given in\n<\/code><\/pre>\n
\nOnce the patch fixes this, you should add the name field and give it another try.<\/p>","upvoteCount":0,"datePublished":"2014-05-29T14:40:20.000Z","url":"https://community.spiceworks.com/t/bulk-update-inventory-devices/306795/2","author":{"@type":"Person","name":"matts","url":"https://community.spiceworks.com/u/matts"}},"suggestedAnswer":[{"@type":"Answer","text":"