Web Report Analysis - New Line For Each Result?

(imported topic written by Luke.Foelske)

I am attempting to do multiple file searches and list the application if the file exists on separate lines, but not have a blank line if the file is not found.

For instance, this is the relevance I’ve put in:

(if (exists file “C:\Program Files\Microsoft\place.exe”) then “place%0d%0a” else “” ) & (if (exists file “C:\windows\cmd.exe”) then “CMD%0d%0a” else “” )& (if (exists file “C:\Documents and Settings\luke.foelske\Deskp\QnA\FixletDebugger.exe”) then “broken%0d%0a” else “” )

Unfortunately, this gives the following results in Web Reports:

place QnA

In other words, the “%0d%0a” doesn’t seem to be working. I’ve also noticed some people said “%0a%0d” was the correct character code for a new line. This didn’t work either.

Any help would be greatly appreciated.

(imported comment written by GPNFan)

Hi Luke,

Are you trying to write your output to a flat file on an endpoint? Or are you trying to get the results back in a browser? If you’re trying for a browser, I’d suggest replacing the “%0d%0a” with the appropriate html code, like “
”, or maybe wrap the results in a table, with a row for each line of output.

Hope that helps!

Dave

(imported comment written by Luke.Foelske)

I’m trying to display the analysis in a web reports column.

Something similar to IP addresses with multiple lines.