Hi
I have a collapsable set. The collapseblock header is dynamically populated with a description from the collection. This works perfectly.
Now I am trying to get a listview in the content of the collapseblock to display data based on the collapseblockheader text value.
I have mapped the collapseblockheader text to the Where Paramer in the Query service.
I invoke the service on expansion of the collapseblock, but the list is empty.
It works.
Is it correct to map against the CollapseBlock Header Text?
If I put a label containing the same text as the Cllapseblock header on the outside of the Collapseblock and change the Mapping it works but obviously not dynamically.
Please can you let me know if my mapping is correct.
My JS for the mapping is...
return ('{ $and: [ { "Category": "'+value+'" }, { "Property": "' + localStorage.getItem("PropertyName") + '" } ] }');
As I said this works with a label containing the Category Value.