Struggle with Multi- / Single Selection - Choice values
Hi everyone
I currently struggle with a rather simple topic but it seems to behave weird.
i got a multi-value-lookup-column on a form ("ehApp"). The choices are coming from a configuration list.
ii can easily select one or multiple values and save the form.
On the same form, i got a calculated field, where i make a GetFirstValueForQuery based on the selection of said field (ehApp) and i expect to get back the the field ehCategoryImageURL from this lookup.
so using the query builder this came back:
[[@Functions.GetFirstValueForQuery('Lists/config', '<View Scope="Recursive"><Query><Where><In><FieldRef Name="Title" /><Values MultipleValuesDelimiter="," ProviderType="FormInput"><Value Type="Text">[[ehApp]]</Value></Values></In></Where></Query><RowLimit>1</RowLimit></View>', 'ehCategoryImageURL')]]
In the query builder everything works as expected.
However, on the form this only works when i use a SINGLE selection of said field. If i select multiple values, the Function is returning "null".
In the query builder everything works as expected.
However, on the form this only works when i use a SINGLE selection of said field. If i select multiple values, the Function is returning "null".
Do i miss something here?!
Best wishes and thanks a lot
Dieter
0
Please sign in to leave a comment.
Comments
0 comments