Quantcast
Channel: Forums - ArcGIS Viewer for Flex
Viewing all 2097 articles
Browse latest View live

Remove Address Search Box in 3.4 GUI

$
0
0
I cannot find the XML/HTML code string that allows the removal/turning off of the Address Search Box in the 3.4 GUI.

Where is it? and can it be "turned off/removed" from the GUI?

I am not using the AppBuilder. I am doing it from XML code.

thanks,

Attachment Relate Info Widget for 3.4 (quick question)

$
0
0
I am using this widget (InfoTemplate) in 3.0. It works great.


Is there a version of this widget for 3.4?


If not, what do you recommend for showing hyperlinked photos and specific fields when a point in a point feature class is clicked on inside the Flex Map Viewer?

NOTE: I am not using the AppBuilder, I am coding in XML.

Map Grid

$
0
0
Hi, I've been thinking. Is there any way to add a grid all over the basemaps that I choose?
thanks.

Managing Public/Secure applications

$
0
0
My office is using ArcGIS for Server 10.1 and Flex Viewer 3.4, and a relatively new to both. We have already published a few public and secure map services. And we now would like to build an application that uses those services. We have created generic user accounts for accessing these services in our applications, as the users will be getting to the applications from another ASP.NET web application. We would like to know if it is possible to to build our flex application in a way so that public users will only see the public layers, and secured users would see all layers without them having to enter in the generic account login credentials? Or is it best practice to create two separate applications, one for public use and the other for secure use that uses a proxy page?

Thanks!

Cannot get pop-up with hyperlinked photos to show up in 3.4

$
0
0
I have successfully configured the pop ups for all my layers except the one that has photos.

I am not using the AppBuilder. I want to do this using XML, not the AppBuilder.

Photo_1 below is the field in the Feature Class where the photos reside. Layer type = dynamic, not Feature.

I am pretty sure Photo_1 placement is the wrong syntax. Where do I specify the name of the attribute field where all the names of the photos reside in the Feature Class?

When I click on any of the points in this layer, nothing pops up.

Any ideas on how to get this to work?

Here is my code from the pop up.xml file associated with this layer:

<?xml version="1.0" ?>
<configuration>
<title>Photo of Buried Utilities</title>
<description><![CDATA[<b>Date of Photo: </b> {GPS_Date}]]></description>
<medias>
<media type="image" imageLinkURL="http://<servername>/<virtualdirectory>/{Photo_1}"/>
</medias>
</configuration>

Embedding a Viewer for Flex Map w/n an iFrame

$
0
0
How do you embed a map within an iframe located on a webpage?

Recently I have been asked if it was possible to embed a map, created via the Viewer for Flex applciation, into an iFrame.

I do not know exactly how to do this. I have read that you could use standard html swf embedding code. However that is somewhat Greek to me. I have also read that you could modify the index.html file to add html content around the Viewer.

Does anyone have any easy to follow examples of how this would be done?

I am not much of a web developer.

I am using ArcGIS 10.1 and Viewer for Flex 3.4.

Thanks,

George Haskett

Re: Enhanced Layer List Widget 3.4

$
0
0
Eric:

Thanks for explaining the consequences of changing the config file instead of modifying the source code like Robert Scheitlin suggested.

Display point with action script fails in widget

$
0
0
I have created a widget and I can not get it to put a SimpleMarkerSymbol at the location (x,y). The code compiles but myGraphicsLayer.add(myGraphicMarker); is not firing. I clearly am missing something.

Thanks,
Mike
Attached Files

Question on Enhanced Layer List Widget & Feature Layer Tips for Layer visibility

$
0
0
Currently I use both widgets Enhanced Layer List Widget(http://www.arcgis.com/home/item.html...934781d7234d18) & Feature Layer Tips widget (http://www.arcgis.com/home/item.html...a4fadd2028e379). I would like to know if you turn a zoning layer off (uncheck the layer) and your feature layer will be turn off with a label name "zoning" on your configuration file. Otherwise, your zoning layer will be on (check the layer).
Can someone show me where to change to code to perform this task?

Thanks.

Point in Polygon Selection

$
0
0
I have a Polygon Layer and a Point Layer. I would like to know if these tasks are able to be done in the Flex Viewer? and can someone explain to me how to do this, or at least point me in the right direction?

TASK 1
Is there a way when I select a polygon from the Search Widget to have it select all the points that fall inside that polygon?

TASK 2
With the points inside the polygon selected, export these records to an Excel Spreadsheet.

thanks.

Request map in tiles for dynamic service

$
0
0
ArcGIS Explorer breaks its requests for map services into 512x512 tiles. This makes it feel like the data loads faster. Another difference is it starts requesting tiles as you pan (with mouse button held down) instead of waiting for you to release the mouse and make a single request for the new bounding box.

Is there any way to make the flex viewer do tiled requests for dynamic ArcGIS map services like ArcGIS explorer does?

Flex Viewer 3.3 Header controller search issue

$
0
0
When I use the header controller search on my map service (lots of pipelines) it seems to position the pop-up window pointing to the cehtre of the extent of the feature rather than a point along the feature itself - which is not very helpful as they are sometime many km long and winding and the located point can be very distant from the actual polyline. Is there a way to make it locate along the feature as the standalone search widget does?
Thanks.

3.4 Print widget-Exclude Layers from Legend

$
0
0
Good morning All,
I am testing the 3.4 viewer, specifically the Print widget as we have had issues similar to what I am experiencing currently. I have referenced a local Export Web Map Task in the <taskurl> tag. I have also attempted to exclude some layers from the legend. Attempting to exclude layers from the legend that are in a cached map service works, but it appears I cannot exclude layers from a non-cached map service.
I am using an out-of-the-box 3.4 viewer. I have only added my base map and operational layers to the main config file. I have not referenced any widgets other than those included in the default main config file.
I am running AGS 10.1 SP1. Published map services reference layers in a SQL Server 2008 R2 gdb.

Has anyone else experienced issues similar to this?
Thanks for your time.
Eric V
GIS Coordinator
Gurnee, IL

Custom Print Problem

$
0
0
Hello, I'm looking for some help with printing using custom layouts.

I have published my printing service, loaded the print widget in App Builder and set it to use arcServer to print using the following URL

https://mywebserver/arcgis/rest/serv...rt%20Web%20Map

The service reads in ok and allows me to set the default format and my custom layout template.

The problem comes when I open the print widget in my flex app e.g. https://mywebserver/flexviewers/myviewer
I immediatedly get the error:

Unable to connect to GP Service:
https://mywebserver/arcgis/rest/serv...rt%20Web%20Map

GIS Server is missing a crossdomain file.
[RPC Fault faultString="Security error accessing url" faultCode="Channel.Security.Error" faultDetail="Destination: DefaultHTTPS"]

We are using a setup as follows:
Windows Domain User Store
ArcGisServer Builtin Role Store
Web Tier Authentication

Despite the error message, there is a crossdomain file at D:\ArcGIS\Server\framework\runtime\tomcat\contexts\rootapp

which reads as follows:

<?xml version="1.0"?>
-<cross-domain-policy>
<allow-access-from domain="*"/>
<site-control permitted-cross-domain-policies="all"/>
<allow-http-request-headers-from domain="*" headers="*"/>
</cross-domain-policy>

All my other services are working and accessible and the server has access rights to the folder with my custom layouts in it.
Does anyone have any ideas?

Thanks

Annotation Layers not showing up in ArcGIS 10.1 - Please help

$
0
0
We just recently updated our server to ArcGIS version 10.1 and now my Annotation layers are not showing up on my map. I'm using Flex Viewer 3.2. Below are the calls in my main config.xml to my 3 map services that aren't showing up. Does anything have any thoughts? Should I be using a different layer type? Unfortunately, I need help on resolving this issue ASAP.. I have a customer who is waiting.

Code:

<layer label="EPA Region Labels" type="dynamic" visible="true"  alpha="0.8"
                  url="http://gispub2.epa.gov/ArcGIS/rest/services/NEPmap/EPARegionLabels/MapServer"/>       
<layer label="NEP Labels - Local" type="dynamic" visible="true"  alpha="0.7"
                  url="http://gispub2.epa.gov/ArcGIS/rest/services/NEPmap/NEPLocalLabels/MapServer"/>
<layer label="NEP Labels - Regional" type="dynamic" visible="true"  alpha="1"
                  url="http://gispub2.epa.gov/ArcGIS/rest/services/NEPmap/NEPRegionalLabels/MapServer"/>

Thank you,

Ali Page

eLayerList 3.4-Excluding layers

$
0
0
Robert,
I am using the 3.4 eLayerList. I have added numerous layers to be "excluded" in the config file for the widget. I am finding that if I remove some layers using the excludelayer tag, the layer does not show up on a print (using the default Print widget). I have attached an image showing one service listing. If I remove any of the address layers/sublayers (0-4), these layers do not show up on the exported PDF (or image) - even though they are displayed in the application.

Is this expected behavior?

Thanks for your time.
Eric V
Gurnee, IL
Attached Thumbnails
Click image for larger version

Name:	eLayerList.PNG‎
Views:	N/A
Size:	21.0 KB
ID:	27119  

Remove Address Search Box in 3.4 GUI

$
0
0
I cannot find the XML/HTML code string that allows the removal/turning off of the Address Search Box in the 3.4 GUI.

Where is it? and can it be "turned off/removed" from the GUI?

I am not using the AppBuilder. I am doing it from XML code.

thanks,

Attachment Relate Info Widget for 3.4 (quick question)

$
0
0
I am using this widget (InfoTemplate) in 3.0. It works great.


Is there a version of this widget for 3.4?


If not, what do you recommend for showing hyperlinked photos and specific fields when a point in a point feature class is clicked on inside the Flex Map Viewer?

NOTE: I am not using the AppBuilder, I am coding in XML.

Map Grid

$
0
0
Hi, I've been thinking. Is there any way to add a grid all over the basemaps that I choose?
thanks.

Managing Public/Secure applications

$
0
0
My office is using ArcGIS for Server 10.1 and Flex Viewer 3.4, and a relatively new to both. We have already published a few public and secure map services. And we now would like to build an application that uses those services. We have created generic user accounts for accessing these services in our applications, as the users will be getting to the applications from another ASP.NET web application. We would like to know if it is possible to to build our flex application in a way so that public users will only see the public layers, and secured users would see all layers without them having to enter in the generic account login credentials? Or is it best practice to create two separate applications, one for public use and the other for secure use that uses a proxy page?

Thanks!
Viewing all 2097 articles
Browse latest View live