Hi All
I am building an ExB app with a custom widget.
In the widget I have a FeatureLayerDataSource with a single record in it (its actually a filtered dataview). I am trying to get the geometry of that feature but everything I tried returns null. I have traced the issue back to getting the dataRecord from the dataSource. I have tried the following commands and they all return a populated attribute object but a null geometry property for the feature object in the returned dataRecord:
dataSource.getRecord(0)
dataSource.getRecord(0) as FeatureDataRecord
dataSource.getRecords()[0]
dataSource.getRecordsWithSelection()[0]
Can someone assist me with getting the geometry from a record in a dataSource and/or can this be confirmed as a bug?
Thanks