Thank you much! That helped a ton, but now I've hit an error using the Query command. Here's the relevant code:
var compName = 'licensesvr1'; var queryCond = "name = '" + compName + "' AND service_id = '236'"; SPICEWORKS.data.query( { serviceResult: { class: 'ServiceInstallation', include: 'devices', conditions: queryCond } }, function (resultHash) { ... } );
This returns to me an error:
exception: SQLite3::SQLException: no such column: name: SELECT * FROM "service_installations" WHERE (name = 'licensesvr1' AND service_id='236') ORDER BY id ASC
As far as I understood, including "devices" in the search list would let me search in the columns there?