<?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 DB Connectivity through API 4.x in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/db-connectivity-through-api-4-x/m-p/553839#M51674</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to connect and display db data in a report format through a asp files as follows -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function gwicrecord1(feature) {&lt;/P&gt;&lt;P&gt;// Add green arrow if the percent change is positive and a red arrow for negative percent change.&lt;BR /&gt; return ("&amp;lt;table&amp;gt;" +&lt;BR /&gt; "&amp;lt;tr valign='top'&amp;gt;&amp;lt;td style='white-space:nowrap;'&amp;gt;Site Name&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;{site_name}&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;" +&lt;BR /&gt; &lt;STRONG&gt;"&amp;lt;tr&amp;gt;&amp;lt;td style='white-space:nowrap;'&amp;gt;Site Report&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;a target='_newwellwin' href='http://mbmggwic.mtech.edu/sqlserver/v11/reports/SiteSummary.asp?gwicid=${gwicid}&amp;amp;agency=mbmg&amp;amp;reqby=M&amp;amp;'&amp;gt;View&amp;lt;/a&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;" +&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; "&amp;lt;tr&amp;gt;&amp;lt;td style='white-space:nowrap;'&amp;gt;Site Type&amp;lt;/td&amp;gt;&amp;lt;td style='white-space:nowrap;'&amp;gt;{site_type}&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;"&lt;/STRONG&gt; +&lt;BR /&gt; "&amp;lt;tr&amp;gt;&amp;lt;td style='white-space:nowrap;'&amp;gt;Location&amp;lt;/td&amp;gt;&amp;lt;td style='white-space:nowrap;'&amp;gt;{township} {range} {section} {qsection}&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;" +&lt;BR /&gt; &lt;STRONG&gt;"&amp;lt;tr&amp;gt;&amp;lt;td style='white-space:nowrap;'&amp;gt;Water Levels&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;{swl_meas} &amp;lt;a target='_newwellwin' href='http://mbmggwic.mtech.edu/sqlserver/v11/reports/WellHydrograph.asp?gwicid=${gwicid}&amp;amp;agency=mbmg&amp;amp;reqby=M&amp;amp;'&amp;gt;Graph&amp;lt;/a&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;"&lt;/STRONG&gt; +&lt;BR /&gt; "&amp;lt;tr&amp;gt;&amp;lt;td style='white-space:nowrap;'&amp;gt;Samples&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;{samples}&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;" +&lt;BR /&gt; "&amp;lt;tr&amp;gt;&amp;lt;td style='white-space:nowrap;'&amp;gt;Field Visits&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;{field_visits}&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;" +&lt;BR /&gt; "&amp;lt;/table&amp;gt;");&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The WellHYdrograph.asp is displaying right. But SiteSummary.asp is not able to show the data report. Instead it is throwing the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="background-color: #555555; font-size: 11.2px; padding: 6px 38.3906px;"&gt;&lt;H1 style="color: #ffffff; font-size: 2.4em;"&gt;Server Error&lt;/H1&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; font-size: 11.2px; margin: 0px 0px 0px 38.3906px;"&gt;&lt;DIV class="" style="background: #ffffff; margin-top: 8px; padding: 10px;"&gt;&lt;FIELDSET style="padding: 0px 15px 10px;"&gt;&lt;H2 style="color: #cc0000; font-size: 1.7em;"&gt;500 - Internal server error.&lt;/H2&gt;&lt;H3 style="color: #000000; font-size: 1.2em; margin: 10px 0px 0px;"&gt;There is a problem with the resource you are looking for, and it cannot be displayed.&lt;/H3&gt;&lt;/FIELDSET&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I doing anything wrong? Please help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Nov 2019 23:37:22 GMT</pubDate>
    <dc:creator>BulbulMajumder</dc:creator>
    <dc:date>2019-11-08T23:37:22Z</dc:date>
    <item>
      <title>DB Connectivity through API 4.x</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/db-connectivity-through-api-4-x/m-p/553839#M51674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to connect and display db data in a report format through a asp files as follows -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function gwicrecord1(feature) {&lt;/P&gt;&lt;P&gt;// Add green arrow if the percent change is positive and a red arrow for negative percent change.&lt;BR /&gt; return ("&amp;lt;table&amp;gt;" +&lt;BR /&gt; "&amp;lt;tr valign='top'&amp;gt;&amp;lt;td style='white-space:nowrap;'&amp;gt;Site Name&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;{site_name}&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;" +&lt;BR /&gt; &lt;STRONG&gt;"&amp;lt;tr&amp;gt;&amp;lt;td style='white-space:nowrap;'&amp;gt;Site Report&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;a target='_newwellwin' href='http://mbmggwic.mtech.edu/sqlserver/v11/reports/SiteSummary.asp?gwicid=${gwicid}&amp;amp;agency=mbmg&amp;amp;reqby=M&amp;amp;'&amp;gt;View&amp;lt;/a&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;" +&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; "&amp;lt;tr&amp;gt;&amp;lt;td style='white-space:nowrap;'&amp;gt;Site Type&amp;lt;/td&amp;gt;&amp;lt;td style='white-space:nowrap;'&amp;gt;{site_type}&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;"&lt;/STRONG&gt; +&lt;BR /&gt; "&amp;lt;tr&amp;gt;&amp;lt;td style='white-space:nowrap;'&amp;gt;Location&amp;lt;/td&amp;gt;&amp;lt;td style='white-space:nowrap;'&amp;gt;{township} {range} {section} {qsection}&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;" +&lt;BR /&gt; &lt;STRONG&gt;"&amp;lt;tr&amp;gt;&amp;lt;td style='white-space:nowrap;'&amp;gt;Water Levels&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;{swl_meas} &amp;lt;a target='_newwellwin' href='http://mbmggwic.mtech.edu/sqlserver/v11/reports/WellHydrograph.asp?gwicid=${gwicid}&amp;amp;agency=mbmg&amp;amp;reqby=M&amp;amp;'&amp;gt;Graph&amp;lt;/a&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;"&lt;/STRONG&gt; +&lt;BR /&gt; "&amp;lt;tr&amp;gt;&amp;lt;td style='white-space:nowrap;'&amp;gt;Samples&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;{samples}&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;" +&lt;BR /&gt; "&amp;lt;tr&amp;gt;&amp;lt;td style='white-space:nowrap;'&amp;gt;Field Visits&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;{field_visits}&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;" +&lt;BR /&gt; "&amp;lt;/table&amp;gt;");&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The WellHYdrograph.asp is displaying right. But SiteSummary.asp is not able to show the data report. Instead it is throwing the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="background-color: #555555; font-size: 11.2px; padding: 6px 38.3906px;"&gt;&lt;H1 style="color: #ffffff; font-size: 2.4em;"&gt;Server Error&lt;/H1&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; font-size: 11.2px; margin: 0px 0px 0px 38.3906px;"&gt;&lt;DIV class="" style="background: #ffffff; margin-top: 8px; padding: 10px;"&gt;&lt;FIELDSET style="padding: 0px 15px 10px;"&gt;&lt;H2 style="color: #cc0000; font-size: 1.7em;"&gt;500 - Internal server error.&lt;/H2&gt;&lt;H3 style="color: #000000; font-size: 1.2em; margin: 10px 0px 0px;"&gt;There is a problem with the resource you are looking for, and it cannot be displayed.&lt;/H3&gt;&lt;/FIELDSET&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I doing anything wrong? Please help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Nov 2019 23:37:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/db-connectivity-through-api-4-x/m-p/553839#M51674</guid>
      <dc:creator>BulbulMajumder</dc:creator>
      <dc:date>2019-11-08T23:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connectivity through API 4.x</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/db-connectivity-through-api-4-x/m-p/553840#M51675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is an example&amp;nbsp;&lt;STRONG style="border: 0px; background-color: #ffffff; font-weight: inherit; font-size: 14px; "&gt;gwicid &lt;/STRONG&gt;value&lt;STRONG style="border: 0px; background-color: #ffffff; font-weight: inherit; font-size: 14px; "&gt;?&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2019 14:19:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/db-connectivity-through-api-4-x/m-p/553840#M51675</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-11-25T14:19:01Z</dc:date>
    </item>
  </channel>
</rss>

