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

Exclude Layer for Legend Widget

$
0
0
Hello All,

I can't seem to figure this out
I have added the Legend Widget to my viewer and would like to exclude some sub layers from it

I have used the tags to exclude the whole map service but would like to just exclude some sublayers in that service

This works for whole service

<?xml version="1.0" ?>
<configuration>
<usebasemaps>false</usebasemaps>
<useoperationallayers>true</useoperationallayers>
<respectcurrentmapscale>true</respectcurrentmapscale>
<excludelayer>Mich Minus Basemap</excludelayer>
</configuration>


Name of sublayer:

Landscape Areas_9K


What can I do to accomplish this?

Thanks

Eric

Shifted polygons using eSearch

$
0
0
Hi Robert,

I just found this odd behavior: I searched a parcel using eSearch Widget version 3.6.1 (12/19/2013) then identified the same parcel using Identify Widget version 3.6.4 (2/13/2014),all these running on Flexviewer 3.6, and I noticed that the highlighted polygon fill (in red) was shifted on the X and Y directions, while the same identified polygon (in blue) was in the right place. This is the first time it happens since I started using your fine widgets, about a couple years ago.

Both widgets are searching and identifying the same parcel from the same layer. Any ideas why is this happening? I haven't searched the forum to see if someone else had the same issue yet. Thanks.

Emilio
Attached Thumbnails
Click image for larger version

Name:	shifted_poly.png‎
Views:	N/A
Size:	456.6 KB
ID:	31582  

Custom Basemaps in Flex Viewer Linked to ArcGIS Online

$
0
0
Hello, all! Does anyone know how to add custom basemaps to a Flex viewer that is linked to an ArcGIS Online map? I have linked my ArcGIS Online and Flex maps as described in this post: http://blogs.esri.com/esri/arcgis/20...ewer-for-flex/

Unfortunately, now that my Flex viewer is linked to ArcGIS Online, my custom basemaps will no longer display in the Flex viewer. It seems that the default basemaps from ArcGIS Online override my custom basemaps -- even though the custom basemaps are still defined in my Flex viewer configuration file.

I am able to add one custom basemap to my Flex viewer by adding the basemap service to my ArcGIS Online map. However, this only works with a single custom basemap. Also, I am then stuck using the custom basemap as the basemap for my ArcGIS Online map, which is not what I want.

Has anyone else experienced this? Any advice?

Thanks,
Alexandra

[Potential Bug - 3.6] - Setting Widget's Resizable to False - Null Reference

$
0
0
Hello,

I don't really know where to post this, so I am posting it here. I am using Apache Flex 4.11.0 and Viewer 3.6, and when I set my widget's "resizable" property to false, it comes up with a null reference on the following line (resizeButton is null):

Code:

resizeButton.visible = _resizable;
In context of WidgetTemplate.as:

Code:

public function set resizable(value:Boolean):void
    {
        _resizable = value;
        resizeButton.visible = _resizable;
    }

Just thought I would put it out there, and see if it was just a problem in my codebase or not (although I didn't touch WidgetTemplate).

Robert's eSearch Widget

$
0
0
Attachment 31600

After spending quite bit of time, I am still puzzled by a line of code that I saw in the eSearch widget. The line in question is actually located in the SearchWidgetFixedDG.mxml code. I attached a screenshot of it. So, if any of the Flex experts or Robert himself can explain what is the purpose of the line "fl", I'd really appreciate it. Obviously the compiler understands it, since it doesn't raise any error flags.

This is very unusual for me to see a variable that is "hanging" by itself.

Thank you.
Attached Thumbnails
Click image for larger version

Name:	Capture.JPG‎
Views:	N/A
Size:	23.4 KB
ID:	31601  

configuration of the esearch widget

$
0
0
Hello,
I have a number of questions about the configuration of the esearch widget, I am using the esearch 3.6.1 compiled version:

1-The main layer who I work with is a point layer. I am trying to set the zoom scale of my point layer, I tried a number of options and I didn’t succeed to set to zoom scale to my needs. It is important to note that I don’t want that every time which I will press on one of the selections, the zoom will be larger. I just want to set the scale of the zoom, for the first click.

2-I am trying to understand how to enable export, the attribute table only shows data within the map extend and not the data from the esearch widget result. How can I define that the attribute table will take the data from the results window?

3-I am wondering if there is way to highlight the result of the search?

4-I am wondering if there is way to set the width of the text box?

I am asking these questions after I had already read the PDF help file, I hope that it will be possible to receive help.

Thank you all,
Roi Algavish.

How to Remember password and user name

$
0
0
Hello,

I am building a web application with the flex viewer, my content is in a secure server and I need to enter username and a password every time I am entering to the web application. I am wondering if there is a way to define that the need for entering user name and a password will not be every time I am entering to the application?

Or in other words is there a way that the server will remember my login, and will not ask the username and password every time?

It may be important to note that about 20 different computers should be login in the same time.


Thank you all,
Roi Algavish.

Disable or Removing deleteButton from AttributeInspector

$
0
0
Hi,

I am using Edit Widget, I need to disable or remove the deleteButton from the AttributeInspector which its showing the records of

relationship table.

I tried to do the changes here but no luck.

<esri:AttributeInspector id="attributeInspector"
width="100%" height="100%"
deleteButtonLabel.addingNewRecord="{resourceManager.getString('ESRIMessages', 'relationshipInspectorCancel')}"
deleteButtonVisible="false"
excludeFrom="queryRelatedRecords,noRelationships,noRelatedRecords"
okButtonLabel.addingNewRecord="{resourceManager.getString('ESRIMessages', 'relationshipInspectorAdd')}"
okButtonVisible="{hostComponent.editEnabled}"
skinClass="com.esri.ags.skins.RelationshipInspectorAttributeInspectorSkin"
updateEnabled="{hostComponent.editEnabled &amp;&amp; hostComponent.featureLayer.isEditable}"/>


Any Idea how can i do it.

Thanks and Regards,
Siddiqui
Attached Thumbnails
Click image for larger version

Name:	Delete.png‎
Views:	N/A
Size:	19.1 KB
ID:	31609  

ImportDataFile by Ad_giles

$
0
0
Hello,
I am using the ImportDataFile widget I have a number of request or suggestions.

1-I wanted to ask If it possible to add an option to import a tad delimited txt file. I am working with a program that generates those files.
2-I am wondering if it is possible to add an drag to screen option like there is in the ArcGIS online platform.

Thank you,
Roi Algavish.

SEED File - Data Extract Tool or Export to CAD

$
0
0
I was wondering if it is possible to add extract data to CAD with a SEED File. I tried to build a model which works fine in desktop but fails as a service when uploading.
Attachment 31611

Any suggestions?

Also I have tried to add in the seed file to the python code with no success.
Code:

            # get path to zip
            outputinzip = os.path.join(zipFolderPath, layerName + featureFormat[2])
            if featureFormat[2].lower() in [".dxf", ".dwg", ".dgn"]:
                #Message "..using export to cad.."
                gp.AddWarning(get_ID_message(86139))
                gp.ExportCAD_conversion(outputpath, featureFormat[1], outputinzip, "", "", "c:/SEEDFILE.DWG")

Attached Thumbnails
Click image for larger version

Name:	Export Graphic.jpg‎
Views:	N/A
Size:	46.8 KB
ID:	31611  

Flex Map Service Search vs REST Point Query

$
0
0
While developing our Flex 3.6 web map, we were hoping to use the App Builder's Layout > Search capabilities to search specific fields in our map services. Without designing specific search widgets for each specific layer ie. Search for Parks, etc, this generic search is not functioning the same, when you compare the results with the REST point query tool.

For example, in one of our map services, we have a column named 'NAME_EN' and this column houses the name of the recreational facility. In some cases, a recreational activity ie. BASEBALL DIAMOND falls on a school property, therefore, the value in the NAME_EN field would be "Somename Public School".

But when you search for the text "School" in the search map service, only 6 value return. But when you query the REST end point I get 51 returned.

I'm using this to query the REST end point: NAME_EN like '%School'

How can Flex search results be so far off compared to the REST query results?

Walter

Locate widget at 3.6

$
0
0
The Locator widget's configuration file will no longer reference a hardcoded URL. Starting with 3.6, it will automatically set the locator based on what is specified for the portal/organization.

Can somebody explain this? I use my own address locator, does this mean I will be forced to use the esri services or am I just misreading this. I have an organization account but only includes myself that came with my maintenance agreement. I'm not exactly sure where this setting is set. I want to be sure I understand this before I attempt to upgrade from 3.4 to 3.6.

eTime Layer Visibity Question

$
0
0
I added the eTime Widget to my Flex 3.6 Viewer. It is for 1 Layer. I have no error messages. But, the Layer Drop-down box is empty.

I followed the instructions about Layer and Name and other information. At least I think I did.

Any ideas?

Geoprocessing Widget - SurfaceProfile

$
0
0
Hello Guys,
I have FlexViewer 3.4 on my forestry company...
I wanna to download a flex 3.4 with .XML
who can help me?
thx a lot!

Will Compiled FlexViewer Version 3.1 web apps work on ArcGIS Server 10.2?

$
0
0
Hi,
We are researching if we can go to ArcGIS Server 10.2 and our compiled FlexViewer version 3.1 apps will still work?
We currently have ArcGIS Server 10.1, SQL 2008 R2, on a Windows Server 2008 R2 standard with IIS7.

I have every intention of going straight to compiled FlexViewer version 3.6 as soon as things settle down after the upgrade.
Thanks,
Janie

access the custom graphic layer from another widget

$
0
0
I use a widget that user draws some graphics (polylines and points) and post them on the map using a custom graphicslayer. I'd like to be able to add a listener in another widget to click on the(se) graphic(s) and perform further tasks.



Can I also use a loop to select all custom graphics from the second widget?



Thank you!

Change Default Units for eDraw & Print Widgets

$
0
0
I would like to change the default units setting for the eDraw Widget to: Square Feet and Feet.

I would like to change the default units setting for the Print Widget to: Feet.


How can this be done?

Print Widget and the Legend

$
0
0
Can the Print Widget be configured to only show the Map Layers in the seen a current view of the Map Viewer?

At the moment it seems to show ALL the layers in the Map Viewer even if the layers do not appear in the current view.

Also, is there a way to "customize" the legend appearance?

Basemap Button Question

$
0
0
Is there a way to change the "look and feel" of this button? maybe use a different icon?

Resize Widget Window

$
0
0
I want to resize the default window that pops open when a widget is clicked on.

Specifically, I want to do this to the LinkList Widget. I tried modifying the Config.xml Widget Container List, but when the widget is clicked on in the Flex Viewer the floating window opens, but stays the same size....until...I manually resize it while clicking on the lower right corner in the viewer and then the window auto-sizes the appropriate size listed in the Config.xml file. Here is the code from my config.xml:

<widget label="Documents Link List" Left="350" Top="300"
x="600" y="70"
icon="widgets/LinkList/assets/images/linklist.png"
config="widgets/LinkList/LinkListWidget_RWF_Docs.xml"
url="widgets/LinkList/LinkListWidget.swf"/>


I have also attached a screenshot of the widget size once the widget is clicked on in the map viewer window.

I would like to have the window open so that the text names of the list of documents does not get cut off.
Attached Thumbnails
Click image for larger version

Name:	LinkListScreen.png‎
Views:	N/A
Size:	107.3 KB
ID:	31688  
Viewing all 2097 articles
Browse latest View live