Creating a relevance statement using custom properties

(imported topic written by SystemAdmin)

hey all, I’ve created a custom property called “Primary IP address” and I want to refer to that property via relevance. How is this done?

I tried the following without success:

(values of it as string) of (results (bes properties (“Primary IP Address”), it)) of bes computers

cheers

Peter

(imported comment written by jessewk)

Your expression should work, but only if 1) you have created the “Primary IP Address” property as a global property rather than as an analysis property, and 2) if you are evaluating the expression in the session context (console/web reports). The expression won’t work in the client context.

Jesse

(imported comment written by jessewk)

Actually, it looks like that syntax will only work for reserved properties like RAM and User Name. Try this slight modification:

values of (results (bes properties whose (name of it = “Primary IP Address”), it)) of bes computers

(imported comment written by SystemAdmin)

Thanks, I ended up using the following relevance which works:

(exists (addresses of adapters whose (cidr string of it = wake on lan subnet cidr string) of network) whose (it as string as lowercase contains “10%2e0%2e15%2e” as lowercase))