<?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 Query Layer and ArcGIS Server and Javascript API in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/query-layer-and-arcgis-server-and-javascript-api/m-p/735796#M27954</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a feature class that I want to join to a database view that contains related business data for the features on the map.&amp;nbsp; I want to expose this join as a feature service and dynamic map service in ArcGIS Server.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried creating a query layer based on a database view I created that joins the featureclass with the business table.&amp;nbsp;&amp;nbsp; This seems to work fine in ArcMAP, however, when I expose the new feature in ArcGIS Server it doesn't seem to work.&amp;nbsp; I can add the new ArcGIS Server service to the map and it will display the features but when I do an identify on the features it doesn't come back with any data.&amp;nbsp;&amp;nbsp;&amp;nbsp; Additionally, when I try and utilize the new service in the ArcGIS Server Javascript API as a feature class it doesn't load any data at all.&amp;nbsp;&amp;nbsp;&amp;nbsp; It works fine when i access the web service that is hitting the raw feature class but not with the query layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have also tried creating a MXD that does a regular JOIN to the business table.&amp;nbsp; However, doing it this way does not expose the attributes that should be included from the join.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There must be a way to do this and link to business tables to spatial tables.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using Oracle 11g Enterprise and ArcGIS Sever 10.2&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would be appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Feb 2014 20:48:42 GMT</pubDate>
    <dc:creator>SteveMacLean</dc:creator>
    <dc:date>2014-02-05T20:48:42Z</dc:date>
    <item>
      <title>Query Layer and ArcGIS Server and Javascript API</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/query-layer-and-arcgis-server-and-javascript-api/m-p/735796#M27954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a feature class that I want to join to a database view that contains related business data for the features on the map.&amp;nbsp; I want to expose this join as a feature service and dynamic map service in ArcGIS Server.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried creating a query layer based on a database view I created that joins the featureclass with the business table.&amp;nbsp;&amp;nbsp; This seems to work fine in ArcMAP, however, when I expose the new feature in ArcGIS Server it doesn't seem to work.&amp;nbsp; I can add the new ArcGIS Server service to the map and it will display the features but when I do an identify on the features it doesn't come back with any data.&amp;nbsp;&amp;nbsp;&amp;nbsp; Additionally, when I try and utilize the new service in the ArcGIS Server Javascript API as a feature class it doesn't load any data at all.&amp;nbsp;&amp;nbsp;&amp;nbsp; It works fine when i access the web service that is hitting the raw feature class but not with the query layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have also tried creating a MXD that does a regular JOIN to the business table.&amp;nbsp; However, doing it this way does not expose the attributes that should be included from the join.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There must be a way to do this and link to business tables to spatial tables.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using Oracle 11g Enterprise and ArcGIS Sever 10.2&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would be appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2014 20:48:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/query-layer-and-arcgis-server-and-javascript-api/m-p/735796#M27954</guid>
      <dc:creator>SteveMacLean</dc:creator>
      <dc:date>2014-02-05T20:48:42Z</dc:date>
    </item>
  </channel>
</rss>

