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

Popup Config: showrelatedrecordstext

$
0
0
According to the Edit Widget Config, I have the ability to manipulate the labels for the buttons that open the related records list:

<labels>
<showrelatedrecordstext/>
</labels>

Does the equivalent functionality exist in the popup config? I am showing parcel based zoning and the related records list associated zoning conditions. I would like to be able to change the text for the button to say "Show Zoning Conditions."

If this doesn't exist, I would love to see it in future updates.

Thanks

Nick

WMSLooping Widget builds in 3.6 but has a runtime error

$
0
0
I built the WMSLooping Widget code which worked fine in the 3.0 Flex Viewer in 3.6 and it built without errors, but once the widget loads in the viewer, it is causing a runtime error in the TOC. The radar feed actually still works so I was just wondering if anyone had run into this already.

The error is:
Quote:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at com.esri.viewer.components.toc.tocClasses::TocMapLayerItem/createChildren()[C:\LANG_projects\Flex_viewer_projects\Flex_3.6\arcgis-viewer-flex-3.6-src\src\com\esri\viewer\components\toc\tocClasses\TocMapLayerItem.as:472]
at com.esri.viewer.components.toc.tocClasses::TocMapLayerItem/getLegendResult()[C:\LANG_projects\Flex_viewer_projects\Flex_3.6\arcgis-viewer-flex-3.6-src\src\com\esri\viewer\components\toc\tocClasses\TocMapLayerItem.as:283]
at mx.rpc::AsyncResponder/result()
at com.esri.ags.layers::WMSLayer/layerLegendInfosHandler()[C:\checkout\flex_api\api\src\com\esri\ags\layers\WMSLayer.as:869]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/callLaterDispatcher2()
at mx.core::UIComponent/callLaterDispatcher()

TocMapLayerItem.as line 472 looks like this:
Code:

if (wmsVisibleLayers.source.indexOf(wmsLayerInfo.name) !== -1)

IIS configuration to forbid access to "private files"

$
0
0
Hi!

Kind of newbie with web server, so be patient:) Using Viewer for Flex on IIS 8 I´m stuck on this issue - how to "forbid" users to view configuration files? I mean - my viewer for flex is available on www.myserver/com/app , calling index.html from www.myserver.com/app/index.html and so on. If user is "curious", he can view my config.xml on www.myserver.com/app/config.xml - how to disable it? I would like him to see just index.html and not to be able to see other files (but the app still has to work!). Is it possible? How?

Thank you!

Finding the correct Web Server Base Folder URL - ArcGIS Viewer for Flex

$
0
0
When getting started with ArcGIS Viewer for Flex I enter the following details;

Web Server Base Folder: C:\inetpub\wwwroot\flexviewers

Web Server Base Folder URL: my machine name followed by the \flexviewers (can't provide http address here)

However, I receive the following error message;

Please check your Web Server Base Folder URL.

I can't understand why the URL I provided isn't correct.

I am running on Windows 7 and have turned on II 6 Management Capability and Management Console. Is it possible that I need to share the folder on the server and if so how would I go about doing this?

Navigation Widget - Zoom slider missing

$
0
0
The zoom slider in my Navigation Widget is missing or hidden. It was once visible. I am not sure if I turned it off using a tag (and failed to record that change) or did it unintentionally via something.

Does anyone know how to turn it back on?

Attachment 31192
Attached Thumbnails
Click image for larger version

Name:	without slider.png‎
Views:	N/A
Size:	12.0 KB
ID:	31192  

LODs without tiled layers

$
0
0
I have been having problems getting LODs to work. Am wondering, will they work if I only have dynamic layers?

Print Widget - Final Output Scale Issues

$
0
0
I've been having an issue with the Print Widget utilized by the Flexviewer 3.4 application. The problem only occurs when utilizing a base layer from ArcGIS Online, and in our case we use the ESRI Imagery as the Default basemap.

The final print document (PDF) shows the Basemap extent correctly, the same as seen in my viewing window. However, for some reason my operational layers do not appear in the PDF as they do in the viewing window. They appear in the PDF at the next zoom extent, that is to say they appear to be "blown up" in relation to the extent of the Basemap Layer. When the ArcGIS Online baselayers are turned off, or when utilizing our internal imagery services, the problem does not occur. Any ideas? Thanks!

Problems with Widget

$
0
0
Hello there.
I have an issue that i hope u guys can reply me.
Im developing an application in Adobe Flash and now i want to put that app in a widget for arcgis, but when im doing the steps to migrate it im having this problem.

My code in FB is:
<esri:Map id="myMap"
x="500"
y="500"
width="50%"
height="50%"
level="12">

</esri:Map>



I know in Flex to call the spatial reference of the map u have to do this
myMap.spatialReference (where "Mymap" is the name of the map that i already defined in the <esri>

But in the widget how can i call it? because in there we dont make any <esri map> thing.

I already tried to put Map.spatialReference, but it doesnt work because i have to make graphics on the map and it dont show them.
I hope you guys can help me.

Pop-up photo displaying in a new tab

$
0
0
When I click to display the photos, its does not appear, but when you click the link opens correctly in a new tab.

In my application u just see a empty pop-up. I want the photo to load inside of a photo, not in a new tab.

Here is my xml file:

<?xml version="1.0" ?>

<configuration>

<title> {ID}</title>
<description>
<![CDATA[<p align='justify'> <b>{CODE}</b>, {SOURCE_DIG} <b>{TIME_}</b>.</p>]]>
</description>

<medias>
<media type="image"

imagelink="{PHOTO}"
imagesource="{PHOTO}"/>

</medias>

</configuration>

The field "PHOTO" is where my photos are stored (UNC path). I appreciate any help to point me to the right direction.

Thanks,

Dimba

Popup Window size

$
0
0
Hi,

I have enlarged the popup window size by modifying the skin class. The problem is the related popup window does not use full space to display the attribute and its value. As you can see in the attached screenshot, the attribute values are rendered in multiple rows instead of one row.

Any help is greatly appreciated

Rose
Attached Thumbnails
Click image for larger version

Name:	POPupWindow.png‎
Views:	N/A
Size:	46.5 KB
ID:	31263  

eLocateWidget

$
0
0
This post is for Robert regarding the eLocateWidget. I am having the issue with find coordinate tool. you asked me to attach my .xml file. Any help would be greatly appreciated.

Thanks,
Scott Ewart

Flex Site Configuration Files

$
0
0
After you've completed the design of your Flex viewer site, where would I find the main configuration file that holds all of my settings?

...Walter

Customizing Header for Viewer

$
0
0
Hello All,

I am looking at possibly doing some customizing to the header of our viewer, more than the normal color and text features.

Does anyone know where there might be any sort of instruction on this?

Also, I would be glad to hear any advise or recommendations on the topic.

Thanks

Eric

Print widget scale bar problem

$
0
0
I published a printing service so I could use my templates. The templates include a scale bar. For some reason the scale bar doesn't match the scale of the map when it prints. It adjusts when I check the 'Use this Scale' option as an end user, but it isn't correct either way.

Attaching some pictures to show how this string of 50' lots doesn't scale properly.

Attachment 31314 Attachment 31315

I am stumped. Any insight as to why this would happen would be helpful.
Attached Thumbnails
Click image for larger version

Name:	UseThisScaleNotChecked.png‎
Views:	N/A
Size:	843.2 KB
ID:	31314   Click image for larger version

Name:	UseThisScaleChecked.png‎
Views:	N/A
Size:	19.3 KB
ID:	31315  

Editing Custom Widget Code - Identify/Query Tool

$
0
0
I am building an application on Flex Viewer and I need an Identify tool where I can select a particular operational layer to query since I have overlapping layers. I tried using the query tool, however in the widget settings I am only given the option to include one layer url in the tool.

I searched online for a widget that I could include in my application and found a Zip file on the ESRI Flex Viewer developer page. I added this custom widget to my application. The widget settings however simply shows the XML code. I have pasted this code below.


<?xml version="1.0" ?>
<configuration>
<identifylayeroption>visible</identifylayeroption>
<identifytolerance>5</identifytolerance>
<zoomscale>5000</zoomscale>
<labels>
<identifylabel>Identify</identifylabel>
<resultslabel>Results</resultslabel>
<descriptionlabel>Use the identify tool to identify features on the map:</descriptionlabel>
<pointlabel>Identify</pointlabel>
<clearlabel>Clear</clearlabel>
<loadinglabel>Loading...</loadinglabel>
<selectionlabel>Features Identified:</selectionlabel>
</labels>
</configuration>


I believe I need to edit the parameters within >....< on any given line.
For example for the line <identifylayeroption>visible</identifylayeroption> I should include the links to the operational layers I wish to include in the tool? I assume I must also define field names I want shown on one of these lines of code as well.

I'm not quite sure as to the approach to take in editing the code parameters so if anyone could provide me with some assistance on this I would be very grateful.

Layer List Widget - Visibility On / Off

$
0
0
I recently published a service to my map that includes all feature labels as a separate layer, allowing the user to toggle the individual labels On or Off at their choosing.

The problem I'm having is that when a user wants to turn the actual geographic feature's visibility off, the labels still remain visible because they are a separately published service. Is there a way to customize the Layer Visibility List to specify, "When the feature sewer manholes is turned off, also turn off the sewer manholes labels"?

Route Widget 3.0 Error

$
0
0
I noticed that ESRI's geocoding service and routing service already retired, so I changed the route service and geocode serivce as below in the routewidget.xml
<routetasksolver>http://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World</routetasksolver>
<reversegeocode>http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer</reversegeocode>
<singlelinegeocode>http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer</singlelinegeocode>

but i kept getting error message "Unable to complete operation...clear and start again or add another valid stop." after typing in my AGOL login info.
Anybody here has same problem? Help, please!

Amy

base map default at start up

$
0
0
How do I get my flex application built from the compiled version to open on start up with thestreets or topographic base map instead of the imagery base map.
Thanks for any help
Erik

Draw Widget for ArcGIS for Flex 3.6 - Default to show measurements

$
0
0
Hello,

Has anyone set the Draw Widget to default to "show measurements" when the tool is opened? Can this be done inside the .xml config for the the Draw Widget? Please help.

Thanks,
Greg

Identify Widget for Flex Viewer - No Loading of Results in Application Preview

$
0
0
I have added the Identify Widget found at the following address;

http://www.arcgis.com/home/item.html...728c50461a1a89


I have loaded two features into this tool in Widget settings and I chose the same URL for both of the feature layers which are found on my ArcGIS Server site. These are the same URLs I provided when adding these features as operational layers when beginning the Application Builder. When I preview my application the Identify Widget appears however when I click on one of the features which I added to the widget no results are loaded.

Any ideas as to what might be the issue?
Viewing all 2097 articles
Browse latest View live