I am looking for some help with using a search result value to set a $foo$ token value.
I have a search result that will return a value, field1, that I would like to pass to other views as a $foo$ token.
I am able to reference and display this field within the current view:
<module name="HTML" layoutPanel="panel_row1_col1">
<param name="html">
Value of field1: $results[0].field1$
</param>
</module>
However, I am not able to get this value inside the ValueSetter module.
<module name="ValueSetter">
<param name="urlEncodeKeys">field1</param>
<param name="name">url_encoded_keys</param>
<param name="value">field1=$results[0].field1$</param>
<module name="HTML" layoutPanel="panel_row2_col1">
<param name="html">
Go to <a href="tmp_target1?$url_encoded_keys$">Target 1</a>.<br>
<br>
Go to <a href="tmp_target2?$url_encoded_keys$">Target 2</a>.<br>
</param>
</module>
</module>
This url ends up: ..\tmp_target1?field1=
I tried to use $results[0].field.rawValue$, but this did not help.
Is there a better way (or any way) to accomplish this?
I appreciate any help or guidance.
Thanks
... View more