November 2009


Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Drew Stevenson <[log in to unmask]>
Reply To:
UofMN CSS Web Development <[log in to unmask]>
Mon, 16 Nov 2009 12:58:38 -0600
text/plain (38 lines)
Hey Aaron,

That looks suspiciously like a query search (http://foswiki.org/System/QuerySearch) which isn't available in the current version of UMWiki. In the current version you'd have to do something like

%METASEARCH{type="field" name="Requester" value="%WIKIUSERNAME%" format="$percntMETASEARCH{type=$quotform$quot name=$quotRequestStatus$quot value=$quotBuilding$quot}$percnt"}%

We are still working on migrating UMWiki to a newer version of the underlying wiki software, but have learned our lesson about announcing any kind of ship date before it's ready to roll.

Hope this helps,

Drew Stevenson
University of Minnesota Wiki Support
[log in to unmask]

On Nov 16, 2009, at 10:00 AM, Aaron J. Zirbes wrote:

> Hey all,
> Are there any TWiki pros out there? (Drew, are you listening?)
> I'm trying to develop a TWiki based application, but I'm having trouble using the SEARCH macro.
> https://wiki.umn.edu/view/NunStudyData
> I can get the %METASEARCH% macro to work, but only on a single variable filter.
> I want it to search for all Webs that match on two form fields.  Specifically, this is the command I want to work is something along these lines:
> %SEARCH{ "(RequestForm[name='Requester'].value='%WIKIUSERNAME%' AND RequestForm[name='RequestStatus'].value='Building')" nonoise="on" type="query" format="$web.$topic" separator=", " }%
> ... but this doesn't do what I want it to do...
> SQL is my usual forte, but we have an extensive Data Dictionary in the Wiki that I want to pair with a kind of DataSet shopping cart, so writing it via the Wiki is where I am at.
> --
> Aaron
> <ajz.vcf>