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

Re: Generate a PDF report from an Identify Result or Address Search Result

$
0
0
thank you for you acrgis service.

ArcGIS Viewer for Flex

$
0
0
Dear All,

I want to changes
Attachment 26190 this from Horizontal to Vertical, could someone help me.

thank you
Attached Thumbnails
Click image for larger version

Name:	ArcGIS Viewer for Flex.jpg‎
Views:	N/A
Size:	5.2 KB
ID:	26190  

ArcGIS Viewer for Flex

$
0
0
Dear All,

I want to change view of ArcGIS viewer (Attachment 26191) for Flex from Horizontal to vertical, could some one help me.

thank you
Attached Thumbnails
Click image for larger version

Name:	ArcGIS Viewer for Flex.jpg‎
Views:	N/A
Size:	5.2 KB
ID:	26191  

Link absent between feature in pop-up window and feature row in Attribute Table

$
0
0
When I hit feature on the map pop-up window open but this feature didn't link with this feature row in attribute table. I can see this link in edit mode only. When I select the feature on the map in the edit mode the row with this feature in attribute table is selected also.
Is it a bug?

Such link work also in Viewer for Silverlight.

Thanks

Datum Transformation in Arcgis 10.1 Amersfoort_To_WGS_1984_2008_MB

$
0
0
I am facing the problem that the Datum Transformation isn't working from Amersfoort_To_WGS_1984_2008_MB

I found that:
Name = Amersfoort_To_WGS_1984_2008_MB
Wkid = 108457
From this pdf: http://resources.arcgis.com/en/help/...formations.pdf

I use this code to check if there are 3 values in the url, and i look if it is the wkid of RD_NEW
Code:

if (textualMapPointAttributes.length == 3)
{
//var wkid:Number = parseFloat(textualMapPointAttributes[2]);
                wkid = parseFloat(textualMapPointAttributes[2]);
      if(wkid==28992){
                rdCheck = true;
        }
                                       
}

And then in the project function this is the code:

Code:

else
                {
                    var projectParams:ProjectParameters = new ProjectParameters();
                    projectParams.geometries = [ geometry ];
                                        trace("input = "+ geometry.spatialReference);
                    projectParams.outSpatialReference = map.spatialReference;
                                        trace("output = "+ map.spatialReference);
                                        if(rdCheck == true){
                                                trace("rdcheck=true");
                                                var datumTransform: DatumTransform = new DatumTransform();
                                                datumTransform.wkid = 108457;
                                                datumTransform.wkt = "Amersfoort_To_WGS_1984_2008_MB";
                                                projectParams.datumTransform = datumTransform;
                                                projectParams.transformForward = true;
                                                trace("rdcheck=done");

                                                /*projectParams.datumTransform.wkid = 108457;
                                                projectParams.transformForward = true;*/

                                        }
                                        trace(projectParams.datumTransform);
                                       
                                        trace(projectParams.transformForward);

                                        GeometryServiceSingleton.instance.project(
                        projectParams, new mx.rpc.Responder(projectionSuccessHandler,
                                                            projectionFailureHandler));

                    function projectionSuccessHandler(geometries:Array):void
                    {
                        trace("gelukt "+geometries[0]);
                                                responder.result(geometries[0]);
                    }

                    function projectionFailureHandler(fault:Fault):void
                    {
                                                trace("gefaald "+fault);

                                                responder.fault(fault);
                    }
                }

This is my output:

wkid is 28992
input = SpatialReference[wkid=28992]
output = SpatialReference[wkid=102100]
rdcheck=true
rdcheck=done
[object DatumTransform]
true

gefaald [RPC Fault faultString="Error executing project" faultCode="500" faultDetail=""]

Anyone know what i am doing wrong?

Or are these 3 values the only ones possible from the documentation

Quote:

datumTransform property

public var datumTransform: DatumTransform

Since : ArcGIS API 3.0 for Flex



The well-known ID or a json object specifying the datum transformation to be applied on the projected geometries. If specified, a value for transformForward parameter must also be specified. If not specified, a search is made through a set of default GeoTransformations. Currently, the following default transformations are used when applicable:


•esriSRGeoTransformation_NAD_1927_TO_NAD_1983_NADCON, forward and reverse, WKID=1241
•esriSRGeoTransformation_NAD1983_To_WGS1984_1, forward and reverse, WKID=1188
•esriSRGeoTransformation_NAD1927_To_WGS1984_4, forward and reverse, WKID=1173

This is an optional property and is only available with ArcGIS 10.1 and higher.
Thanks in advance

ArcGIS Viewer - Logo Distorted?

$
0
0
I have recently upgraded to version 3.4, and I have noticed that my County Seal is now distorted in to an oblong shape rather than round.

Is there a way to correct this without going in to the source code or creating a new County Seal with extended edges?

As always, all help and suggestions are sincerely appreciated.

Possible to use icons instead of attribute values in Popuprenderer? FlexViewer 3.0

$
0
0
I have a map-click popup using a custom Popuprenderer.mxml that returns records for recreational activities at a given site.

Instead of displaying the standard field name and value (Figure1), I'd like to display icons, which would also link to recreational homepages.

I'm a Flex newbie and am wondering if this is possible to do in the keyvaluegroup of the popuprenderer.msml? Or somehow code it in the search.mxml that references the <field> tags in the corresponding .xml?

Figure 1 is the default popup result.
Figure 2 is the "look" I'm going for, but without the functionality. I used the <description> tag to get it this far.

Many thanks from a beginning Flex programmer --

Meg
Attached Thumbnails
Click image for larger version

Name:	Figure1.JPG‎
Views:	N/A
Size:	43.5 KB
ID:	26217   Click image for larger version

Name:	Figure2.JPG‎
Views:	N/A
Size:	33.0 KB
ID:	26218  

Printing Widget with secure problem -URGENT

$
0
0
After started using proxy to secure all my map services and print widget not working anymore. It shows error message "esriJobFailed" and on server log will show "Error executing tool. Layer "Parcel":Failed to create layer from service at . . .".
I used different taskurl to test it and all get the same error message - 1) Used print service with the credentials for the secure service from this site: http://resources.arcgis.com/en/help/...00005q3000000/ for my new 2) Used default Export Web Map Task from ArcGIS Server(http://xxx/rest/services/Utilities/P...b%20Map%20Task).

Besides that, I used fiddler & HttpFox to monitor the traffic. From HttpFox content got this ({"jobId":"j81442677e2c24d0a94639ff12ea5157b","jobStatus":"esriJobFailed","messages":[{"type":"esriJobMessageTypeInformative","description":"Submitted."},{"type":"esriJobMessageTypeInformative","description":"Executing..."},{"type":"esriJobMessageTypeError","description":"Failed."}]})

If open map services to public (no secure) then print widget start working again. All other widget all running correctly for setting proxy to true on xml (<useproxy>true</useproxy>).

Does anyone know how to solve this problem with secure services? Thank you.

Basic Documentation

$
0
0
Where can I find basic documentation on how to use the Flex Viewer. You know like zoom in and zoom out. I want to have something available for users when we roll out our system in the next couple of months.

Dynamic Legend item sort order

$
0
0
This is regarding Robert Scheitlin's Dynamic Legend widget located here. I am using the 3.2 uncompiled version. My operational layers seem to be displaying in no particular order in the widget. I'm sure it's based on something, but right now it seems quite random.

Can anyone explain the logic behind the sorting of items in the Dynamic Legend widget, and how/where I might go about changing or controlling it? I'd really like to have them in the order they are listed in the Map Switcher widget.

Thanks,
Aaron

Flex Viewer Framework import in Flash Builder/Flex SDK

$
0
0
I found this blog entry (http://esrimobile.blogspot.com/2013/...adobe-air.html) which shows how you can take a flex viewer setup, import it into Adobe Flash Builder, and turn it into an adobe air app which can then be used for both Android and IOS phones. My question is this, in the Blog entry it uses the flex viewer framework and the widgets/config files from another pre developed flex viewer app. You just add the whole thing into Flash Builder through a new project import. How can I get my widgets/app into this framework so I can upload it into flash builder and build my adobe air apps? After I follow the configuration from this page (http://resources.arcgis.com/en/help/...0000001q000000), I can see my widgets/config in the bin/debug menu a ways down under the flash builder project name.

Is it just something where I can copy or paste, or is it something where I will need to reconfigure all the src files?

I am using adobe flexviewer 3.4 and adobe flash builder 4.7 premium (with flex sdk 4.6)

Thanks in Advance!

Clinton Cooper

Adding security to Extract Data Widget

$
0
0
I am creating a viewer that is accessed by many people with varying needs. I want to allow other GIS departments that we work with to be able to download shpfiles or DWGs of data, but do not want general users to be able to do so. Is there a way to lock out certain users from accessing this widget?

Google Maps Flex Component

$
0
0
Hi all..

I understand that adding Google maps as a base map is a violation of Google's terms of service.

I was browsing through the internet and found this,
http://www.flexappsstore.com/index.p...&product_id=59

What's a "GOOGLE MAPS FLEX COMPONENT"?

Can it be integrated with ArcGIS Flex Viewer? Can I make it as one of my Flex Viewer's base maps once i purchase it?

Lastly I would like to know if there is a legal way of having Google Maps as one of my base maps if the google maps flex component above is a different flex thing..


Thanks

Changing the Header Controller Location

$
0
0
Hi All...

I want to change Location of Header Controller Widget with Directions Widget, could someone help me how to do it?

thank you

Google Analytics with Layer loaded updates

$
0
0
I am trying to check wich layers are turned on by the customers,

But when i use the AppEvent.LAYER_LOADED it only calls the function when i start the viewer, but not after i turn some layers on or off.

Here's my code:
AppEvent.addListener(AppEvent.LAYER_LOADED, listenHandler);
if (event.type == AppEvent.LAYER_LOADED)
{
trace("event type is layerLoaded");
if(logLayers)
{
trace("werkt hoor!");
}
} trace("event type is "+ event.type);

And at the startup i get this back:

event type is layerLoaded
werkt hoor!
event type is layerLoaded
event type is layerLoaded
werkt hoor!
event type is layerLoaded

But i get nothing back when i am using the viewer. and turn layers on or off..

Is this the way of doing it? or is there another way of checking when a layer is turned on or off?

Maybe with an addEventListener on map.getLayer("").visible = true of something?

Any help would be appreciated,

Thanks in advance

error 2032

$
0
0
hi all ,

I want to use flex view 3.4 , data on my ARCGIS server 9.3 , I install adobe flash player & adobe air.

Note : both (server machine & flex viewer machine) are not connect to the internet

the server is working without any problem. I connect to server using flex viewer and read the required map and layers ,
when I tried to preview error 2032 appear.

Note : I check the browser request there is error in crossdomain.xml file it tried to connect to adobe.com website.

I will be very thankfull for any help

LayerList widget - description button

$
0
0
Hi,

is it possible to configure the description button of the LayerListWidget?
I want, for all my layers, to make links toward HTML pages that describe the layers.
I don't wanted to be redirected on the REST services directory.

(my config : AGS 10.1 - flex 3.0)

thank you,
Vincent
Attached Thumbnails
Click image for larger version

Name:	LayerList_DescribeOption.png‎
Views:	N/A
Size:	6.8 KB
ID:	26304  

Edit Widget Attributes dialog box

$
0
0
Hi I'm using flex 3.4. Does anyone know how you could move the Edit widgets attributes dialog box to a widget container panel type like what the current Attribute Table widget does.

Thanks heaps

Raster as Operational Layer?

$
0
0
I’m fairly new to the Flex Viewer scene and have been reading the forums for help me in sticky areas. I’ve read many threads taking about problems using raster data as an operational layer, and many suggested changing the type to 'dynamic'. Where is this change made specifically? I can find the raster layer in application builder, but when I try to add it to my selected operational layers I get an error stating “Could not add as feature layer”. Where is this ‘type’ change made?
Thanks

How to Update Layer Changes

$
0
0
How do I update layer changes in an existing application?

I have published a service and created an app with Application Builder. I made changes to the layers in the MXD. How do I update the service and app without remaking the application and not have to rebuild the widgets, layout, etc.? ArcGIS 10.1, Application Builder 3.3 Thank you. Stew
Viewing all 2097 articles
Browse latest View live