Hi folks,
I've set up a script to put our ASSET numbers into the machines bios and OCSinventory correctly picks this up in the bios.assettag field in the database.
I'd like to have that as a selectable column in the main computer display.
Wondering if you can tell me if this is possible and how to go about it?
Failing that, I could use the default TAG field if it could be set to mirror the bios.assettag field.
I know I could write a perl or PHP script that ran from cron and just mirrrored bios.assettag into accountinfo.TAG but there must be a better way of doing this?
I'm thinking the answer is to add g(26) to the $default_fields array somewhere in ms_all_computers.php but when I tried it stopped updating the page so I'm a bit lost.
Basically I want to first column to show up on visu_computers to be the bios.assettag or g(218)
can anyone give me any quick pointers?
Update: I added ASSETTAG LIKE % in a search and it added ASSETTAG to the list of my users, but I'd like it to be part of the default list for everyone. I've tried browsing the DB looking for a list of default items but no luck.
kindest regards
Frank Hauptle