You are here: Foswiki>Tasks Web>Item2386 (03 Apr 2011, PaulHarvey)Edit Attach

Item2386: missing format operator - $preference() or extend $meta()

pencil
Priority: Enhancement
Current State: Confirmed
Released In: n/a
Target Release: n/a
Applies To: Engine
Component: FoswikiMeta, SEARCH
Branches:
Reported By: SvenDowideit
Waiting For: PaulHarvey, SvenDowideit
Last Change By: PaulHarvey
<AlexWayne> Hello everyone. I am trying to pass a value to a field in a form taken from a variable, but so far have not been able to.  Is there a way to do it? My case: I am using the Workflow Plugin and have a variable: %WORKFLOWLASTTIME_APPROVED% and I want to assign the variable value to a form field, so I can use the $formfield() in formatted searches... any idea? thx
<CDot> you can't do that, but you can do something else....
<CDot> workflow plugin stores it's data in a %META: tag in the topic, which can be searched using a query search
<CDot> oh, um, but there's no way to get it using $formfield()
* colas__blue (n=ColasNah@out-of.ilog.fr) has joined #foswiki
<AlexWayne> Tricky. It should be interesting to have something like $meta()
* Lynnwood has quit ()
* meiki (n=bigmeiki@mail.uds.de) has left #foswiki
<AlexWayne> Is there some other way to put metadata in a search result? I have found in the documentation that it can be used for searching though.
<CDot> AlexWayne: unfortunately the designers of %SEARCH didn't consider that :-(
<CDot> you can use a $pattern(), I guess

basically, we need to provide ways for Set * to be identical to META:PREFERNCE and then promote that to the same level of support as META:FORMFIELD

TOM, format and so on.

-- SvenDowideit - 20 Nov 2009

this would be addressed by SynchroniseInlineAndMetaPrefs

-- SvenDowideit - 17 Mar 2011

ItemTemplate edit

Summary missing format operator - $preference() or extend $meta()
ReportedBy SvenDowideit
Codebase trunk
SVN Range SVN 5582: Foswiki-1.1.0-dev, Thu, 29 Oct 2009, build 5392
AppliesTo Engine
Component FoswikiMeta, SEARCH
Priority Enhancement
CurrentState Confirmed
WaitingFor PaulHarvey, SvenDowideit
Checkins
TargetRelease n/a
ReleasedIn n/a
Topic revision: r4 - 03 Apr 2011, PaulHarvey
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