POST
|
YES! That is perfect. I set width to 600. Done deal. Many thanks, Barnaby
... View more
03-28-2014
10:27 AM
|
0
|
0
|
574
|
POST
|
Hi Robert, Here is the TOC widget entry from config.xml: <widgetcontainer layout="float">
<widget url="widgets/TOC/TOCWidget.swf" config="widgets/TOC/TOCWidget_2.xml" label="Table of Contents and Explanation" icon="assets/images/Legend32.png" preload="open"/> I see no width attribute setting. I never modified the widget settings, so they are all default AFAIK. Here is the active TOCWidget xml: <?xml version="1.0" ?>
<configuration>
<labels>
<visibilitylabel>Layer Visibility</visibilitylabel>
<zoomtoextent>Zoom To Layer Extent</zoomtoextent>
<expandall>Expand All Layers</expandall>
<collapseall>Collapse All Layers</collapseall>
<zoomtomakevisible>Zoom To Make Visible</zoomtomakevisible>
<generatinglegendmsg>Generating TOC Legend</generatinglegendmsg>
</labels>
<tocsettings>
<expanded everything="false">true</expanded>
<collapselegends>true</collapselegends>
<disablezoomtomenuoption>false</disablezoomtomenuoption>
</tocsettings>
<legendtimeout>60</legendtimeout>
<excludelayers>
<excludelayer mapservice="Symbols"/>
<excludelayer mapservice="Utilities">8</excludelayer>
</excludelayers>
<excludegraphiclayers>true</excludegraphiclayers>
<excludebasemaplayers>true</excludebasemaplayers>
<usenewesridescription>false</usenewesridescription>
</configuration> Do you know of some way I can edit the above XML to bind the zoom buttons to the right-hand side of widget window? I use server 10.2.1 on another, internal server, and it is great all around. The time to upgrade my operational box is drawing nigh. Thanks, Barnaby
... View more
03-28-2014
09:51 AM
|
0
|
0
|
574
|
POST
|
Hi Robert, My operational, public server is running Server 10.01 + Flex 3.0. The Flex app includes TOC widget 3.0i. The only problem with it is that the small down-arrow "Zoom to" buttons are not bound to the right-hand edge of the TOC widget window as they are in the Enhanced Layer List widget. [ATTACH=CONFIG]32600[/ATTACH] http://cmerwebmap.cr.usgs.gov/flexviewers/min7_demo_pub/ I'm sure that you have more important things to do, but would it be a lot of work to modify the widget 3.0i version to bind those buttons to the right-hand edge of the window? With that modification, the widget is basically as good as the current Enhanced Layer List widget. Another question/alternative: do you recommend that I upgrade the Flex App Builder from 3.0 to a higher version on my server (ArcGIS Server 10.01)? Put another way, what is the most recent version of the App Builder which will work for Server 10.01? It is a real hassle to upgrade my server to 10.2.1. Best regards, Barnaby
... View more
03-28-2014
08:56 AM
|
0
|
4
|
853
|
POST
|
I think I finally figured it out. Anonymous Authentication was not enabled for the arcgis part of the default web site. Enabling that stopped Firefox from asking for credentials! 😄 This image shows the IIS Manager section of Server Manager GUI after I enabled Anon Auth: [ATTACH=CONFIG]32402[/ATTACH] Anonymous auth had been enabled for the flexviewers and aspnet_client sections (and still is).
... View more
03-21-2014
10:20 AM
|
0
|
0
|
1137
|
POST
|
I'm not sure what is being authorized. If the login credentials are not entered, none of the services in the app will display, leaving only the Flex layout ("frame") and the ESRI basemaps. The issue is related to how Firefox handles access to the services as compared to Chrome and IE. Here is the error that comes up in the Flex app when credentials are not entered: <<layername here>> layer failed to load: Fault code: Server.Error.Request
Fault info: HTTP request error
Fault details: Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032"]. URL: http://servername/ArcGIS/rest/services/appfolder/servicename/MapServer?f=json It is not Flex related other than the fact that the login prompt occurs when a Flex app is accessed. There is no web site set up on the server, and thus no index.html. Here is the error I get when I try and access "http://servername/arcgis/rest/services" in Firefox: [ATTACH=CONFIG]32400[/ATTACH] On the server, Anonymous Authentication is enabled in Windows Server Manager. I tried enabling Windows Authentication, but that does not stop the request for credentials in Firefox.
... View more
03-21-2014
08:55 AM
|
0
|
0
|
1137
|
POST
|
I have a http Flex app running on an internal network on which Active Directory (AD) is implemented. Our server is running Windows Server 2008 R2 x64, with ArcGIS for Server 10.2.1 and Flex Viewer 3.6. ArcGIS for Server security has been configured using Built-in security: Configuration Settings User Store: ArcGIS Server Built-in Role Store: ArcGIS Server Built-in Authentication Tier: GIS Server Authentication Mode: ArcGIS Tokens When the Flex app is viewed in Firefox, there is a login prompt. If AD credentials are entered, then all layers in the App are viewable. If the app is viewed in Chrome or IE, there is no login prompt. I can configure Firefox to make the server a trusted URI as per: http://markmonica.com/2007/11/20/firefox-and-integrated-windows-authentication/ which will stop the prompt for credentials from appearing. Is there a way I can configure the ArcGIS Server (security, web adapter, etc.) to stop the prompts? Do I have to implement https to stop the prompt? Will the Firefox login prompt still appear when the public is granted view access to the app? No login prompt appears in Firefox when viewing an https Flex app hosted by a different server (ArcGIS for Server 10.2, Flex 3.6), or when viewing another http Flex app on our internal network from a server running ArcGIS Server 10.0/Flex 3.0. Thank you in advance...
... View more
03-20-2014
01:47 PM
|
0
|
5
|
3338
|
POST
|
Interesting: NIM086597
ArcGIS 10.1 REST queries and Identify operations that include the geometry of a polygon using
a different spatial reference than the map service return no results unless the input spatial
reference (inSR) parameter is used. A Desktop issue that is set to be fixed in 10.2.2. Not the same as our issue, but perhaps related? http://downloads.esri.com/support/downloads/other_/1022-IssuesAddressedList.pdf
... View more
03-06-2014
12:04 PM
|
0
|
0
|
745
|
POST
|
Hi Robert, I figured it was a Server issue. Is the output geometry reporting coords in utm/NAD27 units of the data layer when it should be reporting in the units of the input geometry? I've already started reprojecting all NAD27 data layers to WGS84 to work around the problem. I'm almost done! I'll also experiment with the returngeometryforzoom="false" settings. If I have time I will file a support case. As usual, thank you very much for your help and advice! Best regards, Barnaby
... View more
03-06-2014
08:04 AM
|
0
|
0
|
745
|
POST
|
Hi Robert, Thank you for your reply. You are correct. I'm working with 2 servers, their configurations below. sciencebase.gov: Server 10.2/Flex 3.6/ID Widget 3.6.5 Regional Studies data frame projection: WGS 1984 Web Mercator (aux sphere), EPSG 3857 internal private server: Server 10.2.1/Flex 3.6/ID Widget 3.6.5 Regional Studies data frame projection: GCS_WGS_1984, EPSG 4326 I see the offset in both of the above configurations when the widget is used to query data that are in UTM/Clarke 1866 spheroid/NAD27 datum. There is no offset when data are in UTM/WGS84 datum. ---------------------- I'll strip out your layers from my widget XML. Did you notice that I followed your advice and edited the XML heavily so that only the desired fields are reported by the widget from my raster layers? That took a while, but it works great now. 🙂 Let me know if there is any other information you need to diagnose this issue. Best regards, Barnaby
... View more
03-06-2014
06:29 AM
|
0
|
0
|
745
|
POST
|
Hello Robert and others, I have raster data layers with NAD27 datum in an mxd with GCS_WGS_84 data frame projection. The NAD_1927_To_WGS_1984_6 transformation is being applied in the data frame to convert the NAD data to WGS84. The mxd is published to a service and displayed in a Flex 3.6 app along with ESRI basemaps (inherently in WGS 1984 Web Mercator (aux sphere), EPSG 3857). https://www.sciencebase.gov/flexviewer/USMinMap/ The NAD27 raster data layers are re-projected on the fly to WGS84 and overlie the basemaps and other data perfectly. Using ID Widget 3.6.5, queries of pixels operate perfectly, with the correct attribute being reported for a pixel. However, the blue circle generated by the widget is offset from the pixel which was queried (clicked). [ATTACH=CONFIG]31957[/ATTACH] To see what I mean, go to the above Flex app and turn on Regional Studies>Bodie Hills, CA-NV and zoom way, way in. Turn off Landsat layer at bottom of TOC. Then use ID widget to query an individual pixel and note offset between clicked pixel and blue circle. If the image is reprojected to WGS84 datum before publishing, there is no offset between clicked pixel and the blue circle. I am wondering if the widget should generate the blue circle based on the coordinate units sent to the server for the query (which I think are in the "service" coordinates, WGS84 Web Mercator aux sphere), and not in the units reported back from the data layer being queried (NAD27). As it is now, it appears that the offset will be there any time a layer having a non-WGS84 datum is in a Flex App. Is there a way to remove the offset other than reprojecting the NAD27 data to WGS84? Or is the offset an expected feature that is meant to show that the layer being queried has a different coordinate system/datum than the service or overall Flex app? Thank you in advance...
... View more
03-05-2014
08:03 AM
|
0
|
6
|
1009
|
POST
|
YES!!!!!!!!!!!!!!!!!!!!!!!!! 😄 Thanks, Robert! I now see that the <name> field is used to identify the layer, not the <id> field. Is it possible to change the name of the layer as displayed in the ID widget results? Changing the name for display purposes is one of the main reasons I am editing the xml.
... View more
02-26-2014
12:06 PM
|
0
|
0
|
1194
|
POST
|
I have tried ~20 times, using 3 different browsers, to post a new thread that is related to this one, but the attempts time out every time. What is going on with this forum? :mad:
... View more
02-26-2014
10:39 AM
|
0
|
0
|
1194
|
POST
|
The issue was found about a year ago, and has been fixed in ArcGIS 10.2.1 for Server. Case closed! 🙂 --------------------------------------------- However, note that raster layers are still not shown in Add Layer dialog of ID widget in App Builder, as shown in this post above: http://forums.arcgis.com/threads/101169-Identify-Widget-3.6.2-for-Flex-Viewer-raster-layer-names-will-not-display?p=360160&viewfull=1#post360160 even when using Server 10.2.1, Flex Viewer 3.6, and ID widget 3.6.2.
... View more
01-28-2014
11:09 AM
|
0
|
0
|
3023
|
POST
|
Both of the above issues have been confirmed as BUGS by ESRI and are in the queue to be fixed.
... View more
01-23-2014
08:36 AM
|
0
|
0
|
506
|
Title | Kudos | Posted |
---|---|---|
1 | 05-27-2016 12:48 PM | |
1 | 04-05-2017 09:52 AM | |
1 | 10-29-2015 12:59 PM | |
1 | 03-31-2017 12:33 PM | |
1 | 04-07-2016 10:08 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|