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

Thematic Widget 3.6 with Flex Viewer 3.1


GraphicalClickInfo in Identify Widget

$
0
0
Hi Robert (just presuming you'll be the one able to help :)

I configured the xml for the Identify widget to display one link in the results and the pop up window. This seems to work fine. The icon with the link is displayed in the results window and my "Click to View Website" is viewable in the pop up window when I mouse over a graphical symbol. However, when I click on the symbol it returns all of the fields, but not the link or "Click to View Website" as it does when I mouse over the symbol. Thoughts? Here's a sample of the xml I set up...

<identifylayeroption>all</identifylayeroption>
<identifytolerance>5</identifytolerance>
<defaultzoomscale>5000</defaultzoomscale>
<keepidentifyactive>false</keepidentifyactive>
<returngeometryforzoom>true</returngeometryforzoom>
<enablelineselect>false</enablelineselect>
<enableextentselect>true</enableextentselect>
<enablepolyselect>true</enablepolyselect>
<enablecircleselect>true</enablecircleselect>
<enableellipseselect>true</enableellipseselect>
<enablemouseovergraphicsinfo>true</enablemouseovergraphicsinfo>
<enablemouseoverrecordinfo>true</enablemouseoverrecordinfo>
<enablegraphicclickinfo>true</enablegraphicclickinfo>
<usemaptime>false</usemaptime>
<infoautoclosemilliseconds>2000</infoautoclosemilliseconds><!-- 2 seconds -->
<autoactivatedtool>extent</autoactivatedtool><!-- possible values are extent or polygon or mappoint or polyline or nothing -->
<excludebasemaps>true</excludebasemaps>
<disablepopuplinks>false</disablepopuplinks>
<disablelayerdropdown>true</disablelayerdropdown>
<disablealllayerschoice>true</disablealllayerschoice>
<replacenullswithemptystring>true</replacenullswithemptystring>

Thanks!
Arthur

Link List widget and panels

$
0
0
Can the Link List widget be coded so that it works with panels? Very similar to the eLayerList widget enhancement that was recently made. I'm upgrading to 3.6 from 3.4. The widget appears fixed at 300 x 300 using it with panels in 3.6. In 3.4, it seemed to work fine with panels.

BTW, This widget is extremely handy.

Thanks in advance...
John

strange labeling on print in 3.6

$
0
0
When using the OOTB print widget to print from my application I'm having an issue where any labels that are shown are getting drawn more than once, in some locations. The labels appear as expected, once, in the application. The weirdest part is that after looking at it for quite awhile I realized that the only features that get labeled multiple times are those that seemingly intersect an imaginary vertical and horizontal axis. See the attached screenshots of the print. I added the red lines on the one so the effect can be seen better.

Does this make any sense to anyone?? This happens on any layers that have labels (at least those that I have in my map service). I also tried turning off all other layers and it made no difference.

thanks!
Attached Thumbnails
Click image for larger version

Name:	Capture.PNG‎
Views:	N/A
Size:	579.4 KB
ID:	30329   Click image for larger version

Name:	Capture2.PNG‎
Views:	N/A
Size:	612.5 KB
ID:	30330  

Issue with adding both GeoWebCache WMTS and ArcGIS Tiled services to Flexviewer 3.5

$
0
0
The issue I am dealing with is tiled services, when I add a WMTS from GeoWebcache none of the MapServices work. I imagine it has something to do with the tileset matrix, but what would need to be set so both work in unison.

Here is my config.xml entry

Code:

<map wraparound180="false" esrilogovisible="false" initialextent="-49.5 -14.3 99.4 75.1" top="40" portalurl="some_portalurl" addarcgisbasemaps="false" wkid="4326" bottom="25">
  <basemaps>
      <layer type="wmts" label="GWC Test" url="http://hostname/geowebcache/service/wmts" imageformat="png"
          visible="true" style="_null" servicemode="KVP" layerid="test_gwc_layer" tilematrixsetid="EPSG:4326" />
      <layer type="tiled" label="AGS Test" url="http://hostname/ArcGIS/rest/services/Basemap/test_ags_layer/MapServer"
          visible="false" />
  </basemaps>

Both are 4326, but if the wmts is set to visible="true" then only wmts services work and if tiled is set to visible="true" then only tiled services work.

Note: dynamic and wms services work in both cases. The issue only is with tiled services (ArcGIS tiled and GeoWebCache wmts)

flexviewer 3.5
ArcGIS Server 9.3.1 and 10.0
GeoWebCache 1.5.0
crossdomain.xml has been added to the GeoWebCache web root

....any suggestions? I would expect both to work, especially one being an OGC standard.

Respectfully,
Daniel Berry

Channel Security error on MapManager

$
0
0
I run into this error message on MapManager for ArcGIS View for Flex web application v3.5 when try to open web application to public to use. I tested this on internal web browser and it works fine only happen if public try to access the site.
Here is the error message I got:

MyLayer layer failed to load: Fault code:
Channel.Security.Error

Fault.info:Security error accessing url

Fault details: Destination: Default:HTTP

I have crossdomain.xml on C:\inetpub\wwwroot folder

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<site-control permitted-cross-domain-policies="all"/>
<allow-access-from domain="*" secure="false"/>
<allow-http-request-headers-from domain="*" headers="*" secure="false"/>
</cross-domain-policy>

Besides that, I have another custom flex web application open to public using the same secure map services, proxy, and crossdomain without any error or problem at all. Only on ArcGIS Viewer for Flex web application got error message.
Have any ideas for this error message? Thanks.

Bye Bing, need hybrid.

$
0
0
I know that the world imagery with transportation and places overlays will do the trick but I need to make it where if Imagery is chosen those overlays come on automatically and if streets is selected the overlays turn off.
thanks for any help!
B

Searching Date Ranges?

$
0
0
Hello,

My first question is it possible to set up the search widget to search for a date range? Second if it is possible how is one able to do so?

Flex Viewer 3.5 - not able to print orthophoto & removal of ESRI Source on map

$
0
0
I am trying to create a web mapping application which uses my own template for printing. However, my orthophoto will not show up on my printed PDF output. It will only show up when I print using 'MAP ONLY'. The ortho I am using is an image service.

I am using 10.2; Flex 3.5.

Any ideas why this is occurring?

Also, is there a why to remove or alter the ESRI source which appears on the printed map?

Respectfully,
Alyson

Reload viewer container ?

$
0
0
Hi everibody,

I made an ArcGIS Viewer for Flex from 3.5 version that launch the good configuration file depending to the user authentified. For this I use
Code:

ViewerContainer.configFile = configFile;
where the variable configFile is a string equal to the URL of the xml.

But a user could have many configurations possible, so I made a button in the HeaderController which permit to change the configuration. Then I'd like to reload the HeaderController with the new config, I tried that:
Code:

ViewerContainer.configFile = newConfigFile;
ViewerContainer.getInstance().configManager.loadConfig();
ViewerContainer.getInstance().initialize();

But instead of reloading the HeaderController, it adds a new one behind the current one. Perhaps you'll see it below in transparency:


How really don't know how to reload it...

I'm open to any kind of solution ;)

Thanks in advance,
Ben

Query task freezes browser temporarily

$
0
0
Hi all:

For the first time I'm performing a few queries that are not near-instant. One query will return up to 2000 points from a dataset of over 100 000. I'm noticing that it freezes everything until the query is returned. The Flex Viewer and Firefox simply hang for 20+ seconds. Is this normal? I always thought that an AsyncResponder would listen for the server to return the data and then trigger the success or fail function the next chance it got.

My implementation looks like this:

Code:

protected function navigatorcontent1_tabEnabledChangeHandler(event:Event):void
{
        surveyPointsQuery.where = "surveyid = " + surveyAttributes.surveyid.toString();
        surveyPointsQueryTask.execute(surveyPointsQuery, new AsyncResponder(queryResult,queryFault));
       
        function queryResult(fset:FeatureSet, token:Object = null):void
        {
                loadSurveyPoints(fset);
               
        }
       
        function queryFault(event:FaultEvent):void
        {
                Alert.show(event.toString());
        }
}

Code:

<esri:QueryTask id="surveyPointsQueryTask"
                                useAMF="true"
                                url="http://validurl/MapServer/0"/>

<esri:Query id="surveyPointsQuery"
                        returnGeometry="true"
                        outFields="*"
                        outSpatialReference="{map.spatialReference}"/>

I have also tried to run this where the success/fail functions are independent of the parent function.

Copyright text displayed for operational layers, but not basemaps.

$
0
0
Hello,

I am curious if there is an easy to way to have the copyright text for the operational layers displayed in the bottom right corner without the basemap copyright text. I understand that the attributionvisible tag controls whether or not the copyright text is displayed, but I would prefer one to show up and not the other. Any advice would be greatly appreciated.

Thanks,
Rob

Identify Widget 3.6: Error #1014: Class mx.modules::Module could not be found

$
0
0
Have just downloaded the Identify Widget for Flex Viewer 3.6 and I get the following error with both the compiled and uncompiled versions:

Exception thrown (VerifyError: Error #1014: Class mx.modules::Module could not be found.

at flash.display::MovieClip/nextFrame()
at mx.core::FlexModuleFactory/deferredNextFrame()
at mx.core::FlexModuleFactory/update()
at mx.core::FlexModuleFactory/moduleCompleteHandler())

Usually this relates to using the widget in the wrong viewer version or the agslib being out of date but I've checked all that and everything I'm using seems to be version 3.6 specific ...

Any ideas? Thanks!

Edit widget: Attaching multiple documents at once

$
0
0
Is anybody aware of of a way to allow multiple documents to be selected and attached at the same time using the edit widget? Currently when the user clicks on Add Attachment they are prevented from using ctrl or shift to select more than one item to attach. Thanks for any input.

Print widget export map performans

$
0
0
Hi,

What is Print widget PrintingTools performance for 300\600 dpi?

Now I can export A4 layout to 3 Mb file pdf more than 5 minutes at ArcGIS Server WG 10.1 sp1 on HP ML350 G4p 2 *Xeon 3 GHz 8 RAM server.

Earlier I worked with ArcIMS 9.2 ArcMap Image service Layout and I could create such pdf file for 1-2 minutes.

Thanks

Oleg Lukyanov

Russia

Basemap images look pixelated when zooming out

$
0
0
When I zoom out on my cached map service in Flex Viewer or Javascript, the imagery in there looks pixelated, although it doesn't when I zoom out in ArcMap. Is there some setting I can fix in my service or something to make it look less choppy?

SQL for Hebrew data

$
0
0
Hello,

I am trying to define an SQL expression that will use Hebrew data,with out any success.
what im am asking is-
In the ArcGIS viewer for Flex, in the Configure window of the Search widgets, in the Expession textbox
what is should write in order thet it will be able to read text string in Hebrew?


Thank you,
Roi.

Popup in browser issue.

$
0
0
I created a custom popup in the popup configure window. Everything works fine in using the preview tab in the application builder and in IE but the popup will only show the regular key value popup in Firefox not custom. Anyone have any thoughts on this?

eSearch/Identify Hyperlink issue

$
0
0
App Versions: Flexviewer 3.5, eSearch 3.5.4, Identify Widget 3.5.1 (all compiled and flex app builder has not been used)

I have an issue with hyperlinking from the flexviewer that occurs on both the eSearch
and Identify widgets by Robert Scheitlin. This post is focused on the eSearch Widget
but may be important to note that this issue occurs in the identify widget as well.

In the feature data/operational layer a field provides the folder path location (Sample: \\Machine2\structures\culverts\Folder)
The desired result is for the link to open windows explorer at the particular folder location defined in the field.
Both widgets work perfectly from the widget results window but not from the popup window.

I can control the problem by eliminating the popup links in Identify with <disablepopuplinks>
but in eSearch I used disableinpopups="true" in <link></link>. This removes the troublesome link
but if I hover over the result in the datagrid the link shows up in the popup immediately.
If the link in the popup is clicked in either widget I get an IE page 404 error.

Error page details: Requested URL: http//machine1:80/flexappfolder/machine2/strutures/culverts/folder
Physical Path: D:\inetpu\wwwroot\flexviewer\flexappfolder\machine2\structures\culverts\folder

My flexviewer involves 2 machines on an intranet.
Machine1: Web server and location of flexviewer
Machine2: Hyperlinked Folders location (In machine1 webserver IIS 7 D:\inetpu\wwwroot\flexviewer\flexappfolder\machine2\structures is set as a virtual directory)

There are two scenarios that would solve my problem:
1. figure out how to get the popup link to work as it does in the results window
2. be able to disable the link in the popup even after hovering over the record in the datagrid.

Much appreciation for the wonderful service these widgets provide and the amazing support.

J-

Edit widget text box size; singleToMultilineThreshold value being reset to default

$
0
0
I am having an issue with the size of the text boxes in my editing widget that I had previously found the answer to with the singleToMultilineThreshold property, but now the issue is recurring after I have added more than one editable feature service.

When I first pop open the Edit Widget, my text boxes are all only one line as I want them. Then, if I switch the feature I am editing or close and reopen the Edit widget, the boxes revert back to their annoying default size. I set the singleToMultilineThreshold to 255 in the basewidget_creationCompleteHandler of the EditWidget.mxml. I also tried in the .xml setting the property for each sublayer individually.

Does anybody know where this property is getting reset to the default and where I need to override it so it is always 255? Thanks
Viewing all 2097 articles
Browse latest View live