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

Order of objects in template picker of Edit widget

$
0
0
A user remarked that the order of editable items in the template picker seems to be random (confirmed for both Flex Viewer 3.4 and 3.5).

It is desired to have the same object order like in the legend. Is this possible by configuration?



Best regards,

Laurens van der Burgt

Robert's shapefile widget and M and Z values

$
0
0
I'm using Robert Sheitlin's excellent shapefile widget (Version 3.4) to allow users to import shapefiles into their map. Today one of our users received a shapefile from a client and it would not import. I investigated the issue and found that the shapefile had both M and Z values enabled. I suspected this might be the problem, so I used ArcToolbox (Copy Features) to make a copy of the shapefile without M and Z values. This new copy then successfully imported into the map using Robert's shapefile widget.

I just thought I'd share this tip, in case anyone else experiences the same issue.

Scott

x Robert: eSearch version for SFV 1.3

$
0
0
Hi,
I ask it to Robert :), cause Robert helped me so many time in the past ;)
I need to know if u still have an eSearch version for SFV 1.3, I 'm still working with it and I have to show data related one to many with a layer of my application..
It's sad I still have to work with this old version of the viewer but I think at the moment is better to work with it cause I have no time to migrate all the code to the new version.
Thanks,

Naty

query or identfy a wms layer

$
0
0
Hi all.
Just wonder if there is able to make a query, popups or identify over a wms service in flex 3.2 or higher.

Attachment on Relate table

$
0
0
Has anyone created an access point to attachments associated with a relate table?

Would like to open a single "web page" from a link in a popup w/o opening new windows

$
0
0
Ok... so this is my first post so here goes. I'm currently using FlexViewer 3.4 and FlashBuilder 4.6.

I'm using "popups" for property information when a user selects a parcel. For this purpose, I have an Assessor Parcel Number and a link to a property report. Unfortunately, the link on the popup creates "new" web browser windows after clicking on the property report link when switching from parcel to parcel.

Attached is a screenshot of the popup.

This is the code for the popup xml file.

~~~~~~~~~~~~~~~~~~~~~~~~~

<?xml version="1.0" ?>
<configuration>
<title>APN {APN}</title>
<description>
<![CDATA[
<font color="#ffd700"><b>{OWNER_NAME}</b></font>
<a HREF="http://myserver/prop/report.cfm?key={APN}" TARGET="PropInfo">View Property Report</a>
]]>
</description>
<showattachments>true</showattachments>
</configuration>

~~~~~~~~~~~~~~~~~~~~~~~~~

Do I need to modify the InfoPopup.mxml file for this action to work properly with popups. If so, what is the tweak?

In fact, the "MySplash" widget by Robert Scheitlin works beautifully. I have links using a named target and they work just fine. The named targeted links all go to a single web page without opening new ones.

Any help would be appreciated!

Thanks in advance...
John
Attached Thumbnails
Click image for larger version

Name:	PopUp_Info.gif‎
Views:	N/A
Size:	9.2 KB
ID:	29223  

Re-position Widgets in a Vertical Widget Container

$
0
0
Wondering how I can allow users to re-position widgets within a vertical container (IE Search, Identify, etc).

Change Navigation widget zoom levels

$
0
0
I am working with OpenStreetMap (among others) for my basemap. When my map opens, the zoom level shows the extents of my operational layers and the zoom slider on the Navigation widget is centered. This means that half of the zoom levels will be unnecessary as they only zoom out farther from my operational layers. In addition, the closest zoom level is still too far out to fully utilize my map or even clearly read text I have displayed at that level.

So my question is:
Is there a way to add zoom levels that allow a closer look at the map and remove zoom levels that are extraneous?

I have been experimenting a bit with lods, after looking at this post:
http://forums.arcgis.com/threads/830...highlight=zoom
Unfortunately, while displaying the added lods, the basemap disappears. The basemap only shows at the levels it originally displayed at. Also getting a shift in position of my operational layers and an inaccurate scale bar display when I add the lods.

Any insight would be appreciated.

-Scott

Current extent features

$
0
0
Hi,
Is there a way to get only the visible features/layers in the current extent view of the map?

Time Slider can not handle decades?

$
0
0
I have a simple time map that runs from 2001 to 2091 with one map every 10 years. I set it up in ArcMap, set it to 1 decade and it works great. The slider displays 2001, 2011, 2021, 2031, 2041, 2051, 2061, 2071, 2081, 2091 just the way i want it.

I published the map then used App Builder to make a simple 1 layer map as a test.

I set the Time Extent in the widget to From Layer and pick the layer. When I run the flex app the time slider is all wrong. It goes 2000, 2011, 2020, 2031, 2040, 2051, 2060, 2070, 2080, 2090? So I turn on months and it is doing this Dec 2000, Jan 2011, Dec 2020, Jan 2031, Dec 2040, Jan 2051, Dec 2060, Dec 2070, Dec 2080, Dec 2090. So i turned on full date and it is doing Jan 1 sometimes and Dec 31 other times. Maybe it does day math and leap years are messing it up?

I would try Specific Times just to see but you can not type in a date so that would mean clicking a month back at a time for 12 years! (this needs to be fixed) Also stop method does not have a decades option.

So any ideas what is happening?

Thanks a lot.

How to use the China Map in Application Builder?

$
0
0
When I try to use the China Map(Included POI) as the basic map in Application Builder ,I encounter a problem described as "DefaultHTTP ,CHANNEL.Security.error" what should I do ?

add a secure wms as basemap

$
0
0
Hi!
I have build a map application with Arcgis flex 3.2 and right now im trying to add a wms layer as a basemap in my application
In Flexbuilder everything works fine when I run it. But when I build it and move the release folder into my application server i got
error messenger as below:

Code:

SecurityError: Error #2170: Security sandbox violation: http://apparcgis01/karta/e/index.swf cannot send HTTP headers to http://maps.lantmateriet.se/ortofoto-ar/wms/v1?VERSION=1%2E3%2E0&SERVICE=WMS&REQUEST=GetCapabilities.
        at MethodInfo-3067()
        at mx.rpc::AsyncResponder/fault()
        at mx.rpc::AsyncToken/http://www.adobe.com/2006/flex/mx/internal::applyFault()
        at mx.rpc.events::FaultEvent/http://www.adobe.com/2006/flex/mx/internal::callTokenResponders()
        at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
        at HTTPOperation/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
        at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()
        at mx.rpc::Responder/fault()
        at mx.rpc::AsyncRequest/fault()
        at DirectHTTPMessageResponder/securityErrorHandler()
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at flash.net::URLLoader/redirectEvent()

in config.xml the code is as below:

Code:

<!-- Backgrunskartan -->
                <basemaps>
                        <layer label="Bakgrundkarta" type="tiled" visible="true" alpha="1"
                                url="http://apparcgis01.kumla.internal:6080/arcgis/rest/services/baskarta/Karta/MapServer"/>
                        <layer label="Flygfoto 2013 Kumla Tätort"  type="tiled" visible="false" alpha="1" 
                                url="http://apparcgis01.kumla.internal:6080/arcgis/rest/services/baskarta/Flygbilder/MapServer"/>
                        <layer label="Flygfoto 2010 kumla kommun" type="wms" username="xxx" password="xxx"
                                url="http://maps.lantmateriet.se/ortofoto-ar/wms/v1?" version="1.1.0" visible="false"
                                wkid="3006" visiblelayers="orto_2010"/>       
                </basemaps>

in my IIS, root, crosssdomain.xml the code is as below:

Code:

<?xml version="1.0" ?>
<cross-domain-policy>
  <allow-access-from domain="*"/>
  <site-control permitted-cross-domain-policies="all"/>
  <allow-http-request-headers-from domain="*" headers="*"/>
</cross-domain-policy>

Does anyone know what is wrong with my application?

Flex Viewer TOC - autozoom to checked layer's extent

$
0
0
Hi, I'm new to flex viewer customization. can anybody share their customization (if any) on how to automatically zoom to a checked layer's extent when interacting with the operational layer?
Looks like the change will have to be performed on com.esri.viewer...
Thanks in advance, j

Moving the top menu

$
0
0
Hi,

I am thinking bout putting the top UI - Header Controller. Have anybode done this? I'm interested in putting it at the right part of application and make it wider with putting it other infomations for example textbox?

Can anybody help? :)

datagrid

$
0
0
I have been working with the enhance search widget for a while and so far everyone seems to like it.....I am now adding a datagrid to the fray. Easily completed the setup in the config...there is a widget tab at bottom of screen.. In the eSearch.xml, I have added
gridfield="true" to the fields tag for the fields I would like to see in the datagrid, as shown in documentation.

after a successful search, the results are not being populated into the datagrid. Though I have read and reread the documentation, I know I am missing something (probably basic) in getting the successful search results to populate in the datagrid. any hints or suggestions would be appreciated.

thanks

James Armstrong

Progress Bar for 3.3

$
0
0
I have a progress bar widget in my FlexViewer 2.5 that displays while the user is waiting for the map to finish drawing. I am upgrading to Flex 3.3 and this widget will not work for me at 3.3. Does anyone have a progress bar widget that works at 3.3?

GCOD in 3.3 while Editing

$
0
0
So, I've come across the GCOD error like many have mentioned before (especially before 3.3 version). However, we are using version 3.3. I've tried to implement the fixes like "selectionColor" and "infoWindowHighlightColor" but to no avail.

When we open the "Edit" widget and select a feature or create a feature, and thus it is selected, we attempt to zoom further into the feature. And, like many have reported, once the extent is exceeded, the infamous GCOD appears. I have noticed that if I refrain from using the scroll wheel and use the "+/-" zoom buttons instead, all seems to be fine. As well, IE in 64bit mode doesn't seem to have this problem.

Does anyone have any insight as to how I can fix in flex viewer/api 3.3? Thanks.

Jerry

Print Widget: How to change locale of Date label

$
0
0
Hi,

I use the following URL for an Export Web Map Task configuration in my PrintWidget.xml:

Code:

<?xml version="1.0" ?>
<configuration>
  <taskurl>http://azivm2k8sqlexp:6080/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task</taskurl>
 
  <layouttemplates  visible="true" defaultvalue="Letter ANSI A Landscape">
      <layouttemplate>Tabloid ANSI B Landscape</layouttemplate>
      <layouttemplate>Tabloid ANSI B Portrait</layouttemplate>
      <layouttemplate>A3 Landscape</layouttemplate>
      <layouttemplate>A3 Portrait</layouttemplate>
      <layouttemplate>A4 Landscape</layouttemplate>
      <layouttemplate>A4 Portrait</layouttemplate>
      <layouttemplate>Letter ANSI A Landscape</layouttemplate>
      <layouttemplate>Letter ANSI A Portrait</layouttemplate>
      <layouttemplate>MAP_ONLY</layouttemplate>
  </layouttemplates>
 
</configuration>

I noticed that when we print, the Date label below the map is in English:

Attachment 29355

It needs to be in French.

We already compile using the french locale in Flash Builder.
There doesn't seem to be any locale setting for the Print Widget.
Or the Export Web Map Task

Is this possible?

We use ArcGIS Server 10.1.0.3035

Thanks
Attached Thumbnails
Click image for larger version

Name:	Screenshot.png‎
Views:	N/A
Size:	131.9 KB
ID:	29355  

relates?

$
0
0
OK, I am good with the data grid....(see previous post). Now for relates. Robert, I have studied the documentation, it all seems pretty straight forward, except for one thing. Where is the data for the sample relates stored? I have looked on the service as provided:

http://sampleserver1.arcgisonline.co...ille/MapServer

I have looked for how the relates work on that service, but apparently, I am missing something. The documentation refers to the
relateid, but this does not seem to correspond with the service above that is part of the sample code..... I don't see the relates?

help! what am i missing? I am sure it is right in front of me

James Armstrong

Widget containers and groups - application builder

$
0
0
We are in the process of modifying the application builder to use our implementation of flex viewer and some extra widgets we have created. We are just at the process now of extending the functionality to allow widgets to be placed in side groups and containers as this seems to be something that is missing from the current builder.

Before we go to far down this line is this something that anybody has already done? Or is it something the flex team are looking at doing (Bjorn)?

Regards

Anthony
Viewing all 2097 articles
Browse latest View live