Hi all,
I am working on an application that consumes a Stream Layer to display the location and attributes of my assets on a map. I have configured a GeoEvent service using ESRI GeoEvent and published a track aware Stream Layer my Enterprise Portal.
I am developing the app by extending ESRI Experience builder. I would like to symbolise the Stream layer using an attribute field so different assets will be displayed with different symbols on the map. In addition I would like to also set the ageReceived purgeOption property to say 30 minutes so that all events that are older than this automatically drop off the map.
It looks like I can't symbolise using attributes in ESRI Portal or set the purgeOptions property. Apparently these properties can be set programmatically.
Where do I put the code to set these properties when my experience loads if I am developing my app extending Experience builder? Is there an onAppLoad event?
Any pointers will be greatly appreciated.