POST
|
I'm using the Smart Editor and want to know if it's possible to limit the editable features to a subset of all features available. for instance, I have a status field with multiple values: open, closed, archived. The feature should be editable until status is set to archived. At that point it should be read-only. Any idea if this is possible?
... View more
10-18-2016
01:40 PM
|
0
|
2
|
775
|
POST
|
Thanks Robert, that did the trick. I knew it had to be something stupid I was doing.
... View more
07-02-2013
12:57 PM
|
0
|
0
|
400
|
POST
|
I just downloaded a zip of 3.3 from GitHub and the 3.3 API from ESRI. I imported the zip file into Flash Builder 4.7 and copied agslib-3.3-2013-04-24 to the project libs directory. The Flex SDK is set for 4.6. I did a clean then build and I am left with following 24 errors. Can anybody help? Description Resource Path Location Type 1046: Type was not found or was not a compile-time constant: DoubleField. GPInputDoubleParamItemRenderer.mxml /FlexViewer/src/widgets/Geoprocessing/renderers/input line 37 Flex Problem 1046: Type was not found or was not a compile-time constant: DoubleField. GPInputLinearUnitParamItemRenderer.mxml /FlexViewer/src/widgets/Geoprocessing/renderers/input line 78 Flex Problem 1046: Type was not found or was not a compile-time constant: IntegerField. GPInputLongParamItemRenderer.mxml /FlexViewer/src/widgets/Geoprocessing/renderers/input line 37 Flex Problem 1067: Implicit coercion of a value of type String to an unrelated type Number. LayerCreator.as /FlexViewer/src/com/esri/viewer/managers line 326 Flex Problem 1067: Implicit coercion of a value of type String to an unrelated type Number. LayerCreator.as /FlexViewer/src/com/esri/viewer/managers line 326 Flex Problem 1067: Implicit coercion of a value of type String to an unrelated type Number. LayerCreator.as /FlexViewer/src/com/esri/viewer/managers line 326 Flex Problem 1067: Implicit coercion of a value of type String to an unrelated type Number. LayerCreator.as /FlexViewer/src/com/esri/viewer/managers line 326 Flex Problem 1067: Implicit coercion of a value of type String to an unrelated type Number. LayerCreator.as /FlexViewer/src/com/esri/viewer/managers line 326 Flex Problem 1067: Implicit coercion of a value of type String to an unrelated type Number. OverviewMapComponent.mxml /FlexViewer/src/widgets/OverviewMap line 294 Flex Problem 1119: Access of possibly undefined property outScale through a reference with static type com.esri.ags.tasks.supportClasses:PrintParameters. ExportWebMapForm.mxml /FlexViewer/src/widgets/Print line 111 Flex Problem 1120: Access of undefined property CalendarField. AttributeTableWidget.mxml /FlexViewer/src/widgets/AttributeTable line 883 Flex Problem 1172: Definition com.esri.ags.skins.fieldClasses:CalendarField could not be found. AttributeTableWidget.mxml /FlexViewer/src/widgets/AttributeTable line 51 Flex Problem Unable to locate specified base class 'com.esri.ags.skins.fieldClasses.CalendarField' for component class 'widgets.Edit.EditWidgetAttributeInspectorSkinInnerClass1'. EditWidgetAttributeInspectorSkin.mxml /FlexViewer/src/widgets/Edit Unknown Flex Problem Unable to locate specified base class 'com.esri.ags.skins.fieldClasses.CodedValueDomainField' for component class 'widgets.Edit.EditWidgetAttributeInspectorSkinInnerClass0'. EditWidgetAttributeInspectorSkin.mxml /FlexViewer/src/widgets/Edit Unknown Flex Problem Unable to locate specified base class 'com.esri.ags.skins.fieldClasses.DoubleField' for component class 'widgets.Edit.EditWidgetAttributeInspectorSkinInnerClass2'. EditWidgetAttributeInspectorSkin.mxml /FlexViewer/src/widgets/Edit Unknown Flex Problem Unable to locate specified base class 'com.esri.ags.skins.fieldClasses.DoubleField' for component class 'widgets.Edit.EditWidgetAttributeInspectorSkinInnerClass7'. EditWidgetAttributeInspectorSkin.mxml /FlexViewer/src/widgets/Edit Unknown Flex Problem Unable to locate specified base class 'com.esri.ags.skins.fieldClasses.IntegerField' for component class 'widgets.Edit.EditWidgetAttributeInspectorSkinInnerClass3'. EditWidgetAttributeInspectorSkin.mxml /FlexViewer/src/widgets/Edit Unknown Flex Problem Unable to locate specified base class 'com.esri.ags.skins.fieldClasses.IntegerField' for component class 'widgets.Edit.EditWidgetAttributeInspectorSkinInnerClass8'. EditWidgetAttributeInspectorSkin.mxml /FlexViewer/src/widgets/Edit Unknown Flex Problem Unable to locate specified base class 'com.esri.ags.skins.fieldClasses.LabelField' for component class 'widgets.Edit.EditWidgetAttributeInspectorSkinInnerClass4'. EditWidgetAttributeInspectorSkin.mxml /FlexViewer/src/widgets/Edit Unknown Flex Problem Unable to locate specified base class 'com.esri.ags.skins.fieldClasses.MemoField' for component class 'widgets.Edit.EditWidgetAttributeInspectorSkinInnerClass5'. EditWidgetAttributeInspectorSkin.mxml /FlexViewer/src/widgets/Edit Unknown Flex Problem Unable to locate specified base class 'com.esri.ags.skins.fieldClasses.RangeDomainField' for component class 'widgets.Edit.EditWidgetAttributeInspectorSkinInnerClass6'. EditWidgetAttributeInspectorSkin.mxml /FlexViewer/src/widgets/Edit Unknown Flex Problem Unable to locate specified base class 'com.esri.ags.skins.fieldClasses.StringField' for component class 'widgets.Edit.EditWidgetAttributeInspectorSkinInnerClass9'. EditWidgetAttributeInspectorSkin.mxml /FlexViewer/src/widgets/Edit Unknown Flex Problem Unable to locate specified base class 'com.esri.ags.skins.fieldClasses.TextField' for component class 'widgets.Edit.EditWidgetAttributeInspectorSkinInnerClass10'. EditWidgetAttributeInspectorSkin.mxml /FlexViewer/src/widgets/Edit Unknown Flex Problem Unable to locate specified base class 'com.esri.ags.skins.fieldClasses.TypeField' for component class 'widgets.Edit.EditWidgetAttributeInspectorSkinInnerClass11'. EditWidgetAttributeInspectorSkin.mxml /FlexViewer/src/widgets/Edit Unknown Flex Problem
... View more
07-02-2013
12:39 PM
|
0
|
6
|
2288
|
POST
|
One other option I forgot to mention. You can add mercatorX and mercatorY columns to your SQL Server data source. Write a table trigger that update the mercator values when the XY values are changed. Then change your mxd file to use the mercator coordinates instead of your original XY coordinates. The hard part in this solution is finding and implementing the formula for doing the coordinate conversion.
... View more
09-22-2011
12:21 PM
|
0
|
0
|
409
|
POST
|
Can you please elaborate, I am looking for the popup skin in flash builder to empliment your fix, but am not having luck. So, I need to know where to find the skin so I can make this fix (more steps of where to put the code). Also does this fix effect the way popups work for other layers. The project we are building has multiple layers, and popups for many of them. We have notice the the popup information renders correctly using ArcGIS.Com, but not in Flex. I think it is a bug in Flex, but need a simple work around. I am using Version 2.4. Thanks for the help. If you look at the JSON objects being passed you'll see that the bug is with ArcGIS server. The server is supposed to re-project the XY point to web mercator but it doesn't. I spent a week analyzing the data flow before I figured it out.
... View more
09-22-2011
09:44 AM
|
0
|
0
|
409
|
POST
|
This is not a simple fix. In the Flex API source code, the skin you're looking for is "\skins\src\com\esri\ags\skins\PopUpRendererSkin.mxml" Basically, what I did was modify the viewer source code as follows: [INDENT] Created src\com\esri\viewer\skins\MyPopUpRendererSkin.mxml as a copy of the Flex API file Added functionality to convert the mapPoint to webMercator to my new skin Added the skin to default.css as a new style Modified mapManager.mxml to add the custom style based on a new popup config element Added <style>MyPopUp</style> to the popup's xml file for the ones that need converted Compiled everything in Flash Builder [/INDENT] I've included a zip file with all the changes I described. the mapManager change starts at line 1149. Hopefully this will help.
... View more
09-22-2011
09:38 AM
|
0
|
0
|
409
|
POST
|
I have geo-located several live camera feeds and display them on a map layer. When I click the icon I would like the popup window to display the video feed. I'm displaying mjpeg (motion jpeg), here is an example of that type of video feed. This link displays in Chrome and Firefox but IE needs a viewer. URL: Wabash Telephone I thought I saw this done but I can't remember where. Can anyone point me in the right direction?
... View more
09-22-2011
07:40 AM
|
0
|
1
|
1849
|
POST
|
I have a workaround for this issue. I created a custom skin as a copy of the popup skin and in commitProperties function I added the lines:
geometry = WebMercatorUtil.geographicToWebMercator(graphic.geometry)
infoWindow.show(geometry as MapPoint);
If you're using the zoom functionality you'll need to convert the point before map.zoom
mapPoint = WebMercatorUtil.geographicToWebMercator(mapPoint) as MapPoint;
map.zoom(1 / 16, mapPoint);
... View more
09-22-2011
07:18 AM
|
0
|
0
|
409
|
POST
|
I will be writing code that calls methods from two web services that will decrypt and validate user-provided values before providing the user with access to the Flex Viewer. The process is initiated from a .NET application. It will pass two encrypted values that identify the user. Flex will take each value, one at a time, along with a token, and call a method on the first web service. This web service will determine the validity of the passed data, and if valid, decrypt the value that identifies the user. Once both user values are validated, they are then passed together in a method to a second web service, which evaluates whether both values in tandem are valid for accessing the Flex Viewer. After both web services are called and grant access, the Flex Viewer will load. I have imported both web services, which are on a remote server, into my Flex project. Before I write the code to call the methods, I need guidance on where to start. Will this process be initiated in MapManager.mxml, or somewhere else? Any other information that will help me will be appreciated. Why not put the flex viewer object in an .aspx page and use the built-in .Net membership provider mechanism to enforce your security. That would also fit in nicely if you want to secure your map services so only authenticated user have access
... View more
06-27-2011
12:07 PM
|
0
|
0
|
160
|
POST
|
I've used this functionality to close my widgets after a map click event: [INDENT]private function mapClicked(event:MapMouseEvent):void { [INDENT]this.setState('closed');[/INDENT] } [/INDENT] I've also verified that it fires the widget close handler.
... View more
06-27-2011
07:23 AM
|
0
|
0
|
301
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|