I have created relevance code in my presentation debugger.
How to i move that over to a report?? I thought that i could do that, but it seems more difficult than i thought. Do i have to modify my code to make it work in a report/web report?
All you need to do is create a new ‘Blank Report’ under the create reports page in web reports, enclose your relevance in <?Relevance ?>, and paste it into the “Report:” box.
I’m presuming you’re trying to make the report from
this
thread work?
You can use the code below… note I made two changes… I wrapped an unordered list around it and I added a check to make sure it’s possible to create a link to the computer:
<?relevance unordered list of (( html (it &","& multiplicity of it as string &","))of unique values of (link of it as string) of (applicable computers of it) whose(exists link of it) of bes fixlets whose( globally visible flag of it AND (name of site of it as lowercase contains "patch" or name of site of it = "Enterprise Security") AND (source severity of it as lowercase as string = "critical" )); ( html (it & ",Patched,")) of unique values of (link of it as string) of bes computers whose (exists link of it AND not disjunction of (relevants (it, bes fixlets whose (globally visible flag of it AND (name of site of it as lowercase contains "patch" or name of site of it = "Enterprise Security") AND (source severity of it as lowercase as string = "critical"))))))?>