<?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: ArcGIS Viewer for Flex - adding operational layers from remote Arc Server in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/arcgis-viewer-for-flex-adding-operational-layers/m-p/87278#M2023</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;your type should be tiled or dynamic not feature&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Jun 2011 12:28:38 GMT</pubDate>
    <dc:creator>JoshWhite</dc:creator>
    <dc:date>2011-06-08T12:28:38Z</dc:date>
    <item>
      <title>ArcGIS Viewer for Flex - adding operational layers from remote Arc Server</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/arcgis-viewer-for-flex-adding-operational-layers/m-p/87277#M2022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am new to Flex Viewer and am currently trying to view my Map Service that comes from remote Arc GIS Server over the Internet. All parameters in the config.xml file are set up as default (I made no changes to the original file) and I am trying to add a new operational layer. I have installed (locally) Apache 2.2 as my local web server and Flexviewer v 2.3.1. I am therefore using the Flexviewer through my localhost. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My map service using a single feature class, file geodatabase with the data and mxd data frame set to WGS_1984_Web_Mercator_Auxiliary_Sphere, to be consistent with the basemap layers from arcgis online.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I haven't got the ability to install flex viewer on the actual ArcGIS service (in a different office) but I have access via ArcCatalog and ArcGIS Server Manager.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I assume the problem is either&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a) the URL structure specifying the map service, or&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;b) some issue with that fact that I'm using a remote ArcGIS Server map serivce?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Below is the code used in config.xml specifying my map service. Is this correct?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;operationallayers&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;layer label="test" type="feature" visible="true"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://myserver/arcgis/rest/services/myservice_wgs84wm/MapServer/" rel="nofollow" target="_blank"&gt;http://myserver/arcgis/rest/services/myservice_wgs84wm/MapServer/&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/operationallayers&amp;gt;&amp;nbsp;&amp;nbsp; ,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;where 'myservice_wgs84wm' is the name of my map service, served from my ArcGIS Server (named above as 'myserver').&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone advise on the structure of my URL? Do I need to include 'REST' parameter - I don't really understand this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd be grateful for any help!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Magda&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 12:18:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/arcgis-viewer-for-flex-adding-operational-layers/m-p/87277#M2022</guid>
      <dc:creator>MagdaGolubowska</dc:creator>
      <dc:date>2011-06-08T12:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Viewer for Flex - adding operational layers from remote Arc Server</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/arcgis-viewer-for-flex-adding-operational-layers/m-p/87278#M2023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;your type should be tiled or dynamic not feature&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 12:28:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/arcgis-viewer-for-flex-adding-operational-layers/m-p/87278#M2023</guid>
      <dc:creator>JoshWhite</dc:creator>
      <dc:date>2011-06-08T12:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Viewer for Flex - adding operational layers from remote Arc Server</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/arcgis-viewer-for-flex-adding-operational-layers/m-p/87279#M2024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Could this be a crossdomain.xml issue?&amp;nbsp; I had the same issue when setting up my flex map.&amp;nbsp; The operational layers code was written correctly, but I was still unable to view the REST service in my flex app.&amp;nbsp; After I placed a copy of the crossdomain.xml file in the inetpub--&amp;gt;wwwroot directory of the server running ArcServer, my app worked properly.&amp;nbsp; Good luck!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 14:07:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/arcgis-viewer-for-flex-adding-operational-layers/m-p/87279#M2024</guid>
      <dc:creator>LarryJahn</dc:creator>
      <dc:date>2011-06-08T14:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Viewer for Flex - adding operational layers from remote Arc Server</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/arcgis-viewer-for-flex-adding-operational-layers/m-p/87280#M2025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;While I'm not wholly sure about the crossdomain.xml being required, however your type is set incorrectly for a /MapServer/ . The "feature" type is for single layers from a service, you are after type="Dynamic" ( &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapps/flexviewer/help/index.html#/The_Layer_tag/01m30000000p000000/" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/webapps/flexviewer/help/index.html#/The_Layer_tag/01m30000000p000000/&lt;/A&gt;&lt;SPAN&gt; ). As well your missing a ' /&amp;gt; '&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;lt;operationallayers&amp;gt;
&amp;lt;layer label="test" type="dynamic" visible="true"
url="http://myserver/arcgis/rest/services/myservice_wgs84wm/MapServer/" /&amp;gt;
&amp;lt;/operationallayers&amp;gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 23:20:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/arcgis-viewer-for-flex-adding-operational-layers/m-p/87280#M2025</guid>
      <dc:creator>JustinRobinson</dc:creator>
      <dc:date>2021-12-10T23:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Viewer for Flex - adding operational layers from remote Arc Server</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/arcgis-viewer-for-flex-adding-operational-layers/m-p/87281#M2026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Could this be a crossdomain.xml issue?&amp;nbsp; I had the same issue when setting up my flex map.&amp;nbsp; The operational layers code was written correctly, but I was still unable to view the REST service in my flex app.&amp;nbsp; After I placed a copy of the crossdomain.xml file in the inetpub--&amp;gt;wwwroot directory of the server running ArcServer, my app worked properly.&amp;nbsp; Good luck!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello: I need to access a map service tht is outside my domain, so I believe I need to employ this crossdomain.xml solution.&amp;nbsp; Where do I get this crossdomain.xml file that I need to place in my inetpub directory?&amp;nbsp; Is this a generic file, or is it a file found on the server that I getting the map service from that I need to copy and paste from?&amp;nbsp; Thank you very much.&amp;nbsp; John&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2011 11:29:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/arcgis-viewer-for-flex-adding-operational-layers/m-p/87281#M2026</guid>
      <dc:creator>JohnCodd</dc:creator>
      <dc:date>2011-06-10T11:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Viewer for Flex - adding operational layers from remote Arc Server</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/arcgis-viewer-for-flex-adding-operational-layers/m-p/87282#M2027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;John,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Here is a link to info about crossdomain xml files:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/help/017p/017p0000001w000000.htm"&gt;http://help.arcgis.com/en/webapi/flex/help/017p/017p0000001w000000.htm&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2011 12:36:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/arcgis-viewer-for-flex-adding-operational-layers/m-p/87282#M2027</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-06-10T12:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Viewer for Flex - adding operational layers from remote Arc Server</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/arcgis-viewer-for-flex-adding-operational-layers/m-p/87283#M2028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;John:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As displayed in the link provided by Robert, here is the crossdomain.xml file I used:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;?xml version="1.0"?&amp;gt;
&amp;lt;!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd"&amp;gt;
&amp;lt;cross-domain-policy&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;site-control permitted-cross-domain-policies="all"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;allow-access-from domain="*"/&amp;gt;
&amp;lt;/cross-domain-policy&amp;gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 23:20:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/arcgis-viewer-for-flex-adding-operational-layers/m-p/87283#M2028</guid>
      <dc:creator>LarryJahn</dc:creator>
      <dc:date>2021-12-10T23:20:30Z</dc:date>
    </item>
  </channel>
</rss>

