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

Viewer 3.1 - Zoom issues

$
0
0
When the map first opens in the viewer, I have to click on the map before I can zoom. I can zoom as soon as the map opens in older editions in the viewer. Is there a setting I need to change somewhere to allow for a user to zoom without clicking on the map first?

Thanks in advance for your help!

Ashley

life cycle of popup information headed for renderer skin

$
0
0
I see that when a popup is configured and a feature is clicked on, the "data" is sent to the infowindow. However, if a popuprendererskin is set, it will filter it through the skin before sending to the infowindow.

So, If I click on a location that has two features from two separate services, it will populate the infowindow with data from one, and put the previous/next buttons on there to toggle through the two selected features.

Now, in the popuprenderskin, It appears as if the commit properties is fired on initial click, an then again when you click the next/previous button(s) and recieves the "data" from the current feature.

Is it possible to get the information from "both" features sent to the skin at the same time? Or a way for the skin to "request" the data from the "next" selected feature? I would like to customize my popup to print out data with some of it coming from one feature, and other data coming from the other, but both in the same infowindow.

Thanks for any ideas,

R_

Data Extract widget, Viewer 3.1

$
0
0
I'm using the Data Extract widget for the first time, so I figure I'm missing something simple. However, I am getting this error and I haven't figured out how to resolve it.
Attachment 21268

Any help would be appreciated. Thanks!

Ashley
Attached Thumbnails
Click image for larger version

Name:	DataExtractError.JPG‎
Views:	N/A
Size:	142.2 KB
ID:	21268  

Identify hyperlink

$
0
0
Can you hyperlink to a simple website like ESRI site?
Here is xml code:
<layer>
<name>Parcel</name>
<fields>
<field name="PARCELID" alias="Parcel ID" />
</fields>
<links>
<link includeinresults="false" field="PARCELID" tooltip="Esri Website">
<linkprefix>http://www.esri.com</linkprefix>
<linksuffix></linksuffix>
<iconfield></iconfield>
<iconprefix></iconprefix>
<iconsuffix>assets/images/w_link.png</iconsuffix>
</link>
</links>
<zoomscale>15000</zoomscale>
<forcescale>true</forcescale>
</layer>

Thank you.

How to make draggable Widgets?

$
0
0
Hi, I want to know how to make all Widgets become draggable. I changed "_isDraggable" variable into "true" under "isDraggable" function in BaseWidget.as. It seems to work ok when only one or two widgets are opened, but when many Widgets are opened, dragging behaves weird and does not work right. By the way, all the widgets have to be in the same widgetcontainer tag with Vertical layout in the config.xml. I greatly appreciate any helps in this matter.

Enhanced Draw Widget Functionality

$
0
0
Robert,

I was curious if you had any plans to incorporate the real time measurment functionality that is in the standard draw widget at 3.1 into your enhanced widget. I prefer your enhanced version, and it will continue to be my go to draw widget, but would love to see the real time functionality in the future if possible.

Thanks for all of the work you put into these widgets! They are great!

Justin

esearch widget- RPC Fault Fault string="Invalid or Missing input Parameters

$
0
0
Hello I was trying to configure the esearch widget to utilize our layers but when I run it I get:

RPC Fault Fault String="Invalid or Missing input Parameters." faultCode="400" faultDetail="

Below is my code...
Any help will be appreciated:
-----------------------------------------------------------------------------

<layers>


<layer>
<definitionexpression></definitionexpression>
<enableexport>true</enableexport>
<name>APN</name>
<url>http://dbgis:6080/ArcGIS/rest/services/Parcels042012/MapServer/0</url>


<expressions>
<expression alias="APN" textsearchlabel="Search by APN:">

<values>
<value prompt="Example: 181001490000 ">APN LIKE '%[value]%'</value>
</values>
</expression>
</expressions>
<graphicalsearchlabel>Use one of the graphical search tools to select Incidents</graphicalsearchlabel>
<spatialsearchlayer>true</spatialsearchlayer>
<titlefield>Parcel APN</titlefield>
<fields all="false">
<field name="APN" gridfield="true" />
<field name="OWNER" gridfield="true" />
<field name="ADDRES" gridfield="true" />
<field name="CITY" gridfield="true" />
<field name="STATE" gridfield="true" />
<field name="ZIP" gridfield="true" />

</fields>
<links></links>
<zoomscale usegeometry="true" zoompercent="1.6" />
<autoopendatagrid>true</autoopendatagrid>
<relates></relates>
<queryattachments>true</queryattachments>
</layer>

<layer>
<definitionexpression></definitionexpression>
<enableexport>true</enableexport>
<name>Parcel Owner</name>
<url>http://dbgis:6080/ArcGIS/rest/services/Parcels042012/MapServer/0</url>
<expressions>
<expression alias="OWNER" textsearchlabel="Search by Owner Name:">
<values>
<value prompt="Example: Joe Smith ">Owner LIKE '%[value]%'</value>
</values>
</expression>
</expressions>
<graphicalsearchlabel>Use one of the graphical search tools to select Incidents</graphicalsearchlabel>
<spatialsearchlayer>true</spatialsearchlayer>
<titlefield>APN</titlefield>
<fields all="false">
<field name="APN" gridfield="true" />
<field name="OWNER" gridfield="true" />
<field name="ADDRES" gridfield="true" />
<field name="CITY" gridfield="true" />
<field name="STATE" gridfield="true" />
<field name="ZIP" gridfield="true" />

</fields>
<links></links>
<zoomscale usegeometry="true" zoompercent="1.6" />
<autoopendatagrid>true</autoopendatagrid>
<relates></relates>
<queryattachments>true</queryattachments>
</layer>
<layer>
<definitionexpression></definitionexpression>
<enableexport>true</enableexport>
<name>Parcel Address</name>
<url>http://dbgis:6080/ArcGIS/rest/services/Parcels042012/MapServer/0</url>
<expressions>

<expression alias="ADDRESS" textsearchlabel="Search by ADDRESS:">


<values>
<value prompt="Example: 21825 Copley ">ADDRESS LIKE '%[value]%'</value>
</values>
</expression>
</expressions>
<graphicalsearchlabel>Use one of the graphical search tools to select Incidents</graphicalsearchlabel>
<spatialsearchlayer>true</spatialsearchlayer>
<titlefield>APN</titlefield>
<fields all="false">
<field name="APN" gridfield="true" />
<field name="OWNER" gridfield="true" />
<field name="ADDRES" gridfield="true" />
<field name="CITY" gridfield="true" />
<field name="STATE" gridfield="true" />
<field name="ZIP" gridfield="true" />

</fields>
<links></links>
<zoomscale usegeometry="true" zoompercent="1.6" />
<autoopendatagrid>true</autoopendatagrid>
<relates></relates>
<queryattachments>true</queryattachments>
</layer>

Issues when upgrading from 3.0 to 3.1 using Application Builder

$
0
0
Hello,

I recently started upgrading some mapping applications to the new 3.1 formate, however I keep getting the following error with one of the maps.

Application upgrade failed: Cannot move C:\Data\Website\flexviewers\MCPD_beta. Please make sure no files are open.

Any clues as to why?

The original map was built with the application builder, then modified outside of the software with XML Notepad.

Haskett

Default selectedTemplate for edit widget

$
0
0
Hi all,

Is there a way to select a default selectedTemplate in Edit widget. From API I see that its value is null. I need to do this so that, as soon as the user opens edit widget it has either selected point or a line by default so that he/she need not select it from the template picker. Thanks.

Integrate EditWidget with AttributeTable

$
0
0
I would like to integrate the EditWidget into the AttributeTable...so that it's always visible at the far right. I think it would be better for the user to have an editing/adding experience if it was all located in one place. I am already using the left and right panel fly outs for other widgets but I have no clue how to try to integrate two widgets in one panel. This might be more than I can handle and was just hoping for some insight into my options. The other thing required if this was working would be to link the widgets selected features state - meaning if you click on a feature on the map when the edit widget is open it would select it in the attribute table as well - because right now you can click on a record in the attribute table and it highlights it on the map but vice versa does not work.

Any thoughts appreciated.

how to find or query on a field from multiple feature classes

$
0
0
I just started using the flex viewer. previously I used the ArcGIS server manager app builder and could create a find or query that used the same number ID field from three FCs of different geometry (point, line, polygon).
I only seem to be able to pick one FC for an attribute search. the query widget specifies that it can only be used on one layer, so i was hoping the find widget would have the ability to use more than one FC.
Thanks,

Steve

Identify widget 3.0 does not return all fields in the record

$
0
0
Hello,

When I use the Identify widget 3.0 on a parcel I only get a few fields populated. But I know for sure that all the fields are populated in our parcel data.
The only fields that are returning data is: APN, Owner, Address, Zip, Pool, and AC
Included is a screen shot of the identify results.
Included is my current code.


Any help will be appreciated. Thanks,



<layer>
<name>Parcels</name>
<fields>
<field name="APN" alias="APN" />
<field name="OWNER" alias="OWNER"/>
<field name="ADDRESS" alias="ADDRESS" />
<field name="CITY" alias="CITY" />
<field name="ZIP" alias="ZIP" />
<field name="PLAT_MAPS" alias="PLAT MAPS" />
<field name="LIVINGSQFT" alias="LIVING SQFT" />
<field name="LOTSQFT" alias="LOT SQFT" />
<field name="LOTACRES" alias="LOT ACRES" />
<field name="YEARBUILT" alias="YEAR BUILT" />
<field name="BEDROOMS" alias="BED ROOMS" />
<field name="FULLBATH" alias="FULL BATH" />
<field name="POOL" alias="POOL"/>
<field name="AC" alias="AC" />
<field name="TOTEXAMT" alias="ESTIMATED AMOUNT" />
<field name="TOTVAL" alias="TOTAL VALUE" />
<field name="IMPVAL" alias="IMPROVEMENT VALUE"/>
<field name="LANDVAL" alias="LAND VALUE" />
<field name="DOCNUM" alias="DOC NUMBER" />
<field name="SALEDATE" alias="SALE DATE" />
<field name="SALEAMOUNT" alias="SALE AMOUNT" />
<field name="PRIORDOCN" alias="PRIOR DOC NUMBER" />
<field name="PRIORDATE" alias="PRIOR REC DATE" />
<field name="PRIORSALEA" alias="PRIOR SALE AMOUNT" />
<field name="TAXRATE" alias="TAX RATE" />
<field name="TRANSDOC" alias="TRANSFER DOC NUM" />
<field name="TRANSRECDT" alias="RECOR DATE" />
<field name="USECODE " alias="USE CODE" />
<field name="USEDESC" alias="USE CODE DESC" />
<field name="LEGALDESC" alias="DESCRIPTION" />

</fields>
<links>
<link includeinresults="false" field="PLAT_MAPS" alias="PLAT MAPS" tooltip="PLAT MAPS">
<linkprefix></linkprefix>
<linksuffix></linksuffix>
<iconfield></iconfield>
<iconprefix></iconprefix>
<iconsuffix>C:\inetpub\wwwroot\fv3\assets\images\i_about.png</iconsuffix>
</link>
</links>
<zoomscale>12000</zoomscale>
<forcescale>true</forcescale>
</layer>


Also does this format work still:

<layer>
<name>Parcels</name>
<fields>APN,OWNER,ADDRESS,CITY,ZIP,PLAT MAPS, LIVING SQFT, LOT SQFT, LOT ACRES, YEAR BUILT, BED ROOMS, FULL BATH, POOL, AC, ESTIMATE AMOUNT, TOTAL VALUE, IMPROVEMENT VALUE, LAND VALUE, DOC NUMBER, SALE DATE, SALE AMOUNT, PRIOR DOC NUMBER, PRIOR REC DATE, PRIOR SALE AMOUNT, TAX RATE, TRANSFER DOC NUM, RECOR DATE, USE CODE, USE CODE DESC, DESCRIPTION</fields>
<linkfield>PLAT MAPS</linkfield>
<linkprefix></linkprefix>
<linksuffix></linksuffix>
<iconfield></iconfield>
<iconprefix></iconprefix>
<iconsuffix></iconsuffix>
<zoomscale>12000</zoomscale>
<forcescale>true</forcescale>
</layer>
Attached Thumbnails
Click image for larger version

Name:	Indentify.jpg‎
Views:	N/A
Size:	133.1 KB
ID:	21347  

Help required with

$
0
0
I have 2 different widgets (number may increase) that I want to load in panel. I have place their entries like:
<widgetcontainer paneltype="bottom" initialstate="collapsed" height="250">
entries here
</widgetcontainer>
in main config file.
The problem is that they both show up at once hence they are squeezed. Is there any way out to close already loaded widgets in panel (Which is covered here http://forums.arcgis.com/threads/254...rogramatically) and load new widget in panel at run time so that only one widget should be available in panel?
How can I change the state of the panel at run time?
I am using ArcGIS Viewer for Flex 3.1
Thanks in advance

Re: Popup close button

$
0
0
Here is my Popup Config.

Code:

<?xml version="1.0" ?>
<configuration>
    <title>{DESCRIPT}</title>
    <description>
                <![CDATA[<a href='{Hyperlink_Relative_Path}'><img src='{jpg_Popup_Path}' width=800></a>
              <!--  <img src='{jpg_Popup_Path}' width=800> -->
                       



                ]]>
    </description>
 
    <fields>
        <field name="PHOTOTYPE"/>
        <field name="FIELDDATE"/>
        <field name="DESCRIPT"/>
        <field name="Hyperlink_Relative_Path"/>
    </fields>

</configuration>

Dynamic Legend widget 3.1.4 and duplicate sublayers

$
0
0
Hi Robert,

First off, thanks for the tiled fix in 3.1.3. That is working great.

As for this issue, I'm using Dynamic Legend Widget 3.1.4 and TOC 3.1.4 and trying to access ESRI's (type=dynamic) map service:
http://maps1.arcgisonline.com/ArcGIS...cts/MapServer/

When I turn this on in the TOC, the Dynamic Legend will add the Generalized sublayer (layer 1) twice. If you zoom in enough to get to the Non-generalized sublayer (layer 2), it also shows up twice in the legend. Not sure if this is the widget code or Esri's map service configuration?

Thanks.

i_table.png not showing

$
0
0
The i_table.png is not showing up on my web server install - the identify and esearch widgets. It will show in the flashbuilder run. I have checked the assets.image folder and it appears in the src folder but not the bin-debug or bin-release. I have tried deleting these folders, running clean, exporting, etc.
Any ideas?

Identify Widget version 3.0.2 for FlexViewer 3.0 - Disabling Hyperlink Icons

$
0
0
Thanks for another great widget Robert.

I have configured hyperlinks to return the optional icon using:

Code:

<link includeinresults="false" field="HeaderURI" alias="Click here for Well Report" tooltip="View pdf of Well Report">
                                        <linkprefix></linkprefix>
                                        <linksuffix></linksuffix>
                                        <iconfield></iconfield>
                                        <iconprefix></iconprefix>
                                        <iconsuffix>http://geoweb2008r2/myassets/w_link_white_pdf.png</iconsuffix>
                                </link>

However, not all my records contain a url, and I would like for the icon to not appear when there is no value or valid url.


Thanks for the help

Is Map Legend Widget using Rest Legend going to work with AGS 10.1?

$
0
0
Hi, I am currently using the Map Legend Widget using Rest Legend with ArcGIS Server 10 and Flex API 2.4.
Before upgrading to ArcGIS Server 10.1 and Flex API 3.1, I want to know if the Map Legend Widget I am using now is still going to work with AGS 10.1 and Flex API 3.1

Does anyone know about this?

Thanks,

Mapswitcher basemap URL's?

$
0
0
This is probably a simple question, but does anyone know where to find the URLs for all of the Mapswitcher basemaps? All I can find is the sample for 3 of them here:
http://resources.arcgis.com/en/help/...0000003w000000

Code:

<basemaps>
        <layer label="Streets" type="tiled" visible="true" alpha="1"
                  url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"/>
        <layer label="Aerial" type="tiled" visible="false" alpha="1"
                  url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer"/>
        <layer label="Topo" type="tiled" visible="false" alpha="1"
                  url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer"/>
    </basemaps>

I wanted to add a few (Openstreetmap, Oceans) to my TOC instead of having them up top, and not seeing them in any XML config files.

Thanks.

Active tool ToolTip

$
0
0
On the elevation profile widget example page: http://maps.esri.com/AGSFlex_Demos/F...ionProfile.xml , once you select the draw tool, it will show a tooltip style window with the cursor telling you "Click to start Drawing" and follows the cursor around until you start to draw.

Anyone know where/how it is getting this? I've searched my entire project for that text string, and can not be found.

I would like to add something similar to my modified Identify widget, so that the user knows that the tool is still active until closed.

Thanks for any ideas,

R_

Attachment 21182
Attached Thumbnails
Click image for larger version

Name:	untitled1.jpg‎
Views:	N/A
Size:	21.9 KB
ID:	21182  
Viewing all 2097 articles
Browse latest View live