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

Config questions for the Viewer

$
0
0
My boss is reviewing one of our viewers and had a couple comments. I'm sure there's a way to do it with the uncompiled version (which we don't use) but I was curious if it was possible with the compiled version. Here are the comments:

1) Legend widget has too much space between the layer and symbol and then between layers. Can this be compressed?
2) Under "More Data", can the configuration be modified to allow the parent box of a group to auto-check the child boxes? Right now, it looks like you have to check the child boxes and then go check the parent box which is a little tedious if you want to turn on the whole group at once.
3) Also, I'm trying to find the place where to add the cursor coordinates onto the map (lat/lon, DMS, etc) but I haven't found it yet.

Any help would be appreciated!

Thanks
Chad

Link option working in identify and not in search widget

$
0
0
I recently updated my Flex viewer from 2.5 to 3.4 and added in the enhanced search widget. I noticed that the link field works in the identify widget and does not in the search for the same field and shapefile. The code I am using is:
<titlefield>Title</titlefield>
<fields all="false" >
<field name="Title" alias="Project Title" gridfield="true" />
<field name="Label" alias="Label" gridfield="true" />
<field name="Link" gridfield="true" />
</fields>

<link includeinresults="true" field="Link" tooltip="Click to view project details">
is there something extra I need to do for it to work in the search results?

Thanks,
Patricia

OBJECTID Field?

$
0
0
Why is my OBJECTID Field missing from my flex application. Is this normal to have it in the MXD, but not in the Flex app.

Stage3D tile renderer YCanvas

$
0
0
Hello ArcGIS devs,
lately I have noticed ArcGIS 3.4 for Flex has been released. Great job and thank you for all the tools I must say!
By having a quick look at examples it seems like you have not yet taken advantage of Stage3D (GPU) and maps/tiles are being rendered using regular flash.display. In case you are interesed, have a look at http://ycanvas.yoz.sk/maps/ (sources on http://ycanvas.yoz.sk). By moving the render stuff to gpu you can gain more performance - 60fps apps etc.
what do you think?
Jozef

Import Data File Widget For Flex Viewer 3.4

$
0
0
Flex Fans,

I have just uploaded a new widget for the Sample Flex Viewer that allows the user to upload and visualise an Excel Spreadsheet (.xls) or a Comma Seperated Text file (.csv).

http://www.arcgis.com/home/item.html...191731fcd3c9c1

This widget supersedes my old add excel widget

Regards

Anthony

eSearch usedomain='true' command - Coded Value Domains not available in REST URL.

$
0
0
Sorry if this is not the exact place to get an answer, but I cannot find information on it anywhere and can't think of anywhere else to ask the question.

I'm working with the eSearch 3.4 widget and its working out great, except that I cannot take advantage of the usedomain command because my domains are not carrying over into my REST URL. I have a duplicated web application hosted on Amazon in which I 'can' see the domains in the REST URL. For some reason when I'm publishing a service inside of our firewall I cannot detect them. I tried overwriting the service but to no avail.

Can someone please shed light on this for me or guide me toward documentation that would help me?

Thanks,
Scott

How do you refresh a kml layer in flex viewer

$
0
0
I noticed that the arcgisportal kml utility has a "refresh=true" option that displays that it will "Force using fresh data and update cache". At work we deal with a lot of kml's that we need to include in our flex viewer, but I was not aware that the kml's were cached. This basically makes adding a network link displaying dynamic data worthless. How do I force a refresh with the arcgisportal?


The only kml layer options I see are the following:

disableclientcaching—If true, prevents the request from being loaded from the browser's cache. Default is 'false'. [Applies to types: dynamic, feature, image, wms, kml, and georss.]

serviceurl—Optional, URL to your own utility service for converting KML files to features. Requires Portal for ArcGIS. [Added in version 2.5]

Where is the option to refresh and not cache the layer?

Respectfully,
Dan

Search result symbols are not showing in 3.3 or 3.4

$
0
0
I'm in the process of updating our Flex 2.5 to 3.4, but after deploying the search widget (out-of-the-box) the graphic results are not showing in the result list or on the map. It will work in 2.5, but not in 3.3 or 3.4, I thought something may have changed. The sample on Esri's site doesn't work either, so is this an issue or the new norm?

The street center line is set to 100% transparency.

Thank you,
Daniel

Attachment 26818

Code:


<?xml version="1.0" ?>
<configuration>
        <initialview>text</initialview>
        <layers>
                <layer>
                        <name>Clay County Road</name>
                        <url>http://server/server/rest/services/Layers/MapServer/102</url>
                        <expression>upper(FullName) LIKE upper('%[value]%')</expression>
                        <textsearchlabel>Search by Street Name [ Example: Old Jennings Rd or
                                Jennings ]</textsearchlabel>
                        <titlefield>FullName</titlefield>
                        <linkfield></linkfield>
                        <fields all="false">
                                <field name="FullName" alias="Street" />
                        </fields>
                        <orderbyfields>FullName ASC</orderbyfields>
                </layer>
                <layer>
                        <name>Bradford County Road</name>
                        <url>http://server/server/rest/services/Layers/MapServer/103</url>
                        <expression>upper(NAME) LIKE upper('%[value]%')</expression>
                        <textsearchlabel>Search by Street Name [ Example: State Road 100 or
                                100 ]
                        </textsearchlabel>
                        <titlefield>NAME</titlefield>
                        <linkfield></linkfield>
                        <fields all="false">
                                <field name="NAME" alias="Street" />
                        </fields>
                        <orderbyfields>NAME ASC</orderbyfields>
                </layer>
        </layers>
        <zoomscale>10000</zoomscale>
        <symbols>
                <simplelinesymbol width="4" />
        </symbols>

</configuration>

<!-- See Search widget documentation at http://links.esri.com/searchwidget -->

Attached Thumbnails
Click image for larger version

Name:	SearchResults_Issue.jpg‎
Views:	N/A
Size:	46.8 KB
ID:	26818  

How to change "Layer is out of scale range" label in Attribute Table widget

$
0
0
Hello,

I am trying to change the label that automatically shows up in the Attribute Table widget when the layer is out of the defined scale range in the map service. Through my research I have found it seems to be possible to change this label in the Edit widget tags http://resources.arcgis.com/en/help/...0000000v000000 but when I tried using the same tags (<featurelayeroutofscaletext>Label to display when a feature layer is not visible) in the Attribute Table widget xml, it did not recognize it. Is there another way to change this?

Thanks!

David

esearch Version 3.0.13 - 10/25/2012

$
0
0
Did anyone has esearch on Version 3.0.13 - 10/25/2012?

Thank you.

Advanced Print Flex 3.4

$
0
0
Hello,

I have recently deployed an application in Flex 3.4 and I am using ArcGIS 10.1. For the Print I am using the advanced print widget for 3.4. The print templates work fine for landscape (Pdf or jpg format) but when I try to print the portrait then the pdf comes back distorted for part or all of the legend and jsut for teh symbols. In this case the symbols when they are circles show up with lines in between. No problem with any of the other elements of the map template so the map component shows up okay.

I have tried moving elements around in the portrait template and it seems the legend shows up distorted when it extends beyond a certain length in the page. Unfortunately I need to meet certain map standards (disclaimer text, logo, map and legend) to be able to use the portrait template. I would use just jpg format but the quality is not as good as pdf. Any way I can correct the portrait templates so the legend shows in the pdf template?

Thanks,
Patricia
Attached Files

Search Widget

$
0
0
Hello all, I am trying to configure the search widget to search for the block and lot but I am having a hard time trying to figure out the syntax that I need to use. Currently I have BLOCK like '%[value]%' and LOT like '%[value]%' in the expression box. That does not seem to turn anything up in the search results. Anyone have any information that would help me?

How to turn off a feature layer on print widget

$
0
0
I need to turn off a feature layer with label name for "parcelline" from config.xml when print widget is opened or print button is clicked. Not sure how to call LayerName so can set LayerName.visible=false on print widget.

Flex map to ArcGIS online.

$
0
0
This may be a simple or stupid question, but can I publish out a Flex Application to ArcGIS Online?

Add service from outside server without crossdomain file

$
0
0
Is there any way to add a service without a crossdomain file on that server? I don't have access to the server that is hosting this service.

Thanks

How ro build resource swf

$
0
0
Does anyone know how to compile resource files ViewerStrings.properies to swf?
Resource SWFs are distributed with flexviewer installation in "\locale" folder. And when I compiled flexviewer sources in Flash Builder 4.0 SWFs were not created.

Thanks a lot

Help building my first widget

$
0
0
Hi Everyone, I have built a couple of flex apps but I do not want to rebuild all the functionality that exists in the ARCGIS viewer for flex. I am using arcgis server 10.1 and Flex application builder 3.4. I can not find step by step instuction to build a simple widget. Realistically all I want to do is parse the url for an unique id, select it or hightlight it and zoom to it. (ie http://server/Map/index.html?id=44785. The esearch widget is great but it the widget has a large foot print on the screen and does not hightlight the point unless the mouse hovers over it in the list. The highlight also goes away if the widget is closed with is not great either.

I just need to know how to get started. I added a simple widget into Flash Builder and I keep getting an error about the basewidget but I can not find a basewidget.swc to add to the library.

Thanks,
Mike

Shapefile Loads at 0,0 without .prj file

$
0
0
Shape File Loads at 0,0 without .prj file

Robert,
Is it only also “advisable” to include the .prj file or is it necessary? I have a plume modeling program that pushes out the attached files in zip format. [IWMDT_shpOutput.zip] It loads with no errors but at 0,0 - this is probably because there is no projection file. (I added projection and everything works great.)

My concern is my customers have been using an adapted Flex Viewer Version 1.0 [Build: 06.12.09]. In this application I was using the original widget called “ShpOverlay” that I have attached as well. Using these same files (without .prj files), the ShpOverlay widget works fine. See attached plume sceen capture.

Is this new generation of the same widget (Version 3.3.1) handling the shapefiles differently? Or am I doing something wrong.

This is my environment:
. Shapefiles Widget Version 3.3.1 - July 2, 2013
. ArcGIS 10 Server Advanced Enterprise SP5 (10.05)
. ArcGIS Viewer 3.3 for Flex (Source code) [arcgis-viewer-flex-3.3-src.zip]
. ArcGIS API 3.3 for Flex [arcgis_api_for_flex_3_3.zip]
. Flash Builder 4.6 [FlashBuilder_4_6_LS10.exe]
. Flex SDK 4.6 [flex_sdk_4.6.zip]
Attached Thumbnails
Click image for larger version

Name:	Plume_SW_SaltLakeCity.JPG‎
Views:	N/A
Size:	111.3 KB
ID:	26851  
Attached Files

Chart Widget

$
0
0
Could someone provide me with some examples of how to use the <statistics> tag in the flex Chart Widget? I can't find any examples. I am using flex builder version 3.3 or 3.4. Is this tag still supported?

<statistics>
The statistics of the displayed chart. This tag has the following attribute:
precision - this determines the precision of numbers displayed in the chart.

How to remove space (padding) around left, right, and bottom of AttributeTableWidget?

$
0
0
Hello,

I am attempting to mirror the look of an AttributeTable component I used in a non-viewer Flex API application. See the screenshot below for the look I am trying to mirror on the left, with current application on the right.

Attachment 26863

I have done most of my modifications so far using CSS and the AttributeTableSkin, however I cannot locate where to make change to the padding or whatever is causing the space between the edge of the bottom panel/application and the actual DataGrid.

In addition, one other visual element I cannot locate to make change to is the cornerRadius that exists around the entire bottom panel/container. It is most noticeable on top next to the yellow line for collapsing the panel.

Does anyone have an idea where these modifications can be made?


Thanks,

David
Attached Thumbnails
Click image for larger version

Name:	flex_apps_comparison.jpg‎
Views:	N/A
Size:	186.8 KB
ID:	26863  
Viewing all 2097 articles
Browse latest View live