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

pencil
Priority: Enhancement
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Engine
Component:
Branches:
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:
META:WORKFLOW{name="FORAPPROVAL" LASTTIME_FORAPPROVAL="19 Feb 2009 - 16:33"}

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

Dean?

-- 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
Component
Priority Enhancement
CurrentState Closed
WaitingFor
Checkins distro:59938e658a71
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r6 - 04 Oct 2010, KennethLavrsen
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