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

Viewing attachments on related records

$
0
0
If you configure the pop-ups I know that you can view attachments, and I know that you can view related records- but does anyone know if there is a way to view attachments on related records?

Current Version: 10.04.

Thanks!

Enhanced Layer List Widget

$
0
0
All,

Here is my latest widget for Flex Viewer. It is the first 3.4 widget I have been able to publish due to some issues with ArcGIS.com.

This is my replacement to the TOC Widget

This widget provides an enhanced version of the Layer List Widget for the Flex Viewer. This enhanced version contains UI enhancements that are currently request for the OTB version, such as extended layer menu that contains collapse all, expand all, zoom to make visible, and changed behavior on the description option. The enhanced version also supports legends for CSVLayer and GeoRSSLayers as well a default legends for basemap rasters, annotation and raster catalogs.

It is recommended that you use this widget in Application Builder 3.4 as it has been fully integrated into the App Builder GUI and you will not have to deal with XML.

http://www.arcgis.com/home/item.html...934781d7234d18

Problem with minimizing widget window

$
0
0
Hello,
Something strange is happening with my widget window when I try to minimize it with minimize button.

This is the widget window before minimizing:
Attachment 26000

And this is when I click minimize button:
Attachment 26001

I don't know why this is happening, am I doing something wrong?

Here is the widget code:
Code:

<viewer:BaseWidget xmlns:fx="http://ns.adobe.com/mxml/2009"
                                  xmlns:esri="http://www.esri.com/2008/ags"
                                  xmlns:s="library://ns.adobe.com/flex/spark"
                                  xmlns:mx="library://ns.adobe.com/flex/mx"
                                  xmlns:viewer="com.esri.viewer.*"
                                  creationComplete="creationCompleteHandler(event)"
                                  width="670"
                                  height="446"
                                  borderVisible="true"
                                  isResizeable="true"
                                  layout="absolute"
                                  widgetConfigLoaded="init()">
    <fx:Script>
    </fx:Script>
       
        <fx:Declarations>
                <!-- s:TraceTarget/ -->
                <esri:Query id="queryByGeometry" />
                <esri:DrawTool id="myDrawTool" drawEnd="drawEndHandler(event)"/>
        </fx:Declarations>
        <viewer:WidgetTemplate id="labelInfoWindowB"
                                                  left="0" right="2" top="0" bottom="4"                                       
                                                  closed="infoWindow_closedHandler(event)"
                                                  horizontalCenter="-1"
                                                  verticalCenter="-2"
                                                  height="400" width="600">
                <s:Form left="10" right="9" top="10" bottom="9">
                        <s:FormItem width="628" height="404" label="">
                                <mx:TabNavigator left="0" right="61" top="0" bottom="0" paddingTop="0">
                                        <s:NavigatorContent width="100%" height="100%" label="Селекция">
                                                <s:Label id="labelSelectedObject" x="10" y="10" paddingTop="2" fontSize="16" fontWeight="bold" text="No Selection"/>
                                                <mx:Tree id="treeSelection" x="383" y="30" width="214" height="320"
                                                                change="treeSelection_changeHandler(event)"
                                                                labelFunction="treeLabeling">
                                                </mx:Tree>
                                                <s:Button id="buttonZoomTo" x="383" y="10" label="Zoom to"
                                                                  click="buttonZoomTo_clickHandler(event)"/>
                                                <s:Button id="buttonPanTo" x="461" y="10" label="Pan to"
                                                                  click="buttonPanTo_clickHandler(event)"/>
                                        </s:NavigatorContent>
                                        <s:NavigatorContent width="100%" height="100%" label="Снимки">
                                        </s:NavigatorContent>
                                        <s:NavigatorContent width="100%" height="100%" label="Описание">
                                        </s:NavigatorContent>
                                </mx:TabNavigator>
                        </s:FormItem>
                </s:Form>
        </viewer:WidgetTemplate>
</viewer:BaseWidget>

---
Bogdan Hristozov
Pontech Bulgaria
Attached Thumbnails
Click image for larger version

Name:	widget01.png‎
Views:	N/A
Size:	92.4 KB
ID:	26000   Click image for larger version

Name:	widget02.png‎
Views:	N/A
Size:	239.2 KB
ID:	26001  

eSearch Widget- use a field for the hyperlinkaliastext and get Error #1090

$
0
0
Hi: I would like to use field values to show up in the data grid instead of the URL. I have a field (PLATIMAGE) that I would like users to click and links them to open up a plat image. Instead of the URL, the text I would like to use is the plat name, which comes from another field, PLAT_NAME. I am using version 3.3 and in the help PDF it says:

"The hyperlinkaliastext attribute is the text or a {field} to show instead of the url in the data grid If you
want to use a field for the hyperlinkaliastext then just specify the name of the field in curly braces (i.e.
{DESCRIPTION}). So if you have a long url or just don't want the url to show in the data grid then you specify
the alias that you do want to appear in the data grid using this attribute."

Here is my config file:
<field name="PLATIMAGE" alias="Plat" gridfieldonly="true" hyperlinkgridfield="true" hyperlinkaliastext={PLAT_NAME} hyperlinkgridfieldonly="true"/>

I however get the following error when I try to launch the eSearch Widet:
"A problem occurred while parsing the configuration file widgets/eSearch/eSearchWidget_Layers.xml
Error #1090"

Is there something wrong with my xml file that I am missing?

Thanks!

Allison

Importing raster (TIF) in Enterprise Geodatabase

$
0
0
I'm try to import raster images to enterprise geodatabase to be used as part of a Flex application operational layer. But the import process gets hung up and well not finish. Can anyone help me with this?

Re: Google® Street View Widget

$
0
0
Thanks Robert!!

One question, upon initial load of the Flex app and opening of the StreetView widget I receive a "No Street View Image Available or you have not yet dragged the Google Street View man onto the map to set your location" (see below). I've never had a chance to drag the man to the map, it just opens with this. If you dismiss it and then drag the man onto the map, it works great. Why would it show this message upon initial load?

Attachment 25257

Quote:

Originally Posted by rscheitlin View Post
All,

Here is the next installment to my long list of widgets. I never really wanted to add to the list of several Street View Widgets, but as it's predecessors have lacked updating when new version of Flex Viewer are released and me wanting to add more features, I finally decided to do one myself.

The Google Street View Widget version 3.3 for Flex Viewer 3.3 allows you to view Google Street View Panoramas in a popup window. The widget use Google Maps API Version 3 and has almost all the API options for the Street View Panorama that are available in the API configurable in the widgets xml. A lot of attention has gone into the UI (User Inferface) and UX (User Experience) of this widget and a lot of cross browser testing has been done. Tested on Safari for windows 5.1.7, Internet Explorer 9, Opera 12.15, FireFox 21.0, and Chrome 27.0.1453.110 m.

Configurable features include:

* hidestreetviewvwidowwhenminimized - This is a true or false value and determines if the graphic on the map and the Google Street View window are hidden when the widget is minimized.
* width - The width of the popup widow that is opened.
* height - The height of the popup widow that is opened.
* apikey - The Google Maps API Key that you must obtain to use this widget.
https://developers.google.com/maps/d...torial#api_key
* addresscontrol - is a true or false value and determines if the Google Street View Address Control is visible.
It has an attribute of controlposition that defines where in the popup window the control is placed.
* clicktogo - is a true or false value and determines if the Google Street View will move to the location clicked.
* disabledoubleclickzoom - is a true or false value and determines if the Google Street View will zoom into the
location on the panorama where the user double clicks.
* imagedatecontrol - is a true or false value and determines if the Google Street View will display the date of the
panorama image was taken along the bottom of the window with the copyright info.
* linkscontrol - is a true or false value and determines if the Google Street View will display the movement arrows
and street names on the panorama for navigation purposes.
* pancontrol - is a true or false value and determines if the Google Street View pan Control is visible.
It has an attribute of controlposition that defines where in the popup window the control is placed.
* zoomcontrol - is a true or false value and determines if the Google Street View zoom Control is visible.
It has an attribute of controlposition that defines where in the popup window the control is placed and a
controlstyle attribute that determines the size of the control.

* All text that the widget uses is configurable in the xml to allow for internationalization of the widget.

So here it is: http://www.arcgis.com/home/item.html...4e7bdf75fee29b

Attached Thumbnails
Click image for larger version

Name:	StreetView_Message.png‎
Views:	N/A
Size:	16.9 KB
ID:	25257  

ArcGIS 10.1 Flex Feature Set GP parameters

$
0
0
Hello, I'm trying to create a Mailout notification tool where the end-user can pick a parcel or parcels using either a point, line, or polygon from the "Feature Set" parameter type. The selected parcel(s) are then used to buffer and clip the selected parcels to get the owner information to be used with MailMerge (most of you have probably seen this a thousand times.) Anyway, I have the tool working great except for one thing. The line and polygon selection tools work perfectly, no issues. But when I use the Point selection tool no records are returned, but if I use the Point selection tool again (without clearing the widget) the Point selection tool works fine and returns the values as expected. So my question is this: why is my Point select tool not be recognized until after my 2nd click?
I hope this makes sense and if it's helpful I can add some screenshoots or XML code for someone to look at...
Thank you,
Mike

Identify Widget version 3.3 for FlexViewer 3.3

$
0
0
I was able to identify all layers using this widget, but "No Results Found" shows up even though attributes display correctly.
Please let me know if I am missing something.
Thank you.

<?xml version="1.0"?>
<configuration>
<identifylayeroption>visible</identifylayeroption>
<identifytolerance>30</identifytolerance>
<defaultzoomscale>5000</defaultzoomscale>
<keepidentifyactive>true</keepidentifyactive>
<returngeometryforzoom>true</returngeometryforzoom>
<enablelineselect>false</enablelineselect>
<enableextentselect>false</enableextentselect>
<enablepolyselect>false</enablepolyselect>
<enablemouseovergraphicsinfo>false</enablemouseovergraphicsinfo>
<enablemouseoverrecordinfo>false</enablemouseoverrecordinfo>
<enablegraphicclickinfo>false</enablegraphicclickinfo>
<usemaptime>false</usemaptime>
<infoautoclosemilliseconds>2000</infoautoclosemilliseconds><!-- 2 seconds -->
<autoactivatedtool>mappoint</autoactivatedtool><!-- possible values are extent or polygon or mappoint or polyline or nothing -->
<excludebasemaps>true</excludebasemaps>
<disablepopuplinks>false</disablepopuplinks>
<disablelayerdropdown>false</disablelayerdropdown>
<disablealllayerschoice>false</disablealllayerschoice>
<replacenullswithemptystring>true</replacenullswithemptystring>
<labels>
<zoom2message>Click to Zoom to Point</zoom2message>
<identifylabel>Identify</identifylabel>
<resultslabel>Results</resultslabel>
<descriptionlabel>Use the identify tool to identify features on the map:</descriptionlabel>
<pointlabel>Identify by Point</pointlabel>
<linelabel>Identify by Polyline</linelabel>
<rectlabel>Identify by Rectangle</rectlabel>
<polylabel>Identify by Polygon</polylabel>
<clearlabel>Clear</clearlabel>
<loadinglabel>Loading...</loadinglabel>
<removeresultmessage>Remove Result</removeresultmessage>
<idfrom>Identify From</idfrom>
<noresultsfoundlabel>No Results Found</noresultsfoundlabel>
<resultsfoundlabel>Results Found</resultsfoundlabel>
<alllayers>All Layers</alllayers>
<layersremaining>layers remaining:</layersremaining>
</labels>
<useproxy>
<!-- Enter the label of the MapService from the main config.xml -->
<!--<proxymapservice label="Imagery" />
<proxymapservice label="Streets" />-->
</useproxy>
<layers onlythese="false">
</layers>

<symbols>
<simplefillsymbol color="0x448ccb"
alpha="0.4"
style="solid">
<outline color="0x448ccb"
alpha="0.8"
width="2"/>
</simplefillsymbol>
<simplemarkersymbol style="circle"
size="12"
color="0x448ccb"
alpha="0.8"
xoffset="0"
yoffset="0"
angle="0">
<outline style="solid"
color="0xffffff"
alpha="0.8"
width="1"/>
</simplemarkersymbol>
<picturemarkersymbol url="assets/images/i_info.png"
height="30"
width="30"
xoffset="0"
yoffset="0"/>
<simplelinesymbol color="0x448ccb"
alpha="0.8"
width="2"/>
</symbols>
</configuration>

ConfigManager Error in Application Builder

$
0
0
I am a new user to the ArcGIS Viewer for Flex - Application Builder, Version 3.4. I have been encountering an error message when working through the Builder. I have no issues when I use the first 3 tabs of the Builder, but when I move to the "Design" or "Preview" tabs, I end up with error messages. The first message reads, "Fault code: InvokeFailed; Fault Info: Error #2148; Fault details: null" The second message reads, "Some error occurred. ExternalInterface doesn't work in Standalone player."

Can anyone point me in the right direction?
Attached Files

Identify widget doesn't work

$
0
0
Hi!

I have a major problem with the identify widget. I installed Identify widget for App builder (as it is written here: http://resources.arcgis.com/en/help/...0000004m000000 ), but still it doesn't work. I can see identify widget in widget list and i can also edit it. But when I preview my application and click on my map (raster layers) it doesn't respond. I have identify widget open and i can choos point, line etc., but it just doesn't work.

Do you have any advice?
Thanks
Rok

3.4 Widgets - Here and gone

$
0
0
Good morning Robert,
I downloaded several widgets the other day that were listed as version 3.4 - I now notice that they are gone....I extracted one of the widgets I downloaded and it looks like it may still be version 3.3...
Have you updated any of your widgets to version 3.4?

Thanks for your time
Eric V
Gurnee, IL

Call function on initialization

$
0
0
I'm trying to attach to the addedToStage event in index.mxml, but according to the breakpoints I have set, the event never fires. I'm really just trying to fire an init function when the viewer loads.

This is the code for my s:Application tag:
Code:

<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                    xmlns:s="library://ns.adobe.com/flex/spark"
                    xmlns:mx="library://ns.adobe.com/flex/mx"
                    xmlns:viewer="com.esri.viewer.*"
                    xmlns:managers="com.esri.viewer.managers.*"
                    pageTitle="myapp"
                    backgroundColor="0xDAEAC9"
                    minHeight="600"
                    minWidth="800"
                    addedToStage="onComplete()">

I've set a breakpoint and put a trace and alert in onComplete, but it never drops in. Is there another/better way to fire an init function?

Heat map widget Time enabled="On"

$
0
0
Hi,
I am using HeatMap widget version 3.3 and it is working great.

I just want to know if there is any way i can enable time by default, because every time i have to go to the settings in heat map widget to turn the Time enabled button to "On".

Thanks

Change location of layer list widget

$
0
0
In ArcGIS Server 10.1 using the ArcGIS Viewer for Flex, how do I change the default location of the layer list widget? By default it is opening on top of the navigation tools in the top left hand corner of the browser.

Thanks
Jeff Godfrey
Chelan County IT

MySQL Spatial database : Build Graphics and Display in the ArcGIS Flex Viewer

$
0
0
Dear All
I have MySQL Database with features in it (Land Parcels, Railway Stations,Roads etc)
I need to build graphics and display this as layers in ArcGIS Flexviewer for publishing on the Intranet.
I also need to be able to toggle the layers on and off (Table of contents) but I do not know where to start.
Can anyone help me in achieving this?

Your assistance is highly appreciated.

God bless,
Maupa

InfoTemplate widget Label Not dispalying

$
0
0
Hi,

I have shifted by code from Flex viewer API 2.5 to 3.4, In infoTemplate widget my label text is not displaying as it was displaying in 2.5, any changes i need to do for this. I show online example , there also i found that label is not displaying.

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

Name:	InfoTempWindow_Label.png‎
Views:	N/A
Size:	160.5 KB
ID:	25909  

Congratulations to Robert Scheitlin!

$
0
0
Robert was announced as the top MVP at the closing session of the ESRI User Conference last week.

Awesome and fitting title given the amazing widgets he has shared with all of us in the community as well as the seemingly never-ending tech support of those same widgets.

Robert, I appreciate all of your help and talent and I am fairly sure many others do as well. Thanks for all you have done!

Brian

Search Widget Results in Attribute Table

$
0
0
Hi All,

I was wondering if there is a way to set aliases for the search widget results when they appear as an operational layer in the attribute table widget? It appears that my searchwidget.xml is limiting the results to be just the fields that I have identified as well as setting the aliases (see atatched screenshots). When it pulls the operational layer into the attribute table widget, it does not keep those aliases though.

Is there a way to add tags to the attributetablewidget.xml in order to set the aliases for the field names of the selected layers form the search widget, or do i need to go another route?

Any help, as always, is greatly appreciated.

Mike Mejac
Attached Thumbnails
Click image for larger version

Name:	xml.JPG‎
Views:	N/A
Size:	60.2 KB
ID:	25948   Click image for larger version

Name:	search_result.JPG‎
Views:	N/A
Size:	32.6 KB
ID:	25949   Click image for larger version

Name:	attribute_table.JPG‎
Views:	N/A
Size:	34.4 KB
ID:	25950  

Error: Error #2037 after upgrade from 3.3 to 3.4

$
0
0
Hi

I have error when start App Builder after upgrade to v. 3.4.

Error report from C:\Users\...\AppData\Roaming\com.esri.ags.AppBuilder3.0\Local Store\ab-log.txt in attachment.


7/16/2013 09:50:01.392 [INFO] com.esri.builder.controllers.RecentlyUsedURLsController Loading URL history
7/16/2013 09:50:01.251 [FATAL] com.esri.builder.controllers.ApplicationCompleteController Uncaught error: Error: Error #2037

Help please

Thanks
Attached Files

Print Widget Caching

$
0
0
Has anyone else had an issue with the print widget (using 3.3 codebase) where the widget seems to cache a pdf? Sometimes I would come back to a flexviewer sometimes days later and try to create a new pdf map, and it throws back a map created previously. Furthermore, recently I updated the exportwebmap print service to include a new test template and the changes aren't reflecting in the drop down box, despite the service successfully updating on the server. I have been using my own templates rather than the esri provided ones. They have worked fine since I created the service, but won't update to reflect changes when I overwrite or completely recreate the exportwebmap service.

Has anyone else experienced this?

Any help with this issue would be greatly appreciated.
Viewing all 2097 articles
Browse latest View live