|
POST
|
Andrea, The next thing to check is in the ArcMap MXD do you have the objectID and Shapefield visible?
... View more
10-13-2010
11:50 AM
|
0
|
0
|
2143
|
|
POST
|
Sandeep, Didn't you remove the listfield and listvalues from your xml?
... View more
10-13-2010
11:42 AM
|
0
|
0
|
2046
|
|
POST
|
Andrea, Begin by removing all your layers from the IdentifyWidget.xml. There is no need to specify your layer in the identify widgets xml unless you want to limit the fields that are returned or specify a hyperlink field. If you are going to specify a hyperlink field that it has to be included in the fields list as stated in the text instruction of the IdentifyWidget.xml. That would mean that if you want a hyperlink field and all the other fields to show then you have to manually list all the fields in the field attribute. For testing purposes just remove all your layers from the IdentifyWidget.xml. Next ensure that your manholes are visible on the map and then attempt to identify them. Let me know the outcome.
... View more
10-13-2010
07:05 AM
|
0
|
0
|
2143
|
|
POST
|
Paul, The coordinateWidget is not suppose to go in a widget container and that is likely your issue. Look at the config-all.xml for an example of where to put this widget in your config file.
... View more
10-13-2010
06:07 AM
|
0
|
0
|
962
|
|
POST
|
Sandeep, In the onJSONLoad function replace this // loop through the shown fields to create form items
for (var i:Number = 0; i < shownAddressFields.length; i++)
{
var frmItem:FormItem = new FormItem();
frmItem.percentWidth = 100;
frmItem.label = shownAddressFields.name + ": ";
if (shownAddressFields.name != listField)
{
if(shownAddressFields.name == "State")
{
var lblItem:Label = new Label();
lblItem.percentWidth = 100;
lblItem.id=shownAddressFields.name;
lblItem.text = "Alabama";
frmItem.addChild(lblItem);
addrObjects.push({ item: lblItem, required: false });
}else{
var txtItem:TextInput = new TextInput();
txtItem.percentWidth = 100;
txtItem.removeEventListener(FlexEvent.ENTER, addressTextItemEnterHandler);
txtItem.addEventListener(FlexEvent.ENTER, addressTextItemEnterHandler);
txtItem.id = shownAddressFields.name;
// required field
frmItem.required = shownAddressFields.required;
frmItem.addChild(txtItem);
addrObjects.push({ item: txtItem, required: shownAddressFields.required });
}
}
else
{
var cboItem:ComboBox = new ComboBox();
cboItem.id = shownAddressFields.name;
cboItem.dataProvider = listArray;
// required field
frmItem.required = shownAddressFields.required;
frmItem.addChild(cboItem);
addrObjects.push({ item: cboItem, required: shownAddressFields.required });
}
frmLocateAddress.addChildAt(frmItem, i);
}
... View more
10-12-2010
03:01 PM
|
0
|
0
|
1730
|
|
POST
|
Nadeem, You have to add the coodinateWidget like this to the config <widget left="3" bottom="3" config="widgets/Coordinate/CoordinateWidget.xml" url="widgets/Coordinate/CoordinateWidget.swf"/>
... View more
10-12-2010
01:52 PM
|
0
|
0
|
962
|
|
POST
|
Phillip, You would just add a minimized event handler to the widget template and have the remove cursor code there.
... View more
10-12-2010
11:49 AM
|
0
|
0
|
1498
|
|
POST
|
Tony, What does your code for building the polyline look like?
... View more
10-12-2010
06:55 AM
|
0
|
0
|
1304
|
|
POST
|
Tony, Look at this sample. http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=MeasureDistance
... View more
10-12-2010
06:37 AM
|
0
|
0
|
1304
|
|
POST
|
Lee, The old 1.x version of this widget was using a custom circle drawtool and had the ability to display the circles radius when drawing, now that I an using esri's standard drawtool (because it now supports circles and ellipses) we have lost that ability to display the radius when drawing circles.
... View more
10-12-2010
05:15 AM
|
0
|
0
|
2354
|
|
POST
|
Sandeep, You would have to do this in the mxml code and specify an if statement to insert the state name when it is building the form items.
... View more
10-12-2010
05:11 AM
|
0
|
0
|
1730
|
|
POST
|
Nicola, You need to ensure that you are not interchanging machine names and IP addresses any where in you project. If you are using IPs then even in your config.xml the url for the map service you need to use the IP. If you are interested in security than you should configure your servers to use reverse prox, as detailed in this link. http://resources.arcgis.com/content/kbase?fa=articleShow&d=32634
... View more
10-12-2010
05:08 AM
|
0
|
0
|
1743
|
|
POST
|
Matt, You need to be looking at the includeLayers and/or excludeLayers functions of the TOC.as
... View more
10-11-2010
05:13 PM
|
0
|
0
|
1393
|
|
POST
|
Frank, Have you seen this sample? http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=ProjectPoint
... View more
10-11-2010
05:05 PM
|
0
|
0
|
894
|
|
POST
|
Dasa, So is it possible to get the stage XY from a ContextMenuEvent?
... View more
10-11-2010
01:58 PM
|
0
|
0
|
1867
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-14-2020 11:36 AM | |
| 17 | 05-17-2021 01:51 PM | |
| 1 | 07-06-2020 05:32 AM | |
| 1 | 07-10-2018 05:49 AM | |
| 9 | 01-28-2022 10:58 AM |
| Online Status |
Offline
|
| Date Last Visited |
06-08-2026
06:27 AM
|