<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Getting the geometry from a DataRecord in Experience Builder Custom Widgets</title>
    <link>https://community.esri.com/t5/experience-builder-custom-widgets/getting-the-geometry-from-a-datarecord/m-p/1184589#M38</link>
    <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;I hope someone can help me with this fairly quickly, as I have a demo tomorrow to a customer and I am doing my head in trying to resolve this.&lt;/P&gt;&lt;P&gt;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, these all return a populated attribute object but a null geometry property for the feature object in the returned dataRecord:&lt;/P&gt;&lt;P&gt;dataSource.getRecord(0)&lt;/P&gt;&lt;P&gt;dataSource.getRecord(0) as FeatureDataRecord&lt;/P&gt;&lt;P&gt;dataSource.getRecords()[0]&lt;/P&gt;&lt;P&gt;dataSource.getRecordsWithSelection()[0]&lt;/P&gt;&lt;P&gt;Can someone assist me with getting the geometry from a record in a dataSource and/or can this be confirmed as a bug?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jun 2022 08:39:17 GMT</pubDate>
    <dc:creator>MarkJTurnbull</dc:creator>
    <dc:date>2022-06-21T08:39:17Z</dc:date>
    <item>
      <title>Getting the geometry from a DataRecord</title>
      <link>https://community.esri.com/t5/experience-builder-custom-widgets/getting-the-geometry-from-a-datarecord/m-p/1184589#M38</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;I hope someone can help me with this fairly quickly, as I have a demo tomorrow to a customer and I am doing my head in trying to resolve this.&lt;/P&gt;&lt;P&gt;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, these all return a populated attribute object but a null geometry property for the feature object in the returned dataRecord:&lt;/P&gt;&lt;P&gt;dataSource.getRecord(0)&lt;/P&gt;&lt;P&gt;dataSource.getRecord(0) as FeatureDataRecord&lt;/P&gt;&lt;P&gt;dataSource.getRecords()[0]&lt;/P&gt;&lt;P&gt;dataSource.getRecordsWithSelection()[0]&lt;/P&gt;&lt;P&gt;Can someone assist me with getting the geometry from a record in a dataSource and/or can this be confirmed as a bug?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2022 08:39:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/experience-builder-custom-widgets/getting-the-geometry-from-a-datarecord/m-p/1184589#M38</guid>
      <dc:creator>MarkJTurnbull</dc:creator>
      <dc:date>2022-06-21T08:39:17Z</dc:date>
    </item>
  </channel>
</rss>

