Hello!
There is probably two parts to this question.
Using Experience Builder and the Feature Report widget I am trying to create reporting functionality that includes a map as part of the output. I have got the general functionality working, but now have some more detailed needs.
My Feature Report widget is linked to a Feature Layer not a Survey123 form. A user will be selecting some features using other widgets and then generating a report for these features.
1st part of question:
I need to include a map that shows only a subset of features in a web map - in this case the rooms on a specific floor of a building. I have initially tried to hard code the expression to at least get it working in the first instance, but it's not. My current expression is:
${$shape | where:”1=1” | map: "<map id>" | mapFilters:”’<layer id>’:where=<field>=’<value>’” | mapScale: 500 | size:600:450}
Any insights into why the above isn't filtering the data? I have received the error msg - 'The layer "Units" did not draw completely.'
2nd part of question:
If the 1st part gets resolved I then need to change the expression to get the floor record, i.e. the <value> part of the above expression to be dynamically read from the features the user has selected. They will be selecting rooms from only 1 floor, but it could be any floor of any building. How do I incorporate this within the expression?
Hope this makes sense
Cheers
SCB