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

Please help ... trying to install custom Identify Widget

$
0
0
I am brand new (I am talking yesterday) to Flex application builder, and to ArcGIS Server 10.1 ... just got this up and running the last day or two.

I need to know how to install the custom Identify widget, and get it to work with my "Test" application.

When I say I need to know how to install it, I mean every last step ... I know NOTHING about how to get this to work.

No idea what files or folders go where or when, or what to edit, or anything.

Sorry if this is the wrong forum to post this thread in ... if it is, could someone please guide me to where I need to be?

Thanks,

John

Adding XY when creating a new feature with Edit Widget

$
0
0
Hi,

I am a little new to Flex and trying to flesh everything out. I have implemented the Edit widget on my viewer and was wondering if there was a way to populate and X and Y fields automatically when the feature is created. When I create a new feature in the viewer I can manually add the details but I noticed in ArcMap that there is location info when I identify the point. Is there a way I can add the XY data to the attribute table?

Edit: Also, is there a way to do the same with the a timestamp field? i.e. populate a timestamp field with the time the feature was created?

Thanks,
Spencer

Attribute table missing in IE9

$
0
0
The viewer was created with the Flex Viewer Builder. I set up the attribute table to be open when the viewer loads in a browser. The table appears as expected in Chrome and Firefox, but not in Internet Explorer.
Any suggestions?

Jill Halchin
Southeast Archeological Center
National Park Service

Flex Build 3.1 FlexViewer Map Rotation and Zooming in On Map

$
0
0
I have a FlexViewer 3.1 application that I just recently applied map rotation to in the config file. Before applying the map rotation I was able to zoom in very tightly on the map (Let's say 1:600) very quickly (1-2 seconds). With the map rotation applied I can zoom tightly into the map with a decent response time when only a few (1 or 2) layers are visible. If I have all my default layers on, I am only able to zoom a small way into the map (Let's say 1:64,000) before I am unable to zoom in any more and the browser freezes.

Is this expected behavior as it takes longer to render the map when it is rotated?

Has anyone else experienced this behavior? If so, is there a way to fix this problem?

Editing the Locator Widget

$
0
0
I would like to add an example of what people should type into the street box such as "300 E Chapman Ave" so that they type in the correct format to locate the address.

On the standard locator widget there is a label that says "Enter the Address". I would like to be able to modify this to say " Enter the Address eg: 300 E Chapman Ave" but I cannot find where or how to do this. I have looked at the code in the LocateWidget.xml file but could not find this text.

Any help would be appreciated.

Google Street View Widget

$
0
0
The widget was working fine but for some reason I am getting this error now:
[FaultEvent fault=[RPC Fault faultString="Unable to complete Project operation." faultCode="400" faultDetail="Service 'Geometry' of type 'GeometryServer' does not exist or is inaccessible."] messageId=null type="fault" bubbles=false cancelable=true eventPhase=2] Can someone tell me what this means? Thanks.

eSearch Tables Robert Scheitlin Issue

$
0
0
Robert,

I am trying to search a standalone table using version 3.1.12.

The query acts as though it is performed but no results are returned in the floating data grid.

When trying the query through the REST endpoint it works but I cannot determine why it is not working via the widget?

My rest endpoint = Click Here

The table I am trying to query = Table

Query to test = upper(CondoID) = upper('%016704.009H%')
Return Fields = CondoID, PIN

Can you see anything in the code below that I would need to change?

Code:

        <tables>
                <table>
                        <enableexport>true</enableexport>
                        <enableprintgrid>true</enableprintgrid>
                        <name>CondoID</name>
                        <url>http://maps.clermontauditor.org/arcgis/rest/services/Parcels/Parcels_WMAS_Dynamic/MapServer/18</url>
                        <expressions>
                                <expression alias="Search Condos" textsearchlabel="Search by Condo ID:">
                                        <values>
                                                <value prompt="Example: 016704.009H">upper(CondoID) = upper('%[value]%')</value>
                                        </values>
                                </expression>
                        </expressions>
                        <titlefield>CondoID</titlefield>
                        <fields all="true"/>
                        <links>
                                <link alias="">
                                        <![CDATA[]]>
                                        <icon><![CDATA[]]></icon>
                                </link>
                        </links>
                        <queryattachments>false</queryattachments>
                        <autoopendatagrid>true</autoopendatagrid>
                </table>
        </tables>

Change CSV list separator in Attribute Widget

$
0
0
Hello all,

I can't seem to change the list separator for the csv export in the attribute widget.
It's now "," and i would like to change it to ";" Does anyone know where to look?

I'm working with the 3.1 sourcecode. Thanks in advance.

Jos

eSearch using checkboxes to query results

$
0
0
Hi All -

I came across a webpage that is using Robert's eSearch (2.5) widget with additional functionality to search by amenity. Please see attached image and website:

http://www.gis.dcnr.state.pa.us/maps/index.html

I need to do this exact thing and have been looking online for how to implement, but to no avail. Any one have any leads?

We're running FlexViewer 3.0 and server 10.1.

Many thanks, Meg
Attached Thumbnails
Click image for larger version

Name:	amenity search.JPG‎
Views:	N/A
Size:	40.2 KB
ID:	22603  

Google street viewer for flex api 3.0 widget

Identify Widget 2.5, Can't get popup to stay up to use Hyperlink

$
0
0
I am using the Enhanced Identify Widget 2.5, compiled version and have it set up so that after a result is returned in the results window, a popup appears and a zoom occurs when you click on the result. Within this popup, I have some attributes displayed and a hyperlink setup. However, as soon as my cursor leaves the Results window the popup disappears preventing the user from being able to click on the hyperlink.

I have tried this: <enablemouseovergraphicsinfo>true</enablemouseovergraphicsinfo>
<enablemouseoverrecordinfo>true</enablemouseoverrecordinfo>

It (the popup) only comes back when I click on feature results in results window.

I am NOT using the Viewer for Flex Application builder. Just using the Viewer for Flex config.xml file and the widget files.


Thanks in Advance!

Michael Lee

Question about etime widget

$
0
0
Greetings, I modified the etime widget code a little for one behavior-- if the widget is opened and closed, and the user changed layer visibility, the widget open event can not acknowledge this change. So I added the following code in widgetOpenedHandler
var l:int;
oLayerVisArr = [];
for (l = 0; l < configTimeLayers.length; l++){
if(map.getLayer(configTimeLayers[l].layer)){
const vis:Boolean = map.getLayer(configTimeLayers[l].layer).visible;
oLayerVisArr.push(vis);
}
}
changeLayer(selectedIndex);
ddlTimeLayers.selectedIndex = selectedIndex;

The ChangeLayer basically is same as ddlTimeLayers_changeHandler. SelectedIndex is remembered in widget close handler. However, when I opened the widget for the second time, the temporal play can not be fired. If I change the layer, then everything works fine, though my changehandler uses the same code.
protected function ddlTimeLayers_changeHandler(event:IndexChangeEvent):void
{
var i:int = ddlTimeLayers.selectedIndex;
changeLayer(i);
}


Can anyone give me some hint?

Thanks

Xiaowen

Popups not appearing correctly ...

$
0
0
I am having quite a different problem with the popups in 3.1 than I have read elsewhere. When I try to use a dynamic service and assign popups to a sublayer the popups appear in the upper left corner of the screen (the majority of the time) or end up frozen on one particular location. The popups only work correctly on one of the sublayers when all part of a dynamic service.
In contrast, if I add each sublayer from the dynamic service, the popups will work fine. It would be quite unwieldy to add each sublayer as its own individual layer. Any thoughts on how to possibly address this issue would be appreciated.

JP

2.5 to 3.1 Widget problem

$
0
0
Hello All,

I have a geoprocessing widget that I was using in the 2.5 version, worked as expected.
However, when I upgraded to v3.1 and moved the xml and mxml file over it had a problem.

The Problem:

All text and images that I had in the input container don't show up and the output container does not show up at all.
Geoprocess works, returns results as expected.

I went in and changed some of the code in the label tags in the mxml file but still nothing.

Am I missing some overhead issue with it or is it coded different then it was before.

Thanks

Eric

Header Controller Widget: tag

$
0
0
The labels child tag <clearfeaturelabel> is referenced in the widget documentation, but the label doesn't appear anywhere in the app either as the default "Clear" or any type of custom text that I use. It doesn't appear in ESRI's sample application either.

Has anyone else had any luck with this label?

Thanks
Ned
TLCGIS

10.1 Services not showing up in my flex viewer 3.0

$
0
0
Hello,

I recently switched from arcgis server 10 to 10.1 and so I had to remake the services I use in the flex viewer. After I remade them I expected to be able to add them right back to my config file and work but this is not the case. Instead I just get a white screen. I don't get errors about the layers not being able to load and they even show up in the table of contents.

Anyone know what might be going on here?

here is the link to my map in case that helps.

http://radfordgis.radford.va.us/flex...wer/index.html

Thanks,

Chris

Put image into popup

$
0
0
I am a new student to ArcGIS Viewer. I have a hiking map with 13 popular trails listed as points on a map. I can click them and it displays the trail name through the attribute table, but I want a jpeg image of the trail to popup below the trail title also. I have the images in a folder but how do I program it to show each image when the trail point is clicked. I see under Configure, Popup, Media you can load media via URL or link. Can I reference the folder some how from here or do I need to program .xml....I found the following xml but not sure where to start: Thank you
<configuration>
<title>{Tract}</title>
<fields>
<field name="Tract"/>
<field name="Link"/>
</fields>
<medias>
<media type="image" imagesource="{Link}" imagelink="{Link}"/>
</medias>

Cannot add custom widget in Flex Application Builder

$
0
0
Hello,

I am trying to add a custom widget in the Flex Application Builder. When adding I receive the following error: "Custom widget import failed: Cannot transfer module and widget files to template folders: Error #2038". In searching I haven't found any info on this error. Has anyone else run into this or have any suggestions on how to resolve this? At first I thought it was happening with only the enhanced search widget, but I have tried it with several others and I receive the same error on each. I am using Application Builder 3.1. I tried reinstalling the Applcation Builder but still have the same issue.

What's odd is when I go back in to the Application Builder later, I see them custom widgets I tried to add are actually there, but it shows a broken link image for the icon, and when I go to edit the widget in the Application Builder the Widget Settings screen only shows <configuration/>, and not all the xml.


Thank you.

Adjust popup size

$
0
0
I have an image in my popup. How do I adjust the size of the popup to display a larger image. Thank you

Search Widget

$
0
0
Hi,
I've field that relate to each other. My question

1. How to make when user pick value in Main Code, the value in Type Code only display a value that relate to Main Code and
value in Sub Code only display a value that relate to Type Code? i'm using expression below but it all show all the value

<expression alias="Status Code" textsearchlabel="Search Code:" isvaluerequired="False">
<values>
<value prompt="Main Code" isvaluerequired="true" uniquevalsfromfield="Main_Code" >Main_Code = '[value]'</value>
<value prompt="Type Code" isvaluerequired="true" uniquevalsfromfield="Type_Code" operation="AND" >Type_Code = '[value]'</value>
<value prompt="Sub Code" isvaluerequired="true" uniquevalsfromfield="Sub_Code" operation="AND" >Sub_Code = '[value]'</value>
</values>
</expression>

2. How to make widget start searching when all value has been choose? I'm using expression above the widget start searching when i pick a first value.

Any help would be greatly appreciated.

Thank.
Attached Thumbnails
Click image for larger version

Name:	field.png‎
Views:	N/A
Size:	3.5 KB
ID:	22670  
Viewing all 2097 articles
Browse latest View live