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

Layer not showing

$
0
0
Hello,

I am having trouble with a feature layer not showing up in the flex application. This layer is sorted by unique value with simple outline symbology. It will show up in flex if I bring it in with the other layers of the service as a dynamic service but when I bring it in individually. Any ideas about what is going on?


Thanks!

Displaying blobs

$
0
0
Hello All,

I have a mobile project running using ArcGIS mobile for Windows. The project is being used by Trimble Junos - in order to allow the Trimbles to collect more than one picture in one location, I named the fields in the DB "Picture_1", ect. This works great as it prompts the camera to open in the Trimble or add a photo that is already stored on the Trimble. The problem I am having is adding the pictures directly into a Flex map so the Flex map is populated with data "live" from the field. My current work flow is:

-Copy the feature class to a personal geodatabase (since it is a Microsoft Access database)
-Run a script that extracts the blobs as jpegs to a folder
-Have the Flex map call to that folder to display the images

The problem with this is that the data does not feed live to the Flex map. Any ideas?
Thanks!

-Dustin Wiersma, GIS Analyst

How to access Web Application URL from outside of Firewall?

$
0
0
I have ArcGIS Server 10.1 running on an EC2 Amazon instance. I have my application built and everything ready to be rolled out. I can view the application from the virtutal machine environment but when I try to access the URL from a different source over the WWW, I get a 404 error. I know I'm missing a pretty big obvious step here, and I can't seem to find what I need through Google. Can someone please provide some guidance?

Accessing secured services

$
0
0
I am using ArcGIS Viewer for Flex 3.1 with secured services. The viewer connects to the secured ArcGIS Server 10.1 services, but when the site loads the user is prompted to login to the service. I am securing the application using IIS authentication, so I don't want the user to be challenged for both the IIS application security and the secured service security. When I generated the token I specified the HTTP referer as the domain of my web server. I then included the generated token with the address of my map service in the config.xml file. I thought that doing this would mean the user would not be challenged to access the secured service because the token is passed through from the config.xml file. Is this not the case? How can I make it so the user is not prompted to login when accessing the application? If they were to access the services directory they would of course have to login there.

can th Width of Pop-up Window be changed?

$
0
0
Using Flex 3.2 on ASrcGIS 10.1 with a dynamic map service, I configured a pop-up to show related records. When the pop up is activated, it sizes correctly to show feature attributes, however, when showing related records, the columns are truncated and only a portion of the related record attribute columns are shown (cut off vertically). There appears to be no way to click-drag-resize the pop up window. Is there a way to alter the size of the pop up window so that contents will not be truncated? I hope this is possible without having to write code in Flex and compile, which we do not have the ability to do (no access to Flex Dev tools).

Change Spatial Reference in ArcGIS Viewer

$
0
0
Hi,

I am trying to change the spatial reference of my basemap in ArcGIS viewer for Flex.
I have made my streets and imagery basemaps dynamic in the config file:

Code:

<map attributionvisible="true" esrilogovisible="true" openhandcursorvisible="false" scalebarvisible="true" scalebar="default" zoomslidervisible="false" wraparound180="true" addarcgisbasemaps="false" initialextent="108 -45 155 -10" fullextent="-20000000 -20000000 20000000 20000000" wkid="4283" top="40" portalurl="https://www.arcgis.com">
        <basemaps>
            <layer type="dynamic" label="Imagery" icon="assets/images/basemap_imagery.jpg" imageformat="png8" url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer" visible="true"/>
            <layer type="dynamic" label="Streets" icon="assets/images/basemap_streets.jpg" imageformat="png8" url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer" visible="false"/>
        </basemaps>
    </map>

And you can see I set my wkid="4283"

However when I open my ArcGIS Viewer and go to preview, it loads my imagery basemaps but it is still in SpatialReference = 102100. I know this because I have altered my coordinate widget to display the spatial reference wkid alongside the coordinates.

I dont understand why, this works fine in my Flex API in flashbuilder, but when it comes to the viewer maybe I am missing something I have to alter in the Basemaps & Operational Layers, I was thinking config would do everything for me.

Can anyone offer me some help?

Accents not handle in csv files - attribute table widgets

$
0
0
Hi,
We have tested successfully the new 3.3 <exportcolumndelimiter> tag within the attribute table widget configuration. Unfortunately accents are not handle in the .csv files generated with the widget (see file attached). Problem occurs whatever the delimiter chosen.
It doesn't seem an existing config tag could help. We have the french localization of App Builder.
Attached Files

spatial Search in eSearch widget

$
0
0
Robert,

I am using the esearch widget for flex api 3.0 version. I found that the spatial search dose not work, i try to use point or polygon to select search area but no result will return. I even try the sample you provide on line for the 3.2 version, the s[patial search seems dose not work neither.

Please adivise.

Thanks
Zhujing

About the legend displaying of TOC widget

$
0
0
Once I expand the checkbox, if there is more than one legends in a map layer, the scroller bar can not reach the bottom. When I click the small triangle button to let it go down, before it reaches the bottom, it will automatically jumps up back.

In this situation, the other layers below the layer with more than one legends can not display completely in the widget. Is there anything I can adjust this like hasFocusableChildren, or measuredSizeIncludesScrollBars? Thanks!

If I don’t expand the checkbox, everything is normal. I tried to make the whole widget longer, but it does not work.

Graphic Search in eSearch widget

$
0
0
Rober,

This question is for the graphic search in the eSearch widget for 3.0. It dose not work for, I try to use the point or polygon to select the target area, but nothing happened. Please advise how to use the Graphic search even on the online samples.

Thanks
Zhujing

Dynamic service symbols for polygons with outlines do not draw in Layer List widget

$
0
0
When a dynamic service with polygon symbols consisting of a 1-pt outline and no fill is used, its swatches do not draw in the Layer List widget - but draw just fine in the actual map.

Similarly they do not draw in the Mapswitcher widget.

If the same data is brought into the application from a feature layer, Layer List widget displays the symbols without difficulty.

Image below shows both types of operational layers.

Is there any solution to this problem?



Attachment 24265
Attached Thumbnails
Click image for larger version

Name:	LayerlistSwatches.png‎
Views:	N/A
Size:	36.5 KB
ID:	24265  

java.io.IOException: Server object extension 'featureser not found'; Server Log Entry

$
0
0
I used the Flex (3.3) Viewer application builder to build a web map that contains two editable feature services as well as two map services (containing multiple layers). Everything works great except that the two non-editable map services cause "severe" problems, according to my server log files (see image).

It almost seems as if the <excludelayer/> tag in my edit widget's XML file is not working and my application tries to edit these non-editable layers which only have http://[...]/MapServer (and not "FeatureServer")URLS.

How should the <excludelayer/> tag be used with group layers? Have you encountered a similar problem and know of any workarounds/solutions?

Many thanks in advance!
Attached Thumbnails
Click image for larger version

Name:	ArcGIS 10.1 Server Log.JPG‎
Views:	N/A
Size:	46.4 KB
ID:	24268  

Widget Search Error

$
0
0
Dear All,

I got message like this "[RPC Fault faultString="Invalid or missing input parameters." faultCode="400" faultDetail=""]" when used search widget. Now I'm using flex viewer 3.1 and the data from joint table. When I remove the joint table, its work. So how to use search widget from joint table data? Thanks before..

-yanuardi

Text not saving in text box if return key is used

$
0
0
Hi,
I have an address text box as part of my Edit Widget in Flex 3.1, so that staff can add addresses.
I've discovered when they add it as below:
Attachment 24286
where they hit return after each line. IN ArcGIS 10.1 feature dataset it only saves the first line (Address Line 1)
although in Flex the full address appears.

Does anyone know how to fix this or a way around it.
I need it to be the full 254 characters as addresses may be long, less than 50 so it's only a line isn't long enough.
I can't shorten the text box as I'm using the compiled version.
If users don't hit Return then it's not an issue, but try telling that that to users entering an address, no hope!
Has this been fixed in the latest version, I'd consider upgrading if it has.

Rachel
Attached Thumbnails
Click image for larger version

Name:	AddressIssues.jpg‎
Views:	N/A
Size:	5.7 KB
ID:	24286  

Editing the ExportWebMapTemplates

$
0
0
Is it possible (and will there be a problem) if we add a north arrow to the layout templates in the "ExportWebMapTemplates" that are used in the PrintingTools (Geoprocessing Service)?
Version 3.1. Server 10.1.

Formating Pop-up Fields in Application Builder

$
0
0
I know that you can modify the display format of Pop-Up fields directly in the PopUp_x.xml, such as precision or if a field should use a thousands separator etc.

But is there a way to do the same in the "Custom" section of the Pop-Up configuration in Application Builder 3.3? If I make a change in the .xml, then make a change in the "Custom" section, the previous changes made directly to the .xml go away.

Do I have to wait until after I have the "Custom" section exactly the way I want it before I edit the .xml, or can I add formating in the App Builder?

Thanks,

Jared

Hyperlink to SharePoint Shared Document does not work - Flex version 3.3

$
0
0
I put http hyperlink (stored in SharePoint) in a Sub-layer. I can click the link and it brings me to a new window. However, the url changes from "http://mysite/personal/wannapornj/Shared%20Documents/Basin/CpPrecaspian.pdf" to "http://mysite/personal/wannapornj/Shared%2520Documents/Basin/CpPrecaspian.pdf". It got the extra number! As a result, the document cannot be opened. Please help.
Attachment 24317
Attachment 24318
Attached Thumbnails
Click image for larger version

Name:	Slide1.JPG‎
Views:	N/A
Size:	91.1 KB
ID:	24317   Click image for larger version

Name:	Slide2.JPG‎
Views:	N/A
Size:	57.2 KB
ID:	24318  

Location of Flex Applicaiton Folders using web adaptor in DMZ

$
0
0
I hope I am not reposting a question that has already been discusses, but I did not see it…

We have just successfully configured the Web Adaptor located on a Windows 2008 Server in a DMZ back to a ArcServer 10.1 inside the network. The forward facing web server also currently works as a reverse proxy to the existing ArcServer 10.0 instance. (Btw..We found that having both servers using binding to port 80 only works if the default name of the Web Adaptor is not the same as the existing service).

We use the Flex Viewer application to serve out the map services via the internet. Currently (using version 10.0) the Flex Viewer folders are placed in a virtual directory on the ArcServer 10.0machine inside the network..This works well as the forward facing web server is the reverse proxy to the application.

With the Web Adaptor (Version 10.1 SP1) loaded on the forward facing web server, it seems possible that the flex application can reside on the server in the DMZ or the internal GIS Server.

Is there any advantage gained or lost by the flex viewer application older residing on the internal GIS server, or the Web Server in the DMZ?

Layer failed to load: Fault code: Channel.Security.Error - AppBuilder Application

$
0
0
I built an application using AppBuilder and we hosted it within our firewall over the network successfully. We recently leased an instace on Amazon EC2 so we could push our application to the web. The URL resolves perfectly from the host server machine, but when I try to resolve the URL from a user machine, the attached error message pops up:

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

Fault info: Security error accessing url

Fault details: Destination: DefaultHTTP


Attachment 24326

There is also an error that reads the same but says that it cannot access my basemap file, which is local data that I uploaded with the .sd file.

Most of my googling has led me to believe it is a Crossdomain policy issue. I have the following .xml document residing in my wwwroot folder:


<?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>


I believe that this 'should' be working, but that I'm missing something here.

Any help would be greatly appreciated.


EDIT: It may be worth noting that I've created the service using an .sd file which contains all of the relevant data (like map packaging), it is not kept separately within SDE on the amazon instance.

Thanks,
Scott
Attached Thumbnails
Click image for larger version

Name:	faultcoderror.JPG‎
Views:	N/A
Size:	19.3 KB
ID:	24326  

Route Widget for 3.2 and 3.3

$
0
0
Hello,
I've downloaded Robert's Route Widget 3.2 and 3.3 and deployed using our own network analysis service, but got an error that says
unable to complete operation...Clear and start again or add another valid stop. I tested both 3.2 and 3.3 and got the same result. Does anybody have any solution to solve or workaround the issue using your own network analysis service?
This is a great widget and needs to be fully utilized. Thanks, Sung-Jun
Viewing all 2097 articles
Browse latest View live