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

Help Widget

$
0
0
I'm looking for a widget that can be configured to store online help instructions on how to operate the flex viewer they're in.

Can anyone make any recommendations?

Thanks in advance...Walter

query with return distinct values in rest services get error when tables joined

$
0
0
I query using return distinct values in rest services works fine.
Under the same circumstances, ARCGIS server 10.1 sp1, I joined tables to the feature class.
I queried a field in the table without using return distinct values, it returns results fine.
Once I queried the field in the table using return distinct values = true, it throw "Error performing query operation"

Settings on ArcGIS REST Services Directory as below,

Where: Division.Division LIKE '%'
Out Fields: ProjectNumber.ProjectTitle
Return Geometry: False
Return Distinct Values: True

Anything I missed? Thanks for any help in advanced.

create a query widget service

$
0
0
hi every body,

I need help of how to create a web service from my own database to be read from Query widget ..

how can I wrote my personal service .. I need to know what is the JSON format ?

If there is any JAVA or PHP library.

I will be very thank full for any reply

Labeling Problems with Aerials Base Layers Turned On

$
0
0
When I turn on an aerial base layer my labeling becomes unreadable. I have tried different fonts, italics, bold, halos without any improvement in display. This happens with any aerial base layer whether I have published an image service or consumed a ArcGIS Online aerial base layer. This is a public URL if you would like to see first hand. The URL can be seen on the attached images. Labeling displays correctly in the MXD. Labeling displays correclty when aerial is not on.

Thank you,

Attachment 30907Attachment 30908
Attached Thumbnails
Click image for larger version

Name:	map with image.jpg‎
Views:	N/A
Size:	148.3 KB
ID:	30907   Click image for larger version

Name:	map without image.jpg‎
Views:	N/A
Size:	86.3 KB
ID:	30908  

Elevation Profile Widget Error

$
0
0
I'm getting the error 'The server returned and error: Error in handling operation GetElevations' now when I use this widget. Has there been any changes to the elevationsSOE web services that this widget consumes? I tried out a couple of them without success.

http://sampleserver6.arcgisonline.co.../GetElevations

Flex Attribute Widget - Open to "Select by Attribute" instead of "Select features by"

$
0
0
I'm using v3.6 and would like the attribute widget to default to the "Search by Attributes" panel instead of "Select Features by". I guess I need to modify the config file, but not sure. Anyone done this already?

Thx,
Greg

"Hour:Minutes" are not editable

$
0
0
After setting an Date field with Custom format ending with "... J:HH" I can't edit the Hour and Minutes values in the web application. Any ideas why?!

Attribute Table displays twice???

$
0
0
Please tell me I'm not the only one who is experiencing this!! In the Layout tab I've activated the Attribute Table option and configured it to have the initial state "Collapsed". I did not include any layers to show because I only want the "Search" results done after a search to display. When I go to the preview tab, the Attribute Table is duplicated?!! (image attached). This is version 3.5 and I'm totally stumped by this? Anyone else ever experience this? How did you fix it?

Attachment 30987
Attached Thumbnails
Click image for larger version

Name:	ViewerDup.jpg‎
Views:	N/A
Size:	224.3 KB
ID:	30987  

Show total result on Search Widget Fixed Datagrid

$
0
0
How to add total result # on Search Widget Fixed Datagrid?
I add this line almost at the end on SearchWidgetFixedDG.mxml.

<s:Label id="resultSummary" height="15" fontWeight="bold" fontStyle="italic" textAlign="center" color="#ffffff" left="0" top="0"/>

Thank you.

How to disable the "Show All" for the query widget

$
0
0
Hi,

I am trying to disable the show all feature for the query widget for ArcGIS Viewer for Flex 3.5 http://resources.arcgis.com/en/help/...000003m000000/.
Is there a easy way to do this?

Thanks in advance!

Code:

<?xml version="1.0" ?>
<configuration>
    <layer><MyMapServiceIsHere></layer>
    <query>1=1</query>
    <titlefield>Name</titlefield>
    <linkfield/>
    <refreshrate/>
    <zoomscale/>
    <shareresults>true</shareresults>
    <orderbyfields>Name ASC</orderbyfields>
    <fields all="false">
        <field name="Name" alias="Name"/>
        <field name="Email" alias="Email"/>
    </fields>
        <filterfield>
                <name>Name</name>
                <alias>Enter your name</alias>
        </filterfield>       
</configuration>

Flex V3.6 - customizing individual basemap zoom levels

$
0
0
I have a flex app where I've customized the <basemap> tags in my config.xml file to only include the light gray canvas, aerial, topo and street basemaps from ESRI.

When I test the app live to see the maximum zoom scale of each basemap, it seems the aerial, topo and streets are limited to the smaller zoom scale of the light gray canvas (I know at a certain zoom scale the light gray canvas will not draw). Another flex app I created uses JUST the aerial basemap and I can zoom to a much greater scale. It seem the other 3 basemaps get stuck using the zoom scale of the light gray canvas if they are all used together in the basemap switcher?

My question is can I customize each of my four individual basemap layers within the <basemap> tags to zoom to a certain scale? Ideally I'd like to keep the light gray canvas map as is, but then when a user switches to the aerial, street or topo basemap they can extend the zoom level further (or to the max level for those three).

Thanks for any help/tips.

Quote:


<basemaps>

<layer type="tiled" label="Light Gray" icon="https://www.arcgis.com/sharing/rest/content/items/8b3b470883a744aeb60e5fff0a319ce7/info/thumbnail/templight_gray_canvas_with_labels__ne_usa.png" url="http://services.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Base/MapServer" visible="true"/>

<layer type="tiled" label="Light Gray" url="http://services.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Reference/MapServer" visible="false" reference="true"/>

<layer label="Aerial" type="tiled" visible="false" alpha="1"icon="http://farm8.staticflickr.com/7327/12196738736_abeeda671c_q.jpg" url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer"/>

<layer label="Topo" type="tiled" visible="false" alpha="1"icon="http://farm8.staticflickr.com/7352/12196378733_3fd16ec153_q.jpg" url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer"/>

<layer label="Streets" type="tiled" visible="false" alpha="1" icon="http://farm6.staticflickr.com/5508/12196539864_9fe1d98c46_q.jpg" url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"/>

</basemaps>

Buffer Distance Widget Defaults

$
0
0
Just wondering if anyone knows of any way to set defaults for the Buffer Distance Widget?
I would like to set Default point color, buffer fill color and buffer outline color but I can't find the tags to use... anyone have any ideas?

Export Map Widget for Flex Viewer v3.6 - Missing SWF

$
0
0
Robert-

I just downloaded the latest Export Map Widget for v3.6. Pointed my Viewer for Flex add new widget to the .zip folder and after a couple seconds I get an Import Custom Widget dialog box that says Custom widget import failed: Could not find widget SWF. I also deleted all of the files and downloaded a new set just to be sure. Thanks again for all the great widgets and help!

Kind Regards-
Aaron

Zooming issue

$
0
0
For some unknown reason one of my Flex services won't allow me to zoom in pass 10,000 scale. I checked my MXD and found now no scale ranges set. I have checked other services and zooming pass this scale is no problem. Ideas?

Any existing widgets or examples on consuming non spatially aware data in Flex?

$
0
0
How would you consume fairly large xml data (contains geospatial information) that you wanted to re-serve as a map service to/through the Flex Viewer?

My initial reaction would be to write a scheduled python script which reads the xml using available xml libraries, output to shapefile and make a map service consuming the shapefile, which I have done before; however, the max field attribute length is much to short to use shapefile. Unless there is a way I do not know, File geodatabase using ArcPy cursors is out because the map service would just lock the database so I could not update it. I could convert the data to kml either by xslt translation or by writing a script, but ESRI uses a utility server on their end to parse kml for the flex viewer which would not work for any server behind firewalls. I could write a script to convert it to JSON but I don't know of any available widgets that could consume it. I see there is a new GeoEvent server extension, but with our budget cut so much each year, there is no way we will be getting it, nor would I want to for something that should be basic (after all, Google Earth handles live feeds just fine with just a simple xml file (kml is xml)).

Does anybody know of any good examples of widgets that consume data from either a non-spatially enabled database like SQL server (I could write a .NET backend service if necessary to get it from the database to Flex), or JSON, or straight xml? I imagine a script that updates SDE could do it, but I do not really want to go that route since it requires an ArcEditor or ArcInfo Desktop license on the server being wasted.

Thanks for any and all ideas!!!

Splash Screen Timeout

$
0
0
Good morning everyone, This will probably be a simple yes or no question so I figured I would throw it out there after not finding the answer following a quick review of the default splash screen widget and the Enhanced Splash widget documentation.

Is there a way to configure either of these Splash widgets to simply timeout and disappear after X amount of seconds and not requiring any clicks to continue?

Jay

Flex in a Week?

$
0
0
I'm new fairly new to the Flex community and have been to told the best way to get started customizing some of my application is starting with "Flex in a Week". I'm up to day 1 video 4 and am setting up my workspace. I followed the example step by step but after switching my workspace to the new one I created it is not showing up in the Flash Builder 4.7 Package Explorer window. Has anyone else experienced this problem?

create a link to open a folder in a network share on our intranet flex 3.6

$
0
0
Hi

How do i create a link to open a folder in a network share on our intranet
Normal i wrote in pop up file://fs01/data$/Gruppe/GIS/TELE_RDS/Projektering/{TEXTSTRING} or file://M:/Gruppe/GIS/TELE_RDS/Projektering/{TEXTSTRING}

like this <a href="file://M:/Gruppe/GIS/TELE_RDS/Projektering/{TEXTSTRING}" target='_blank'>Link</a>
But i is not working in flex 3.6
it workt in flex 3.0 in pop up, how come, its not working longer?

Problem Unzipping file zipped with python

$
0
0
Hi all!!!

I have this problem, I use a Geoprocess Service to extract data to a SHP file and when it's over within the same geoprocess I call another python script to "ZIP" those generated files. When I try to read that ZIP file in my Flex Viewer application I receive this error:

Error: invalid block type (type == 3)
at com.cesan.common.files.zip::Inflater/inflate()[C:\Users\someuser\Documents\TFS\GISCorporativo\Main\Web\Flex\App\src\com\cesan\common\files\zip\Inflater.as:89]
at com.cesan.common.files.zip::ZipFile/getInput()[C:\Users\someuser\Documents\TFS\GISCorporativo\Main\Web\Flex\App\src\com\cesan\common\files\zip\ZipFile.as:108]

I've made some tests and I find out that if I extract the files to a folder later on then zip them with an external tool like WINRAR, it actually works and the Flex can read that ZIP with no problem.

I'm using the zipFile library and using the example of ESRI to zip the file, I'm also trying to do it with an external application, "7z", after the creating is complete in the same geoprocess and gave me the above error... I'm clueless about what I'm doing wrong or what happens in the process. If someone have or had any advice I really appreciate it!!! It is urgent!!!


Thank you in advance for your help!!!

Attribute Table issues screen shot provided

$
0
0
For some reason when we upgraded to 3.6 and I turned on the Attribute table this is what it looks like

Attachment 31129


Can anyone provide a fix. I also tried viewing in Chrome, FireFox and IE all the same.
Attached Thumbnails
Click image for larger version

Name:	AttributeTable.jpg‎
Views:	N/A
Size:	24.0 KB
ID:	31129  
Viewing all 2097 articles
Browse latest View live