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

Draw Widget with Pan tool

$
0
0
Hi,
I`m using drawWidget (flexviewer 2.1), I added some mouse events to the graphics made by the tool, but its seems to ignore the pan tool when i`m trying to move inside a graphic. The pan tool only works if I remove all the mouse event listeners from the graphic. I saw the latest version of this widget and it doesn`t have this issue, is there some way to change just this aspect?

IdentifyWidget by Robert Cheitlin - Operational layers not displayed

$
0
0
I loaded the IdentifyWidget by Robert Cheitlin. I did 1 test but the results are not good.
Test 1: Load the IdentifyWidget into the Flexviewer V3.2. Unlike the demo in http://gis.calhouncounty.org/FlexVie...g-identify.xml, where the symbols display on the map, when I zoom to the area of Louisville, KY, no symbol displays on the map. When I draw a polygon (on All Layers), no result is found, or it runs Loading... forever.
The I debugged step by step. I could see the operational layers in the IdentifyWidget.xml file are listed in ddMapService.dataProvider. But I wonder why no symbols display and no search result is found. Any hint? Thanks.

How to disable the Textbox on the left of About button

$
0
0
How to disable the Textbox (used for geocoding input) on the left of About button? Thanks.

Flex viewer tokens login issue

$
0
0
Hello,

I am using 3.1. Our flex viewer connects to our secured ArcGIS Server 10.1 services. When a using loads the viewer they get the login prompt and after their first login they are able to access the secured services. My short term tokens are configured for 1 day.

The issue I have is after refreshing the browser or closing the browser the token is thrown away and users have to relogin.

If I navigate directly to rest directory and login the token stays with me for the full day.

What can be done to avoid users from having to login multiple times every day. Because of security reasons users must login.

Thank you

Recalling Splash Scrreen without refreshing the page

$
0
0
Does anyone know if there is a way to recall the Splash Screen widget without refreshing the page? I would like for the user to be able to see the information on the Splash Screen when needed. I would appreciate any thoughts on this.

Mehrshad
Census Bureau
DC

IdentifyWidget - identifyTask.execute

$
0
0
I run a previous version identifyWidget (not V3.2). After
identifyTask.execute(identifyParams, new AsyncResponder(myResultFunction, myFaultFunction, clickGraphic));
Nothing happens. It means it never goes to
function myResultFunction(results:Array, clickGraphic:com.esri.ags.Graphic = null)
As I know, the operational layer's (also the basemap) spatial reference, which is 102729. I got the error message like that:

[RPC Fault faultString="HTTP request error" faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: file:///C:/identify?tolerance=3&geometry=%7B%22x%22%3A1449154%2E1666666665%2C%22y%22%3A385706%2E3333333333%7D&sr=102729&geometryType=esriGeometryPoint&returnGeometry=true&f=json&mapExtent=1226220%2E8333333335%2C287573%2C1767554%2E1666666665%2C605973&imageDisplay=1015%2C597%2C96&layers=top"]. URL: /identify?tolerance=3&geometry=%7B%22x%22%3A1449154%2E1666666665%2C%22y%22%3A385706%2E3333333333%7D&sr=102729&geometryType=esriGeometryPoint&returnGeometry=true&f=json&mapExtent=1226220%2E8333333335%2C287573%2C1767554%2E1666666665%2C605973&imageDisplay=1015%2C597%2C96&layers=top"]
What the error means? Any hint? Thanks.

TOC Widget v.3.2 - won't stop "Generating Legend"

$
0
0
I can't get the little wheel icon and "Generating Legend" to stop going when I open my TOC widget. Any thoughts? I'm using v3.2.

Thanks,
Alison

IdentifyWidget - identifyTask.execute

$
0
0
I run a previous version identifyWidget (not V3.2). After
identifyTask.execute(identifyParams, new AsyncResponder(myResultFunction, myFaultFunction, clickGraphic));
Nothing happens. It means it never goes to
function myResultFunction(results:Array, clickGraphic:com.esri.ags.Graphic = null)
Any hint? Thanks.

Users accessing the GIS web application over intranet (local network),

$
0
0
Users accessing the GIS web application over intranet (local network),

For the time being, our GIS web application (.NET, Silverlight, Flex) is working over intranet and I wanted to know:

Attachment 23572

1. How many users are accessing our web application per day

2. How many users are accessing the web application at each instant

3. The number of unique users how have accessed the web application so far?


Is this possible over intranet?


Thank you

Best

Jamal
Attached Thumbnails
Click image for larger version

Name:	Clip_928.jpg‎
Views:	N/A
Size:	113.8 KB
ID:	23572  

Users accessing the GIS web application over intranet (local network),

$
0
0
Users accessing the GIS web application over intranet (local network),

For the time being, our GIS web application (.NET, Silverlight, Flex) is working over intranet and I wanted to know:

Attachment 23573

1. How many users are accessing our web application per day?

2. How many users are accessing the web application at each instant?

3. The number of unique users how have accessed the web application so far?


Is this possible over intranet?


Thank you

Best

Jamal
Attached Thumbnails
Click image for larger version

Name:	Clip_928.jpg‎
Views:	N/A
Size:	113.8 KB
ID:	23573  

Support for alternate URL parameters?

$
0
0
Currently, I am using the natively supported URL Parameter with the following syntax to zoom to the centroid of a polygonal feature (tax parcel) using the most recent pre-compiled flex viewer.
...hostname/mapservice/index.html?center=-9489513.3906416,5214676.87622923&scale=500

This is well and good but it requires me to regularly update the link tables when the feature geometry changes. I'd rather use the Parcel ID to do so, example below, but cannot find support for this. I know folks have been talking about this for a while but I was unsure if ESRI ever made this a native function.
...hostname/mapservice/index.html?PIN=1234-12-123-1

Basemap Thumbnails - Bing

$
0
0
I am trying to place a thumbnail picture in the basemaps box for the Bing map(s) I have added to our Basemap layers.

I have tried following these instructions, but am still missing something.

I have tried both:

Code:

<layer label="Streets" type="Bing" visible="true"  alpha="1" style="road" culture="en-US" icon="https://www.arcgis.com/sharing/rest/content/items/d8855ee4d3d74413babfb0f41203b168/info/thumbnail/tempstreets.jpg" />
as well as:


Code:

<layer label="Streets" type="Bing" visible="true"  alpha="1" style="road" culture="en-US" icon="assets/images/image.jpg" />
And still get this:

Attachment 23576

Any ideas?
Attached Thumbnails
Click image for larger version

Name:	2013-04-17 14_16_43-SPEPA Operations Dashboard.png‎
Views:	N/A
Size:	181.4 KB
ID:	23576  

passing date in query in expression

$
0
0
I need to pass multiple items in my where statement in out search widget. I can pass several items as "AND" statements and the statement works like this...

Working...
<expressions>
<expression alias="CITY" textsearchlabel="Search by City 1 [ Example: Milliken ]:">loccity LIKE '%[value]%' AND SALEPRICE > 100000</expression>
</expressions>


However I can't figure out the syntax for passing in dates like the following example...

Not Working
<expressions>
<expression alias="CITY" textsearchlabel="Search by City 1 [ Example: Milliken ]:">loccity LIKE '%[value]%' AND SALE_DATE <= 2004-05-12 00:00:00 AND SALE_DATE >= 2001-12-21 00:00:00</expression>
</expressions>

Wrong Date issues in the locale Danish –Dansk Arcgis Viewer for Flex date dd-mm-yyyy

$
0
0
After we upgrade to the compiled 3.2 flex, an start use the Danish version, the date fields is display incorrectly, in the Attribute Table, and in popsUp.
The format in the Tables is a Date field “dd-mm-yyyy” 01-01-1995 as its show in ArcMap table,
and show as 1/1/1995 1:00 AM in the English flex 3.2 version in Internet Explor.

If I change the settings to the locale Danish –Dansk 3.2 , and build a new flex site, the date is show incorrectly. Date 01-01-1995 is show like this 1/1/ÅÅÅÅ -Attachment 23584


How can I fix this bug, do we have to use the english version?
The ArcGis server is version 10.1 on a windows 2008 R2.
The regions and language on the server is set to Danish with short date dd-MM-yyyy

Attachment 23585
Attached Thumbnails
Click image for larger version

Name:	date.png‎
Views:	N/A
Size:	1.3 KB
ID:	23584   Click image for larger version

Name:	region.png‎
Views:	N/A
Size:	13.0 KB
ID:	23585  

IdentifyWidget - identifyTask.execute - HTTP Request Error

$
0
0
I created a simplified Identify IdentifyWidget. It contains a combobox for layer selection. After this widget is open, if I click a point on the map, an error message pops up after identifyTask.execute()

[RPC Fault faultString="HTTP request error" faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: file:///C:/identify?imageDisplay=1125%2C354%2C96&f=json&sr=102729&geometryType=esriGeometryPoint&returnGeometry=true&mapExtent=1150000%2C287000%2C1750000%2C475800&tolerance=3&geometry=%7B%22y%22%3A402600%2E00000000006%2C%22x%22%3A1482426%2E6666666667%7D&layers=top"]. URL: /identify?imageDisplay=1125%2C354%2C96&f=json&sr=102729&geometryType=esriGeometryPoint&returnGeometry=true&mapExtent=1150000%2C287000%2C1750000%2C475800&tolerance=3&geometry=%7B%22y%22%3A402600%2E00000000006%2C%22x%22%3A1482426%2E6666666667%7D&layers=top"]

However, after the widget is open if I click an item of the combox and then click a point on map, the tool works fine.

What's the possible solution for the HTTP request error? Thanks.

Discussion on Formatting Output of Attribute Table Widget

$
0
0
In a previous post on this subject xerox1, Matt Siple asked:


Can I format the output in the Attribute Table without having to go into the mxml code?

Example:
In an Attribute Table I have a column "A" that has the value "0.898387189343111312". I would like to truncate it at 3 decimal points so that the table just shows "0.898".

(Like you can in the InfoPopUpWindow. <field> name = "zyz" <format precision = "2"> </field>)


Matt answered his question in the following thread:

Follow up: Since I never got an answer to this, I assume no has done it and that there is no way to do it the way it was proposed.

The obvious (although not when I asked this question.) solution to this is to format the output in on the server side. I just round off/truncate the value in the db. .03-12-2013.



Although Matt has found a solution to this problem, this seems like a less than ideal solution as you have a field in the database that basically duplicates an existing field and is less precise. It seems as though this functionality should be available via the config files. Does anyone know if this is the case?

This is especially important since the Attribute Table Widget can only be used with SDE data as it requires feature access. ESRI is aware of this shortcoming and says this will be solved in the next release. Adding a new field to a database requires a schema change which is more disruptive to a GIS environment than modifying the config file of a widget to display field data differently than it appears in the source database.

Flex 3.2 Attribute Table Sort Order

$
0
0
Hello,

I am using Flex 3.2. I have users want to sort a column by the attribute field value? (I know how to sort the viewable columns but that is not what I am having trouble with. What I am trying to do is sort a column by field value.)


Thanks in advance for any pointers or tips.
-matt
Attached Thumbnails
Click image for larger version

Name:	TempPic.png‎
Views:	N/A
Size:	8.0 KB
ID:	23600  

Help in direction widget

$
0
0
Hi,

I am using ArcGIS viewer for Flex and when I open the application builder in the explorer and try to get the directions, I got this message "unable to get direction for these locations User does not have permissions to access 'world/route.mapserver'"

I don't know what that mean and how I can get permissions to word route map server.

Any help !!

pop-ups interfering with draw order in Flex viewer 3.0

$
0
0
Is anybody else experiencing this problem? We have configured pop-ups for several of the tiled and dynamic map services in our Flex viewer 3.0 app. The pop-ups are interfering with the draw order. This is a big problem because the parcel boundaries are being hidden by the air photos. We know it is related to the pop-ups because when we disable all of the pop-ups the draw order displays correctly. We have done extensive testing - enabling and disabling the pop-ups for the map services in different combinations. The result is:

Enabling pop-ups on a tiled map service interferes with the draw order. It causes the tiled map service to obscure the dynamic map services. It does not happen every time you use the app but it happens enough to be a pain in the but and it generates a lot of user support email for me to answer.

Has anybody else experienced this problem? What did you do to overcome this problem?

Mini Map component

$
0
0
I plan to create a Mini-Map widget, which displays a feature queried. Please hint me where I can get such a kind of component. Thanks.
Viewing all 2097 articles
Browse latest View live