<?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: Custom Widget to Retrieve Data from SQL Server - Where to Start? in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/custom-widget-to-retrieve-data-from-sql-server/m-p/438052#M11567</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chip,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Here are a couple of url I would recommend:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.codeproject.com/Articles/255684/Create-and-Consume-RESTFul-Service-in-NET-Framework" title="https://www.codeproject.com/Articles/255684/Create-and-Consume-RESTFul-Service-in-NET-Framework"&gt;Create and Consume RESTFul Service in .NET Framework 4.0 - CodeProject&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.vb-tips.com/Making_a_REST_service_with_VB_and_WCF.aspx" title="http://www.vb-tips.com/Making_a_REST_service_with_VB_and_WCF.aspx"&gt;VB-Tips - Tips&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 25 Dec 2016 18:13:55 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2016-12-25T18:13:55Z</dc:date>
    <item>
      <title>Custom Widget to Retrieve Data from SQL Server - Where to Start?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/custom-widget-to-retrieve-data-from-sql-server/m-p/438049#M11564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We host a SQL Server database that stores the detailed results of sample data.&amp;nbsp; The database schema is moderately complex.&lt;/P&gt;&lt;P&gt;I would like to develop a widget that would allow a user to "query" the database.&amp;nbsp; I envision the widget giving the user the option to select several options - like date range, chemical name, sample matrix, etc, then having the widget return a "layer" showing the location of the results.&lt;/P&gt;&lt;P&gt;I'd like this to be a completely ArcGIS Online solution (i.e. no need to host my own instance of ArcGIS Server).&lt;/P&gt;&lt;P&gt;Where would I start developing something like this? I can think of numerous pathways to get to this endpoint. The two (very rough) ideas that I have come up with so far:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Create a stored procedure on the SQL server side that returns query results as JSON.&lt;/LI&gt;&lt;LI&gt;Build a Geoprocessing script that&lt;UL&gt;&lt;LI&gt;passes the inputs to SQL Server&lt;/LI&gt;&lt;LI&gt;builds a query table&lt;/LI&gt;&lt;LI&gt;builds an event theme&lt;/LI&gt;&lt;LI&gt;converts event theme to a temporary feature class&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The second option seems easy to build, but not very practical, and I'm not sure if there's any way to leverage the concept of temporary or "in memory" feature classes on ArcGIS Online.&lt;/P&gt;&lt;P&gt;I feel like a solution to this must already exist in some form, and I'm not really wed to any particular approach... I'm just trying to develop the correct questions or "Google Syntax" so that I can hone in on work that others have already done.&lt;/P&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2016 13:00:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/custom-widget-to-retrieve-data-from-sql-server/m-p/438049#M11564</guid>
      <dc:creator>ChipHankley1</dc:creator>
      <dc:date>2016-06-27T13:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Widget to Retrieve Data from SQL Server - Where to Start?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/custom-widget-to-retrieve-data-from-sql-server/m-p/438050#M11565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chip,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; What I do on my end is just create a RESTful web service in Visual Studio VB.net and then consume this from a custom widgets code using esriRequest.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2016 15:51:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/custom-widget-to-retrieve-data-from-sql-server/m-p/438050#M11565</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-07-11T15:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Widget to Retrieve Data from SQL Server - Where to Start?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/custom-widget-to-retrieve-data-from-sql-server/m-p/438051#M11566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Robert... thanks and sorry it's taken me so long to acknowledge this. I've been contemplating this all fall. I have a couple of use cases now for building a REST interface for our database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is so much information out there about REST... Can you recommend a good starting point? &amp;nbsp;I don't know if I need to build my own API or if there is something that I can just drop on top of my database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Dec 2016 01:54:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/custom-widget-to-retrieve-data-from-sql-server/m-p/438051#M11566</guid>
      <dc:creator>ChipHankley1</dc:creator>
      <dc:date>2016-12-25T01:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Widget to Retrieve Data from SQL Server - Where to Start?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/custom-widget-to-retrieve-data-from-sql-server/m-p/438052#M11567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chip,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Here are a couple of url I would recommend:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.codeproject.com/Articles/255684/Create-and-Consume-RESTFul-Service-in-NET-Framework" title="https://www.codeproject.com/Articles/255684/Create-and-Consume-RESTFul-Service-in-NET-Framework"&gt;Create and Consume RESTFul Service in .NET Framework 4.0 - CodeProject&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.vb-tips.com/Making_a_REST_service_with_VB_and_WCF.aspx" title="http://www.vb-tips.com/Making_a_REST_service_with_VB_and_WCF.aspx"&gt;VB-Tips - Tips&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Dec 2016 18:13:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/custom-widget-to-retrieve-data-from-sql-server/m-p/438052#M11567</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-12-25T18:13:55Z</dc:date>
    </item>
  </channel>
</rss>

