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

Cannot get pop-up with hyperlinked photos to show up in 3.4

$
0
0
I have successfully configured the pop ups for all my layers except the one that has photos.

I am not using the AppBuilder. I want to do this using XML, not the AppBuilder.

Photo_1 below is the field in the Feature Class where the photos reside. Layer type = dynamic, not Feature.

I am pretty sure Photo_1 placement is the wrong syntax. Where do I specify the name of the attribute field where all the names of the photos reside in the Feature Class?

When I click on any of the points in this layer, nothing pops up.

Any ideas on how to get this to work?

Here is my code from the pop up.xml file associated with this layer:

<?xml version="1.0" ?>
<configuration>
<title>Photo of Buried Utilities</title>
<description><![CDATA[<b>Date of Photo: </b> {GPS_Date}]]></description>
<medias>
<media type="image" imageLinkURL="http://<servername>/<virtualdirectory>/{Photo_1}"/>
</medias>
</configuration>

Editor widget for community consultation app

$
0
0
I'd like to use the editor widget as part of a web app which will be used for community consultation (basically point feature comments on the proposed development).

Is there a best practice design to ensure that users are not able to edit comments from other users as well as allowing the moderation of comments?

What is the coordinate system of Bing Maps

$
0
0
Dear All,

I am using Bing maps as a base map in flex viewer.my operation layer have the coordinate system WGS 84.it is covering the extent of saudi arabia.But when i put this in flex viewer and run the application it zoom to the some where in algeria.As per my understanding the coordinate system difference.Please let me know who to zoom to the my required extent.

thanks in advance.

Pagination in AttributeTableWidget

$
0
0
Hi All,

Recently my customer asked to introduce some big layers which produce some big tables in AttributeTableWidget. Since it is very difficult to manage all the data in a flex viewer (very long queries) I'd like to add pagination. But I have not found any out-of-the-box feature for that. Can anyone point me to a possible solution?

Thanks in advance.
M@rco

Embedding a Viewer for Flex Map w/n an iFrame

$
0
0
How do you embed a map within an iframe located on a webpage?

Recently I have been asked if it was possible to embed a map, created via the Viewer for Flex applciation, into an iFrame.

I do not know exactly how to do this. I have read that you could use standard html swf embedding code. However that is somewhat Greek to me. I have also read that you could modify the index.html file to add html content around the Viewer.

Does anyone have any easy to follow examples of how this would be done?

I am not much of a web developer.

I am using ArcGIS 10.1 and Viewer for Flex 3.4.

Thanks,

George Haskett

how to assign a static extent to map.extent

$
0
0
Hi Everyone,
now I'm writing a mouseclickevent , but I don‘t know how to give the map.extent a static value.
my code is:map.extent = geo.extent.expand(3);
I'm very appreciated for your hlep.
Thank ahead.

Flexviewer3.4 would like clear result graphic after zoom?

$
0
0
Hi,

Can anyone point me to the right direction? I am using a regular search widget 3.4, where do I go about clearing the result graphic polygon layer when I hover over the result, click once to zoom to extent, then clear or fade away the result graphic.

Attachment 27194
Attached Thumbnails
Click image for larger version

Name:	select_zoom.png‎
Views:	N/A
Size:	64.6 KB
ID:	27194  

.ZIP file for custom widgets

$
0
0
Hi,

I am just starting to use the ArcGIS Viewer for Flex. Can someone please tell me from where I can download the .ZIP files for the custom widgets.

Many thanks,

T

Editor widget to add records in a relationship class?

$
0
0
Hi- I have a relationship class set up between two SDE tables. It's a on-to-many, composite relationship. In other words, a single point on the map can have many sampling events associated with it. Those events are linked to the same point using primary key/foreign key relationship.

Is there a way in the Flex Viewer that I can handle adding a single point, and then adding more than one event associated to this point?

I.e in the Edit widget, when you add a point it adds a single record to the table. Well, on that same Edit widget popup window I want to be able to have an 'Add' button that allows the user to add multiple events that are associated to that one location. Thoughts?

Identify Widget 3.4.2 - Layer not found in the map

$
0
0
I wiped out all of the default services that were provided as a sample with the widget. I entered a REST url for a service within a Dynamic Map Service and clicked browse. The widget recognized the REST URL and allowed me to customize the fields. I added settings and reverted to the interface to add more, and noticed the yellow triangle stating that the "Layer not found in the map".

I've used the same REST URLs with the Enhanced Search Widget and they work fine, there are no issues. Any ideas?

Thanks,
Scott

Wildcards in layerDefinition

$
0
0
I've been working on a widget to allow a user to filter the display of a FeatureLayer by setting a layerDefinition expression in the parent ArcGISDynamicMapServiceLayer's layerDefinitions property. I'm wondering if it is possible to use wildcard expressions in the layerDefinition? I've tried using both '*' and '%' as wildcard characters. I have tried using '=' and 'LIKE' as the logical operators in the expression but none of those options seem to work?

Thanks!

Link Widget question

$
0
0
Instead of open new browser window all the time. Is there anyway to use the same child window if one already opened and stay focus when user click on ESRI link for example?
I change this on both init & checkIfLinkWidget function but can't figure anyway to make existing child window to stay focus without opening a new browser window. Any ideas to do this?

navigateToURL(new URLRequest(linkURL),"CHILD");

Thanks.

Re: HeaderController Widget Config.

$
0
0
Quote:

Originally Posted by conner_justin View Post
I'm rebuilding my old Flex Viewer 2.3.1 to the newly minted 3.4 version. I love the new search box! It appears that you can have more than one map service searched at one time based on the use on the config file syntax of <mapservices> being plural. I can't seem to get it to work. So before I go crazy, is this actually possible?

After some more trial and error, I got it to work with a polygon layer. So it's either a problem of not liking a points layer or not liking a layer joined to a table.

Code:

      <mapservices>
            <mapservice>
                <url>http://gis.co.wood.wi.us/gis/rest/services/FlexGIS/LandRecordsWGS/MapServer</url>
                <layerids>8,10</layerids>
                <searchfields>PARCELNO,Adddress,TWPRNGSEC,OwnerName</searchfields>
            </mapservice>
        <mapservice>
                <url>http://gis.co.wood.wi.us/gis/rest/services/FlexGIS/AddressesWGS/MapServer</url>
                <layerids>0</layerids>
                <searchfields>WebData.DBO.SiteAddresses.NEWSTR</searchfields>
            </mapservice>
        </mapservices>


In the Docs (http://resources.arcgis.com/en/help/...000000n000000/)
they show it with a trailing forward slash after MapServer. Not sure if this is your issue, but you could definitely find out if it's your issue by using an HTTP traffic sniffer like IE Developer Tools or Fiddler, Chrome Developer Tools, Firefox Developer Tools or Firebug.

Code:

  http://gis.co.wood.wi.us/gis/rest/services/FlexGIS/AddressesWGS/MapServer/

eLayerList 3.4-Excluding layers

$
0
0
Robert,
I am using the 3.4 eLayerList. I have added numerous layers to be "excluded" in the config file for the widget. I am finding that if I remove some layers using the excludelayer tag, the layer does not show up on a print (using the default Print widget). I have attached an image showing one service listing. If I remove any of the address layers/sublayers (0-4), these layers do not show up on the exported PDF (or image) - even though they are displayed in the application.

Is this expected behavior?

Thanks for your time.
Eric V
Gurnee, IL
Attached Thumbnails
Click image for larger version

Name:	eLayerList.PNG‎
Views:	N/A
Size:	21.0 KB
ID:	27119  

Remove Address Search Box in 3.4 GUI

$
0
0
I cannot find the XML/HTML code string that allows the removal/turning off of the Address Search Box in the 3.4 GUI.

Where is it? and can it be "turned off/removed" from the GUI?

I am not using the AppBuilder. I am doing it from XML code.

thanks,

Attachment Relate Info Widget for 3.4 (quick question)

$
0
0
I am using this widget (InfoTemplate) in 3.0. It works great.


Is there a version of this widget for 3.4?


If not, what do you recommend for showing hyperlinked photos and specific fields when a point in a point feature class is clicked on inside the Flex Map Viewer?

NOTE: I am not using the AppBuilder, I am coding in XML.

Map Grid

$
0
0
Hi, I've been thinking. Is there any way to add a grid all over the basemaps that I choose?
thanks.

Managing Public/Secure applications

$
0
0
My office is using ArcGIS for Server 10.1 and Flex Viewer 3.4, and a relatively new to both. We have already published a few public and secure map services. And we now would like to build an application that uses those services. We have created generic user accounts for accessing these services in our applications, as the users will be getting to the applications from another ASP.NET web application. We would like to know if it is possible to to build our flex application in a way so that public users will only see the public layers, and secured users would see all layers without them having to enter in the generic account login credentials? Or is it best practice to create two separate applications, one for public use and the other for secure use that uses a proxy page?

Thanks!

Cannot get pop-up with hyperlinked photos to show up in 3.4

$
0
0
I have successfully configured the pop ups for all my layers except the one that has photos.

I am not using the AppBuilder. I want to do this using XML, not the AppBuilder.

Photo_1 below is the field in the Feature Class where the photos reside. Layer type = dynamic, not Feature.

I am pretty sure Photo_1 placement is the wrong syntax. Where do I specify the name of the attribute field where all the names of the photos reside in the Feature Class?

When I click on any of the points in this layer, nothing pops up.

Any ideas on how to get this to work?

Here is my code from the pop up.xml file associated with this layer:

<?xml version="1.0" ?>
<configuration>
<title>Photo of Buried Utilities</title>
<description><![CDATA[<b>Date of Photo: </b> {GPS_Date}]]></description>
<medias>
<media type="image" imageLinkURL="http://<servername>/<virtualdirectory>/{Photo_1}"/>
</medias>
</configuration>

Editor widget for community consultation app

$
0
0
I'd like to use the editor widget as part of a web app which will be used for community consultation (basically point feature comments on the proposed development).

Is there a best practice design to ensure that users are not able to edit comments from other users as well as allowing the moderation of comments?
Viewing all 2097 articles
Browse latest View live