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

Widget dragging not working

$
0
0
I changed isDraggable = true in WidgetContainer.mxml and draggable="true" in viewer:WidgetTemplate tag in my Widget mxml files.

Dragging Widgets works great when there are less than 4 open widgets, but when there are more than 3 opened widgets dragging a widget does not work most of the time. All my widgets are inside vertical layout widgetcontainer widget group tag in config.xml.

Does anyone have the same problem as me? If so, would you please share your solution with me? Thanks,

call other services

$
0
0
Hi All,

We have 3 flex viewer applications running. Our client want them to shown in current development viewer 3.2 application. When user click on menu1 it should show the first site (can not open in separate web browser) and subsequently remaining sites.

I checked ArcGISWebMap.mxml file that seems solve my requirement (https://developers.arcgis.com/en/fle...om-web-map.htm) but could not understand webMapID. Does any one share code snippet to call other services and bind with map.

Regards
Johnson

Thematic Query Widget radio button comes on without clicking

$
0
0
I am using the thematic query widget for 30 map services. Everything works great except for when scrolling up/down, the radio buttons turn on - but not activated ! And, only the original map selection is active and displaying. Has anyone seen this before? I would appreciate any suggestions that may take care of this problem.

Mehrshad

ArcGIS Viewer for Flex 3.4 Header Controller Locatoroptions

North Arrow placement (constraint value) not being recognized

$
0
0
Hello,

I am trying to insert a north arrow into my Flex Viewer. I have used the north arrow before in an mxml web application and everything ran smoothly. I am following the instructions in the ReadMe file, although in this case for the FlexViewer it is not exactly the same.

The ReadMe file states to insert code above the line:

'SiteContainer.dispatchEvent(new AppEvent(AppEvent.MAP_LOADED, false, false, map));' in MapManager.mxml

However, in my MapManager.mxml code (using 4.6 sdk and FlexViewer 3.3) this code did not exist exactly as above. I found:

'AppEvent.dispatch(AppEvent.MAP_LOADED, map);' in the configLoadHandler function. I assumed this was the correct spot and inserted the code from the ReadMe file above this line.

The north arrow shows up on the map with all the properties correct as inserted into the code in MapManager EXCEPT for the placement. I have
Code:

        northArrow.setConstraintValue("bottom", 65);
        northArrow.setConstraintValue("left", 15);

but instead of showing up there it is being placed in the top left corner of the map container. I tried setting different constraint values, but the north arrow doesn't move.

Any ideas? I'm lost on this one. Thank you!

David

ArcGIS 10.1 Flex Feature Set GP parameters

$
0
0
Hello, I'm trying to create a Mailout notification tool where the end-user can pick a parcel or parcels using either a point, line, or polygon from the "Feature Set" parameter type. The selected parcel(s) are then used to buffer and clip the selected parcels to get the owner information to be used with MailMerge (most of you have probably seen this a thousand times.) Anyway, I have the tool working great except for one thing. The line and polygon selection tools work perfectly, no issues. But when I use the Point selection tool no records are returned, but if I use the Point selection tool again (without clearing the widget) the Point selection tool works fine and returns the values as expected. So my question is this: why is my Point select tool not be recognized until after my 2nd click?
I hope this makes sense and if it's helpful I can add some screenshoots or XML code for someone to look at...
Thank you,
Mike

Identify Widget version 3.3 for FlexViewer 3.3

$
0
0
I was able to identify all layers using this widget, but "No Results Found" shows up even though attributes display correctly.
Please let me know if I am missing something.
Thank you.

<?xml version="1.0"?>
<configuration>
<identifylayeroption>visible</identifylayeroption>
<identifytolerance>30</identifytolerance>
<defaultzoomscale>5000</defaultzoomscale>
<keepidentifyactive>true</keepidentifyactive>
<returngeometryforzoom>true</returngeometryforzoom>
<enablelineselect>false</enablelineselect>
<enableextentselect>false</enableextentselect>
<enablepolyselect>false</enablepolyselect>
<enablemouseovergraphicsinfo>false</enablemouseovergraphicsinfo>
<enablemouseoverrecordinfo>false</enablemouseoverrecordinfo>
<enablegraphicclickinfo>false</enablegraphicclickinfo>
<usemaptime>false</usemaptime>
<infoautoclosemilliseconds>2000</infoautoclosemilliseconds><!-- 2 seconds -->
<autoactivatedtool>mappoint</autoactivatedtool><!-- possible values are extent or polygon or mappoint or polyline or nothing -->
<excludebasemaps>true</excludebasemaps>
<disablepopuplinks>false</disablepopuplinks>
<disablelayerdropdown>false</disablelayerdropdown>
<disablealllayerschoice>false</disablealllayerschoice>
<replacenullswithemptystring>true</replacenullswithemptystring>
<labels>
<zoom2message>Click to Zoom to Point</zoom2message>
<identifylabel>Identify</identifylabel>
<resultslabel>Results</resultslabel>
<descriptionlabel>Use the identify tool to identify features on the map:</descriptionlabel>
<pointlabel>Identify by Point</pointlabel>
<linelabel>Identify by Polyline</linelabel>
<rectlabel>Identify by Rectangle</rectlabel>
<polylabel>Identify by Polygon</polylabel>
<clearlabel>Clear</clearlabel>
<loadinglabel>Loading...</loadinglabel>
<removeresultmessage>Remove Result</removeresultmessage>
<idfrom>Identify From</idfrom>
<noresultsfoundlabel>No Results Found</noresultsfoundlabel>
<resultsfoundlabel>Results Found</resultsfoundlabel>
<alllayers>All Layers</alllayers>
<layersremaining>layers remaining:</layersremaining>
</labels>
<useproxy>
<!-- Enter the label of the MapService from the main config.xml -->
<!--<proxymapservice label="Imagery" />
<proxymapservice label="Streets" />-->
</useproxy>
<layers onlythese="false">
</layers>

<symbols>
<simplefillsymbol color="0x448ccb"
alpha="0.4"
style="solid">
<outline color="0x448ccb"
alpha="0.8"
width="2"/>
</simplefillsymbol>
<simplemarkersymbol style="circle"
size="12"
color="0x448ccb"
alpha="0.8"
xoffset="0"
yoffset="0"
angle="0">
<outline style="solid"
color="0xffffff"
alpha="0.8"
width="1"/>
</simplemarkersymbol>
<picturemarkersymbol url="assets/images/i_info.png"
height="30"
width="30"
xoffset="0"
yoffset="0"/>
<simplelinesymbol color="0x448ccb"
alpha="0.8"
width="2"/>
</symbols>
</configuration>

ConfigManager Error in Application Builder

$
0
0
I am a new user to the ArcGIS Viewer for Flex - Application Builder, Version 3.4. I have been encountering an error message when working through the Builder. I have no issues when I use the first 3 tabs of the Builder, but when I move to the "Design" or "Preview" tabs, I end up with error messages. The first message reads, "Fault code: InvokeFailed; Fault Info: Error #2148; Fault details: null" The second message reads, "Some error occurred. ExternalInterface doesn't work in Standalone player."

Can anyone point me in the right direction?
Attached Files

Identify widget doesn't work

$
0
0
Hi!

I have a major problem with the identify widget. I installed Identify widget for App builder (as it is written here: http://resources.arcgis.com/en/help/...0000004m000000 ), but still it doesn't work. I can see identify widget in widget list and i can also edit it. But when I preview my application and click on my map (raster layers) it doesn't respond. I have identify widget open and i can choos point, line etc., but it just doesn't work.

Do you have any advice?
Thanks
Rok

3.4 Widgets - Here and gone

$
0
0
Good morning Robert,
I downloaded several widgets the other day that were listed as version 3.4 - I now notice that they are gone....I extracted one of the widgets I downloaded and it looks like it may still be version 3.3...
Have you updated any of your widgets to version 3.4?

Thanks for your time
Eric V
Gurnee, IL

Call function on initialization

$
0
0
I'm trying to attach to the addedToStage event in index.mxml, but according to the breakpoints I have set, the event never fires. I'm really just trying to fire an init function when the viewer loads.

This is the code for my s:Application tag:
Code:

<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                    xmlns:s="library://ns.adobe.com/flex/spark"
                    xmlns:mx="library://ns.adobe.com/flex/mx"
                    xmlns:viewer="com.esri.viewer.*"
                    xmlns:managers="com.esri.viewer.managers.*"
                    pageTitle="myapp"
                    backgroundColor="0xDAEAC9"
                    minHeight="600"
                    minWidth="800"
                    addedToStage="onComplete()">

I've set a breakpoint and put a trace and alert in onComplete, but it never drops in. Is there another/better way to fire an init function?

Heat map widget Time enabled="On"

$
0
0
Hi,
I am using HeatMap widget version 3.3 and it is working great.

I just want to know if there is any way i can enable time by default, because every time i have to go to the settings in heat map widget to turn the Time enabled button to "On".

Thanks

InfoTemplate widget Label Not dispalying

$
0
0
Hi,

I have shifted by code from Flex viewer API 2.5 to 3.4, In infoTemplate widget my label text is not displaying as it was displaying in 2.5, any changes i need to do for this. I show online example , there also i found that label is not displaying.

Thanks and Regards,
Shabbir Ahmad Siddiqui
Attached Thumbnails
Click image for larger version

Name:	InfoTempWindow_Label.png‎
Views:	N/A
Size:	160.5 KB
ID:	25909  

MySQL Spatial database : Build Graphics and Display in the ArcGIS Flex Viewer

$
0
0
Dear All
I have MySQL Database with features in it (Land Parcels, Railway Stations,Roads etc)
I need to build graphics and display this as layers in ArcGIS Flexviewer for publishing on the Intranet.
I also need to be able to toggle the layers on and off (Table of contents) but I do not know where to start.
Can anyone help me in achieving this?

Your assistance is highly appreciated.

God bless,
Maupa

Change location of layer list widget

$
0
0
In ArcGIS Server 10.1 using the ArcGIS Viewer for Flex, how do I change the default location of the layer list widget? By default it is opening on top of the navigation tools in the top left hand corner of the browser.

Thanks
Jeff Godfrey
Chelan County IT

Congratulations to Robert Scheitlin!

$
0
0
Robert was announced as the top MVP at the closing session of the ESRI User Conference last week.

Awesome and fitting title given the amazing widgets he has shared with all of us in the community as well as the seemingly never-ending tech support of those same widgets.

Robert, I appreciate all of your help and talent and I am fairly sure many others do as well. Thanks for all you have done!

Brian

Search Widget Results in Attribute Table

$
0
0
Hi All,

I was wondering if there is a way to set aliases for the search widget results when they appear as an operational layer in the attribute table widget? It appears that my searchwidget.xml is limiting the results to be just the fields that I have identified as well as setting the aliases (see atatched screenshots). When it pulls the operational layer into the attribute table widget, it does not keep those aliases though.

Is there a way to add tags to the attributetablewidget.xml in order to set the aliases for the field names of the selected layers form the search widget, or do i need to go another route?

Any help, as always, is greatly appreciated.

Mike Mejac
Attached Thumbnails
Click image for larger version

Name:	xml.JPG‎
Views:	N/A
Size:	60.2 KB
ID:	25948   Click image for larger version

Name:	search_result.JPG‎
Views:	N/A
Size:	32.6 KB
ID:	25949   Click image for larger version

Name:	attribute_table.JPG‎
Views:	N/A
Size:	34.4 KB
ID:	25950  

Error: Error #2037 after upgrade from 3.3 to 3.4

$
0
0
Hi

I have error when start App Builder after upgrade to v. 3.4.

Error report from C:\Users\...\AppData\Roaming\com.esri.ags.AppBuilder3.0\Local Store\ab-log.txt in attachment.


7/16/2013 09:50:01.392 [INFO] com.esri.builder.controllers.RecentlyUsedURLsController Loading URL history
7/16/2013 09:50:01.251 [FATAL] com.esri.builder.controllers.ApplicationCompleteController Uncaught error: Error: Error #2037

Help please

Thanks
Attached Files

Print Widget Caching

$
0
0
Has anyone else had an issue with the print widget (using 3.3 codebase) where the widget seems to cache a pdf? Sometimes I would come back to a flexviewer sometimes days later and try to create a new pdf map, and it throws back a map created previously. Furthermore, recently I updated the exportwebmap print service to include a new test template and the changes aren't reflecting in the drop down box, despite the service successfully updating on the server. I have been using my own templates rather than the esri provided ones. They have worked fine since I created the service, but won't update to reflect changes when I overwrite or completely recreate the exportwebmap service.

Has anyone else experienced this?

Any help with this issue would be greatly appreciated.

Splash Screen font color

$
0
0
What is the syntax to set the font color for the Initial Splash Screen? I want the "text-test" to be a different color.

<p align='center' width='139' height='131'>
<img src='assets/images/globe.png'/>
<br/>
<br/>
<font size="+2"><b><a href="http://links.esri.com/flexviewer" target='_blank'>text-test
<br/>
ArcGIS Viewer for Flex</a></b></font>
</p>

Thank you.
Stew
Viewing all 2097 articles
Browse latest View live