Priority: Enhancement
Current State: Confirmed
Released In: n/a
Target Release: n/a
<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