Ok, thx.
Hello! This information is in header that's why it's included. You can avoid it using JS or add label to header and try to work with label (in services map from/to label).
Hi,
I have already tried label but it does the same. Instead of returning....
"Category": text click to expand contents..........
It returns
"Label":..... and the values of all three collapseblockheaders.
Could you give us your public app link and steps to reproduce?
App: three cities
Register to get username & Password
Home Page: Touch 3rd Icon at top (compass)
Select kwazulu Natal
Touch Alpine Heath
Touch ...More in Footer
Touch Menu Button
Select All Day Menu
You will see Menu Items on Collapse Block
Touching Salads should give you the menu options for Salads in Listview but the Content area stays blank
Let em know if you want me to share the app.
yes, please share with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a
Hi
I found a workaround.
On CollapseBlock Expand Event, store the value of the label to a Local Variable first (Do not map direct from the label in the Header of the CollapseBlockHeader. For some or other reason the value returned contains the structure info as well)and map the Local Stored variable instead. So the js code for the WHERE mapping now looks like this...
return ('{ $and: [ { "Category": "' + localStorage.getItem("MenuCat") + '" }, { "Property": "' + localStorage.getItem("PropertyName") + '" } ] }');
Hello Deon! Thank you for update. That's strange as mapping from label to parameter works for us directly (without saving to localStorage). Anyway glad it's working!
I will check again and confirm.