POST
|
Is it possible to display both the date AND the time using the Attribute Inspector? shortDateshortTime doesn't seem to display a time
... View more
06-25-2014
04:37 PM
|
0
|
3
|
378
|
POST
|
I have a date field in a point feature service that is intended to collect date AND time (mm/dd/yyyy hh:mm:ss). The only way I can view the time (HH:MM:SS) of the features to to export to csv. In the popups, all I see are mm/dd/yyyy. Is there a setting hiding somewhere that'll allow me to view the entire time stamp inside of my web map's popups?
... View more
05-30-2014
11:18 AM
|
0
|
0
|
422
|
POST
|
Thanks, Andy. That worked. For documenting purposes, below is my fixed "EditMode" function. In the following order (order matters): 1. Created the new Attribute Inspector 2. Re-selected the feature 3. Displayed the popup function editMode(features){ var layerInfos = [{ 'featureLayer': globals.eventsMSL, 'isEditable': true }]; var attInspector = new esri.dijit.AttributeInspector({ layerInfos: layerInfos }, dojo.create("div")); globals.eventsMSL.selectFeatures(globals.query, FeatureLayer.SELECTION_NEW, function(editFeatures){ if (globals.map.infoWindow.isShowing) { globals.map.infoWindow.hide(); } var editScreenPoint = globals.map.toScreen(editFeatures[0].geometry); globals.map.infoWindow.setContent(attInspector.domNode); globals.map.infoWindow.resize(325, 185); globals.map.infoWindow.show(editScreenPoint, globals.map.getInfoWindowAnchor(editScreenPoint)); attInspector.on("delete", function(evt) { globals.map.infoWindow.hide(); }); attInspector.on("attribute-change", function(evt) { }); }); }
... View more
05-15-2014
09:15 AM
|
0
|
0
|
20
|
POST
|
I have a map with a single point layer for which I've assigned an Attribute Inspector with a custom "Edit Button". When the layer is clicked, the Attribute Inspector displays properly: [ATTACH=CONFIG]33825[/ATTACH] When the edit button is clicked, I have an "EditMode" function, which should display an Attribute Inspector. This time with editable fields. When the 2nd Attribute Inspector's info window is displayed, "No Features Selected" is displayed in the content rather than a list of editable fields. Any ideas why is this happening? [ATTACH=CONFIG]33826[/ATTACH] I'm using the Multiple Attribute Inspectors Sample as a guide. Once the feature layer (globals.eventsMSL) has been added, initInfoWindow adds the Attribute Inspector to my globals.eventsMSL layer: function initInfoWindow(results){ console.log("in the initInfoWindow function: " + globals.map.layerIds.length); globals.query = new Query(); globals.eventsMSL.on("click", function(evt){ if (globals.map.infoWindow.isShowing) { globals.map.infoWindow.hide(); }; var layerInfos = [{ 'featureLayer': globals.eventsMSL, 'isEditable': false, 'showAttachments': false, 'showDeleteButton':false }] var attInspector = new esri.dijit.AttributeInspector({ layerInfos: layerInfos }, dojo.create("div")); globals.query.objectIds = [evt.graphic.attributes.OBJECTID]; globals.eventsMSL.selectFeatures(globals.query, FeatureLayer.SELECTION_NEW, function(features){ globals.map.infoWindow.setTitle(""); globals.map.infoWindow.setContent(attInspector.domNode); globals.map.infoWindow.resize(350, 240); globals.map.infoWindow.show(evt.screenPoint, globals.map.getInfoWindowAnchor(evt.screenPoint)); var editButton = new Button({ label: "Edit", "class": "editButton" }); domConstruct.place(editButton.domNode, attInspector.deleteBtn.domNode, "after"); editButton.on("click", function() { editMode(features); }); }); }); } The "EditMode" Function should display an Attribute Inspector: function editMode(features){ if (globals.map.infoWindow.isShowing) { globals.map.infoWindow.hide(); } var layerInfos = [{ 'featureLayer': globals.eventsMSL, 'isEditable': true }]; var attInspector = new esri.dijit.AttributeInspector({ layerInfos: layerInfos }, dojo.create("div")); var editScreenPoint = globals.evt.screenPoint; globals.map.infoWindow.setContent(attInspector.domNode); globals.map.infoWindow.resize(325, 185); globals.map.infoWindow.show(editScreenPoint, globals.map.getInfoWindowAnchor(editScreenPoint)); attInspector.on("delete", function(evt) { globals.map.infoWindow.hide(); }); attInspector.on("attribute-change", function(evt) { }); }
... View more
05-14-2014
04:08 PM
|
0
|
2
|
530
|
POST
|
I followed the instructions for reverting back to 10.1.1 for a single project in order to revert back to 10.2 from 10.2.1, but when right click - fix project properties, 10.2.2 gets reloaded. Help?
... View more
04-10-2014
07:05 AM
|
0
|
0
|
258
|
POST
|
The issue doesn't cause any compile errors. It must have something to do with my Eclipse settings.
... View more
04-10-2014
07:03 AM
|
0
|
0
|
15
|
POST
|
Working on offline editing/ syncing... having a problem with setting the sync direction parameter. SyncGeodatabaseParameters syncParams = geodatabase.getSyncParameters(); syncParams.setSyncDirection(SyncDirection.UPLOAD); At the line, "syncParams.setSyncDirection(SyncDirection.UPLOAD)," I get the error: "The type com.esri.core.internal.tasks.f cannot be resolved. It is indirectly referenced from required .class files" I am using the 10.2.2 SDK. I believe all of my jars are in place (see screenshot attached) and followed the directions pretty carefully for updating the SDK. Any thoughts on what could be causing the error?
... View more
04-09-2014
06:27 AM
|
0
|
4
|
3481
|
POST
|
silly mistake. Solution: Ocean Basemap doesn't draw at high scales, this is why it wasn't appearing. Ocean basemap needed to be TiledMapService, not DynamicServiceLayer.
... View more
03-07-2014
08:13 AM
|
0
|
0
|
18
|
POST
|
Specifically, the base map service is the one not working: http://services.arcgisonline.com/arcgis/rest/services/Ocean/World_Ocean_Base/MapServer The reference layer is working: http://services.arcgisonline.com/arcgis/rest/services/Ocean/World_Ocean_Reference/MapServer
... View more
03-07-2014
07:29 AM
|
0
|
0
|
18
|
POST
|
Any thoughts as to why Ocean basemap stopped rendering in my app? All other basemaps are fine. Error: getImage (unknown source)
... View more
03-06-2014
01:41 PM
|
0
|
3
|
494
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|