<?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 Spatial Reference of Null Error in ArcGIS AppStudio Questions</title>
    <link>https://community.esri.com/t5/arcgis-appstudio-questions/spatial-reference-of-null-error/m-p/1017136#M3750</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I am working with the QuickReport template. Today I added a Feature Service via the Settings and now when I run the app it will not get past the disclaimer page. I also have a web map that I am using for the Refine Location page with the Feature Service as one of the layers.&lt;/P&gt;&lt;P&gt;I get the following error:&lt;/P&gt;&lt;P&gt;TypeErrror: Cannot read property 'spatialReference' of null&lt;/P&gt;&lt;P&gt;I have included the screen shot of the error and the line(s) of code that the hyperlink links to if you click on it.&lt;/P&gt;&lt;P&gt;I checked the Feature Service and it seems to have a spatial reference. I also copied and pasted the Feature Service layer used in the 311 app demo and it works fine. When I open the two Feature Services side by side in different windows the only difference I see in my metadata compared the file that actually works is that my layer does not have a spatial reference under extent. Could this be the issue?&lt;/P&gt;&lt;P&gt;&lt;A href="https://services6.arcgis.com/TRp7qJKKVWTcWaHY/arcgis/rest/services/Arborglyph_Locations/FeatureServer/0" target="_blank"&gt;https://services6.arcgis.com/TRp7qJKKVWTcWaHY/arcgis/rest/services/Arborglyph_Locations/FeatureServer/0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If so, how do you add an extent to the layer. I have done it to the Feature Service.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Jan 2021 01:51:28 GMT</pubDate>
    <dc:creator>GarrettRSmith</dc:creator>
    <dc:date>2021-01-15T01:51:28Z</dc:date>
    <item>
      <title>Spatial Reference of Null Error</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/spatial-reference-of-null-error/m-p/1017136#M3750</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I am working with the QuickReport template. Today I added a Feature Service via the Settings and now when I run the app it will not get past the disclaimer page. I also have a web map that I am using for the Refine Location page with the Feature Service as one of the layers.&lt;/P&gt;&lt;P&gt;I get the following error:&lt;/P&gt;&lt;P&gt;TypeErrror: Cannot read property 'spatialReference' of null&lt;/P&gt;&lt;P&gt;I have included the screen shot of the error and the line(s) of code that the hyperlink links to if you click on it.&lt;/P&gt;&lt;P&gt;I checked the Feature Service and it seems to have a spatial reference. I also copied and pasted the Feature Service layer used in the 311 app demo and it works fine. When I open the two Feature Services side by side in different windows the only difference I see in my metadata compared the file that actually works is that my layer does not have a spatial reference under extent. Could this be the issue?&lt;/P&gt;&lt;P&gt;&lt;A href="https://services6.arcgis.com/TRp7qJKKVWTcWaHY/arcgis/rest/services/Arborglyph_Locations/FeatureServer/0" target="_blank"&gt;https://services6.arcgis.com/TRp7qJKKVWTcWaHY/arcgis/rest/services/Arborglyph_Locations/FeatureServer/0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If so, how do you add an extent to the layer. I have done it to the Feature Service.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2021 01:51:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/spatial-reference-of-null-error/m-p/1017136#M3750</guid>
      <dc:creator>GarrettRSmith</dc:creator>
      <dc:date>2021-01-15T01:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Reference of Null Error</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/spatial-reference-of-null-error/m-p/1017162#M3751</link>
      <description>&lt;P&gt;Hello Everyone.&lt;/P&gt;&lt;P&gt;I worked out the problem. I initially uploaded a blank shapefile to ArcGIS Online. After reading some threads about spatial references in the ArcGIS Online community here I found out that there is an issue with uploading blank shapefiles and spatial reference errors. I deleted my Feature Service, added a point to the my blank shapefile in ArcMap, re-uploaded the Feature Service, and now everything works fine. I am able to see the spatial reference of the point layer now. That was a pain.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2021 04:24:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/spatial-reference-of-null-error/m-p/1017162#M3751</guid>
      <dc:creator>GarrettRSmith</dc:creator>
      <dc:date>2021-01-15T04:24:46Z</dc:date>
    </item>
  </channel>
</rss>

