(imported comment written by MattBoyd)
Alright, here’s my shot at trying to clarify why this would be a nice feature to have. I’ll try to explain it as clearly as I can, but I apologize in advance if it makes no sense at all
To me, it seems that you should be able to make columns within properties so that it’s easier to retrieve data from that property in Web Reports. I can think of a few cases where I’ve found myself wishing for something like this, particularly when there are multiple pural values that need to be associated with each other…
As an example, say you want to return the IP Address and Mac address associated with each network adapter on the client. These properties are paired together, and really can’t go into two separate properties if you want to easily be able to tell what IP address goes with what Mac address. So now you have multiple attributes in the same property, separated by a delimiter:
(addresses of it, mac addresses of it) of adapters of network
Normally, this isn’t too difficult to deal with. However, when you go to write a Web Reports (or presentation) query to display the data, you could run into two potential problems. The first is aesthetic: Because you need to split each string “record” using your delimiter, the relevance becomes somewhat confusing and difficult to mentally parse:
("IP: " & preceding text of first “,” of it & " Mac: " & following text of first “,” of it) of (values of results(it, bes property “IP and MAC Address”)) of bes computers whose (exists results (it, bes property “IP and MAC Address”) whose (preceding text of first “,” of values of it starts with “172.28.127”) and name of it starts with “CB”)
To a common user, “preceding text of first “,” of it” may not mean a whole lot. I showed a query very similar to this to a colleague and he asked me if it was Klingon. It can get even more complicated when there are more than three attributes in the property, and you want to filter your results by values of those attributes. If there were columns within properties, we might be able to use something like this:
("IP: " &
column “IPAddress”
of it & " Mac: " &
column “MacAddress”
of it) of (
column values
of results(it, bes property “IP and MAC Address”)) of bes computers whose (exists results (it, bes property “IP and MAC Address”) whose
column “IP Address” of column values of it
starts with "172.28.127) and name of it starts with “CB”)
The other potential issue that you can run into is with delimiting itself. It’s easy to accidentally use a delimiter that’s too common. For example, BigFix queries that return multiple values will use a comma to separate their values by default. There’s been a few times where I’ve written relevance that returned multiple results, and one of them was a date/time value. These include commas in them, so they can interfere when I go to parse out the data in a Web Reports query.