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