Question
Why is formatted search not working?
Here is my search:
SEARCH{"VendorSupportForm[0-9].*" web="Sandbox" regex="on" scope="topic" $nototal="on" nosummary="on" nosearch="on" noheader="on" order="formfield(OS)" format="| $formfield(OS) | [[$topic]] | [[$username]] |" }
(I've left off the % symbol in the above)
This does return the matching topics:
AIX VendorSupportForm2003-Jul-28-21:39? PaulSue?
Linux VendorSupportForm2003-Jul-28-21:20? PaulSue?
Solaris VendorSupportForm2003-Jul-28-20:52? PaulSue?
Windows VendorSupportForm2003-Jul-28-21:29? PaulSue?
Number of topics: 4
But it doesn't display the topic and username as links!! If I don't use the
format statement, then it displays the topic and user correctly as links:
VendorSupportForm2003-Jul-28-20:52 28 Jul 2003 - 20:52 - NEW PaulSue
VendorSupportForm2003-Jul-28-21:20 28 Jul 2003 - 21:21 - NEW PaulSue
VendorSupportForm2003-Jul-28-21:29 28 Jul 2003 - 21:30 - NEW PaulSue
VendorSupportForm2003-Jul-28-21:39 28 Jul 2003 - 21:40 - NEW PaulSue
What am I doing wrong??
Thanks!
Environment
--
PaulSue - 28 Jul 2003
Answer
You search the Sandbox web, but it is not clear if the search is done in the Sandbox web or some other web. If another web you need to specify the $web in the format; you need to do that for $username as well (or use $wikiusername instead). As in:
format="| $formfield(OS) | [[$web.$topic][$topic]] | $wikiusername |"
--
PeterThoeny - 29 Jul 2003