<?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 Re: Get SQL views to completely draw in AGOL in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/get-sql-views-to-completely-draw-in-agol/m-p/794404#M2303</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;George,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;No, initially the view did not work correctly in Pro - it appeared to be drawing everything when zoomed way out, but as I zoomed in features would start to drop out (weird, I know).&amp;nbsp; When you say "registered with AGOL", are you talking about registering it with SDE (right-click in Catalog) or something else?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;Max # records for service = 2,000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;Total Records in View = 11,046 (points)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;Yes, this particular view is a join of two different databases.&amp;nbsp; But we've had similar trouble with views before.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Having said that, we've apparently fixed our issue.&amp;nbsp; On&amp;nbsp;the view side of things there were some things not quite right.&amp;nbsp; Changes we made included "return top 100%" and fixing some issue with the OBJECTIDs (casting a source field as INT to get this to work properly).&amp;nbsp; Initially, when we were having issues, I noticed that SOMEHOW every other record had an OBJECTID = 0 (yeah, that could be a problem, eh?).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I'm really in need of is a tutorial or detailed step-by-step example starting with a non-GIS table (containing XY values) in SDE and the whole process of creating a spatial view from it in SQL, with all the bells and whistles to make ESRI in general and AGOL in particular happy with the result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for taking an interest,&lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Oct 2020 14:34:03 GMT</pubDate>
    <dc:creator>JayJohnsonWashoeCounty</dc:creator>
    <dc:date>2020-10-15T14:34:03Z</dc:date>
    <item>
      <title>Get SQL views to completely draw in AGOL</title>
      <link>https://community.esri.com/t5/geodatabase-questions/get-sql-views-to-completely-draw-in-agol/m-p/794402#M2301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have had trouble getting spatial views (typically points) created in SQL to behave in AGOL.&amp;nbsp; Sometimes they will only draw a few of the features, or most, but not all the features.&amp;nbsp; Seems like different points will draw&amp;nbsp;(or NOT)&amp;nbsp;as we&amp;nbsp;zoom in and out.&amp;nbsp; Is there a guide to best practices for creating a view in SQL and then doing whatever it is that ESRI needs to make it happy with the view?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I imagine that this SOP would include registering the view with SDE and maybe adding a GlobalID, plus possibly a bunch of other steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone point me to a comprehensive&amp;nbsp;resource?&amp;nbsp; &lt;A href="https://community.esri.com/migrated-users/3381"&gt;Melissa Jarman&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2020 21:45:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/get-sql-views-to-completely-draw-in-agol/m-p/794402#M2301</guid>
      <dc:creator>JayJohnsonWashoeCounty</dc:creator>
      <dc:date>2020-10-14T21:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: Get SQL views to completely draw in AGOL</title>
      <link>https://community.esri.com/t5/geodatabase-questions/get-sql-views-to-completely-draw-in-agol/m-p/794403#M2302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does the view work correctly from the Server end point (in ArcGIS Pro / JS Viewer) before registering it with ArcGIS Online?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the max # of records for the service?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How many records are in the view?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the view joining between 2 different databases?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2020 10:55:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/get-sql-views-to-completely-draw-in-agol/m-p/794403#M2302</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2020-10-15T10:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: Get SQL views to completely draw in AGOL</title>
      <link>https://community.esri.com/t5/geodatabase-questions/get-sql-views-to-completely-draw-in-agol/m-p/794404#M2303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;George,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;No, initially the view did not work correctly in Pro - it appeared to be drawing everything when zoomed way out, but as I zoomed in features would start to drop out (weird, I know).&amp;nbsp; When you say "registered with AGOL", are you talking about registering it with SDE (right-click in Catalog) or something else?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;Max # records for service = 2,000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;Total Records in View = 11,046 (points)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;Yes, this particular view is a join of two different databases.&amp;nbsp; But we've had similar trouble with views before.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Having said that, we've apparently fixed our issue.&amp;nbsp; On&amp;nbsp;the view side of things there were some things not quite right.&amp;nbsp; Changes we made included "return top 100%" and fixing some issue with the OBJECTIDs (casting a source field as INT to get this to work properly).&amp;nbsp; Initially, when we were having issues, I noticed that SOMEHOW every other record had an OBJECTID = 0 (yeah, that could be a problem, eh?).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I'm really in need of is a tutorial or detailed step-by-step example starting with a non-GIS table (containing XY values) in SDE and the whole process of creating a spatial view from it in SQL, with all the bells and whistles to make ESRI in general and AGOL in particular happy with the result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for taking an interest,&lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2020 14:34:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/get-sql-views-to-completely-draw-in-agol/m-p/794404#M2303</guid>
      <dc:creator>JayJohnsonWashoeCounty</dc:creator>
      <dc:date>2020-10-15T14:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: Get SQL views to completely draw in AGOL</title>
      <link>https://community.esri.com/t5/geodatabase-questions/get-sql-views-to-completely-draw-in-agol/m-p/794405#M2304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an example of a spatial view we use, the crw_land view is a join between the city land files and the county appraiser’s data joined to the parcel layer.  One view/table needs to own the objectids, or you can always do a row over sql statement (however those don’t perform all that well).  All that said before you start publishing data the sql view/table stuff should be worked out first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT        gis.crw_gisland.OBJECTID, gis.FABRICPARCELS_V.Name AS Strap, gis.crw_gisland.Strap AS Owner_Strap, gis.crw_gisland.Block, gis.crw_gisland.Lot, gis.crw_gisland.Street_Number, gis.crw_gisland.Site_Address,&lt;/P&gt;&lt;P&gt;                         gis.crw_gisland.SITE_UNIT_NO AS Site_Unit_Number, gis.crw_gisland.SiteZip, gis.crw_gisland.Owner_Name, gis.crw_gisland.OwnerOthers, gis.crw_gisland.OwnerCareOf, gis.crw_gisland.Mailing_Addr1,&lt;/P&gt;&lt;P&gt;                         gis.crw_gisland.Mailing_Addr2, gis.crw_gisland.Mailing_City, gis.crw_gisland.Mailing_State, gis.crw_gisland.Mailing_Zip, gis.crw_gisland.Improved, gis.crw_gisland.Foreign_Address, gis.crw_gisland.State_Use_Code,&lt;/P&gt;&lt;P&gt;                         gis.crw_gisland.Future_Land_Use, gis.crw_gisland.Zoning, gis.crw_gisland.Legal, gis.crw_gisland.Council_District, gis.crw_gisland.CO_Date, gis.crw_gisland.Assessed, gis.crw_gisland.Building, gis.crw_gisland.Land,&lt;/P&gt;&lt;P&gt;                         gis.crw_gisland.WATER, gis.crw_gisland.SEWER, gis.crw_gisland.IRRIGATION, gis.crw_gisland.GACUNT, gis.crw_gisland.Building_Impervious, gis.crw_gisland.Open_Air_Impervious, gis.crw_gisland.Coastal_Hazard,&lt;/P&gt;&lt;P&gt;                         gis.crw_gisland.FolioID, gis.crw_gisland.Flood_Zone, gis.crw_gisland.FIRM_Panel_No, gis.crw_gisland.SEWERDISTRICT AS Sewer_Impact_Dist, gis.crw_gisland.PARKING_ASSESS_DATE,&lt;/P&gt;&lt;P&gt;                         gis.crw_gisland.SEAWALL_ASSESS_DATE, gis.crw_gisland.SEAWALLASSESSMENT, gis.crw_gisland.PARKGLOTASSESSMENT, gis.crw_gisland.Confidential, gis.crw_gisland.GEOTYPE,&lt;/P&gt;&lt;P&gt;                         gis.FABRICPARCELS_V.OBJECTID AS parcelobj, gis.FABRICPARCELS_V.Shape&lt;/P&gt;&lt;P&gt;FROM            gis.crw_gisland INNER JOIN&lt;/P&gt;&lt;P&gt;                         gis.FABRICPARCELS_V ON gis.crw_gisland.FolioID = gis.FABRICPARCELS_V.FolioID&lt;/P&gt;&lt;P&gt;WHERE        (gis.crw_gisland.Confidential IS NULL)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Craig Swadner (GIS Coordinator)&lt;/P&gt;&lt;P&gt;City of Cape Coral&lt;/P&gt;&lt;P&gt;1015 Cultural Park Blvd.&lt;/P&gt;&lt;P&gt;Cape Coral, Fl 33990&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you know the best way to report issues to ITS is to use the Service Desk system?  This will ensure someone in ITS gets your request and allows us to track the progress.  Please enter all your issues and/or questions by clicking https://breeze.cape.capecoral.net&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2020 14:47:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/get-sql-views-to-completely-draw-in-agol/m-p/794405#M2304</guid>
      <dc:creator>CraigSwadner</dc:creator>
      <dc:date>2020-10-15T14:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Get SQL views to completely draw in AGOL</title>
      <link>https://community.esri.com/t5/geodatabase-questions/get-sql-views-to-completely-draw-in-agol/m-p/794406#M2305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the best workflow to accomplish what you are trying to do:&amp;nbsp;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/help/data/geodatabases/manage-sql-server/views-in-geodatabase.htm" title="https://pro.arcgis.com/en/pro-app/help/data/geodatabases/manage-sql-server/views-in-geodatabase.htm"&gt;Views in an enterprise geodatabase—ArcGIS Pro | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2020 15:54:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/get-sql-views-to-completely-draw-in-agol/m-p/794406#M2305</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2020-10-15T15:54:46Z</dc:date>
    </item>
  </channel>
</rss>

