Item1127: Search needs a way to return output from generic meta data.

Priority: Enhancement
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Engine
Reported By: DeanSpicer
Waiting For:
Last Change By: KennethLavrsen
Search needs a way to return generic meta data. Like the formatted search parameter $formfield() but for generic meta data...$meta() perhaps?

As an example, I use the WorkflowPlugin which generates meta data that looks like:

I search it with the following:
"%SEARCH{"!='RELEASED' type="query" format="| [[$topic]] | $formfield(Requestedby) | $formfield(DateRequested) | $formfield(DescriptionofChange) |"}%
I'd like an easy way to pull out the value of in the search by writing something like:
"%SEARCH{"!='RELEASED' type="query" format="| [[$topic]] | $meta( | $formfield(Requestedby) | $formfield(DateRequested) | $formfield(DescriptionofChange) |"}%

agreed - this is sort of related to the mash of ideas that I have for ExtractAndCentralizeFormattingRefactor, and ResultSets etc, but I can't quickly find the other feature req - deals with adding a TOM addressing renderer

-- SvenDowideit - 20 Mar 2009

I think CleanerSyntaxForMetaDataAccess implements this.


-- SvenDowideit - 14 May 2010

This is addressed by %QUERY, added in 1.1

-- CrawfordCurrie - 20 May 2010

ItemTemplate edit

Summary Search needs a way to return output from generic meta data.
ReportedBy DeanSpicer
Codebase trunk
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Engine
Priority Enhancement
CurrentState Closed
Checkins distro:59938e658a71
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r6 - 04 Oct 2010, KennethLavrsen - This page was cached on 16 Feb 2021 - 01:29.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy