POST
|
I don't really understand that. Can you give me an example? They do have individual data sources, they are in the same database but are separate feature classes/tables with relationships set up. It works on my iPhone but not on Android devices. Is this just a fluke? Thank you for your help. It is very much appreciated!
... View more
03-18-2015
02:52 PM
|
0
|
6
|
661
|
POST
|
Sorry, Ive worked out how to add you now. You should be able to see a couple of maps and services. One with stored credentials the other without. They are the same service and hosted internally (10.3). Thank you! Vicky
... View more
03-18-2015
02:29 PM
|
0
|
8
|
661
|
POST
|
I can't take off the security right now as I am at home. I have made the web map available to everyone but you will be prompted for a user name. I need to check with IT before removing all the security. This PDF details the MapServer service. Can I add you as a user to our account temporarily? Thanks for your help
... View more
03-18-2015
02:00 PM
|
0
|
10
|
661
|
POST
|
Hi Russel I think this is a bug with the android app. It works online but does not let you download it. I think it is a bug as it works perfectly in the new iOS app (on & offline). FC - FC to Table Thank you Vicky
... View more
03-18-2015
01:06 PM
|
0
|
12
|
1750
|
POST
|
Hi Mason I am having issues to get a similar set of relationships to work offline. I've had a look at you web map and rest services on ArcGIS Online. Does this work ok offline with the collector app? If so is your data versioned or archived? I can get Feature Class to Feature Class to Table relationships working online with the collector app but I get a failed to create replica message when I attempt to take them offline. Thank you Vicky
... View more
03-08-2015
03:33 PM
|
0
|
1
|
637
|
POST
|
Are they available now, and if so where can I find them please? many thanks
... View more
03-04-2015
06:29 AM
|
0
|
1
|
737
|
POST
|
I have run into an issue with the ‘Allow Geometry Updates’ setting on the feature service. If I am online and access the map via the collector app it honours this setting being disabled and does not allow me to edit the geometry, only the attributes as desired. However if I take the map offline (allow geometry updates still disabled) it does not let me download it sighting invalid edit capabilities settings. Is this a bug or deliberate? Is there a setting in ArcOnline somewhere where you can specify not to edit the geometry? Any help would be much appreciated.
... View more
09-24-2014
08:55 AM
|
0
|
2
|
2985
|
POST
|
I'm using ArcGIS Mobile 10.1.1 and the latest SDK. Did anyone solve this? Thank you
... View more
07-03-2013
05:31 AM
|
0
|
0
|
568
|
POST
|
Hello Thank you for the link. Can you confirm whether or not the foreign key should be populated? (1:M relationship). The tables I have set up work in ArcMap and I can add a new record with the Relationship Inspector but I have to populate the foreign key manually.
... View more
05-02-2013
05:04 AM
|
0
|
0
|
249
|
POST
|
Did you get an answer to this in the end? Ive checked the folder security etc. Thank you Vicky
... View more
11-15-2012
05:47 AM
|
0
|
0
|
1755
|
POST
|
Did you manage to solve this. I have exactly the same problem and setup. Thank you
... View more
11-12-2012
01:13 AM
|
0
|
0
|
766
|
POST
|
Hello I am new to flex so this is one of my first attempts. My widget selects a sign (from a Feature Layer) and the returns the related inspection data (from a Feature Layer called Inspection) in a grid. Ideally I want to be able to edit the attributes of the related inspection table in the data grid. I have had a look at the edit related tables example and the attribute inspector but I am unsure which route to go down. Is it possible with the AttributeInspector to edit results from a relationship query in a grid? E.g. We want to be able to select a site and view all of the outstanding maintenance issues related to it in a table, and assign each issue to a team and commment on it. Opposed to selecting each issue separatley to edit it. Can anyone point me in the directon of a example of how to feature layer attributes within a datagrid? Thank you Vicky <viewer:BaseWidget 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.*"
widgetConfigLoaded="init()"
xmlns:esri="http://www.esri.com/2008/ags">
<fx:Script>
<![CDATA[
import com.esri.ags.geometry.MapPoint;
import com.esri.ags.events.*;
import com.esri.ags.symbols.*;
import com.esri.ags.tools.DrawTool;
import com.esri.ags.geometry.Geometry;
import mx.controls.Alert;
import com.esri.ags.tasks.supportClasses.*;
import com.esri.ags.layers.*;
import com.esri.ags.geometry.Extent;
import com.esri.ags.SpatialReference;
import com.esri.ags.FeatureSet;
import mx.rpc.AsyncResponder;
import com.esri.ags.tasks.QueryTask;
import com.esri.ags.events.FeatureLayerEvent;
var graphicsLayer:GraphicsLayer;
var sym:Symbol;
var flayer:FeatureLayer;
private function centerMap():void
{
var point:MapPoint = new MapPoint(-118.24799,33.975004);
map.centerAt(point);
}
private function init ():void
{
sym = new PictureMarkerSymbol(widgetIcon, 30, 30);
graphicsLayer = new GraphicsLayer();
graphicsLayer.symbol =sym;
map.addLayer(graphicsLayer);
}
private function widgetClosedHandler(event:Event):void
{
graphicsLayer.visible = true;
}
private function widgetOpenedHandler(event:Event):void
{
graphicsLayer.visible = true;
}
public function getlayers():void
{
setMapAction(DrawTool.MAPPOINT, "Click Point",sym ,findsign, false);
}
private function findsign(event:DrawEvent):void
{
var geom:Geometry = event.graphic.geometry;
var pt:MapPoint = geom as MapPoint
flayer = map.getLayer("Signs") as FeatureLayer
// find wells near the mouse click
var tol:Number = map.extent.width / map.width * 5;
var x:Number = pt.x;
var y:Number = pt.y;
var queryExtent:Extent = new Extent(x - tol, y - tol, x + tol, y + tol, map.spatialReference);
var thisSelectionQuery:Query = new Query();
thisSelectionQuery.geometry = queryExtent;
flayer.selectFeatures (thisSelectionQuery, FeatureLayer.SELECTION_NEW);
flayer.addEventListener(FeatureLayerEvent.SELECTION_COMPLETE, flayer_selectionCompleteHandler)
//Alert.show ("Test")
}
private function flayer_selectionCompleteHandler(event:FeatureLayerEvent):void
{
relatedDatagrid.dataProvider = null;
//var objectID = new Number(event.features[0].attributes.ItemID);
//Alert.show(event.features[0].attributes.OBJECTID + " #event.featurelength");
// check the first return feature to see if it has any related features
if (event.features.length > 0)
{
relquery.objectIds = [ event.features[0].attributes.OBJECTID ];
//Alert.show(relquery.relationshipId + " relID");
flayer.queryRelatedFeatures(relquery, new AsyncResponder(onResult, onFault));
function onResult(relatedRecords:Object, token:Object = null):void
{
// get related records for the first feature
var fset:FeatureSet = (relatedRecords[event.features[0].attributes.OBJECTID]);
if (fset is FeatureSet)
{
relatedDatagrid.dataProvider = fset.attributes;
//Alert.show("FeatureSet Created")
}
else
{
Alert.show("No related records for ItemID: #" + event.features[0].attributes.OBJECTID, "No related records");
}
}
function onFault(info:Object, token:Object = null):void
{
map.infoWindow.hide();
Alert.show(info.toString(), "queryRelatedFeatures Problem");
}
}
else
{
map.infoWindow.hide();
Alert.show("No wells found here, please try somewhere else.", "No features");
}
}
]]>
</fx:Script>
<fx:Declarations>
<esri:RelationshipQuery id="relquery"
outFields=""
relationshipId="0" returnGeometry="true"/>
</fx:Declarations>
<viewer:WidgetTemplate id="widgetTemplate" closed="widgetClosedHandler(event)" open="widgetOpenedHandler(event)">
<mx:VBox autoLayout="false" width="200" height="200">
<mx:Button click="centerMap()" label="Recenter Map" />
<mx:Button click="activateTool()" label="Coordinates" paddingRight="25" />
<mx:Button click="getlayers()" label="GetRelatedInfo"/>
<mx:DataGrid id="relatedDatagrid" width="100%" height="100%">
<mx:columns>
<mx:DataGridColumn dataField="ItemID" headerText="ItemID"/>
<mx:DataGridColumn dataField="Condition" headerText="Condition"/>
<mx:DataGridColumn dataField="Issue" headerText="Issue"/>
<mx:DataGridColumn dataField="Assigned_To" headerText="Assigned To"/>
</mx:columns>
</mx:DataGrid>
</mx:VBox>
</viewer:WidgetTemplate>
</viewer:BaseWidget>
... View more
08-08-2012
07:53 AM
|
0
|
3
|
1218
|
POST
|
Hello We are in the process of upgrading to sharepoint 2010 and have heard that Microsoft Silverlight 5.0 is the last version they are going to release. Will the equivalent ArcGIS for sharepoint be developed for flex? Adding a page viewer adds a flex application but there is no way to link lists to features on the map. Thank you
... View more
07-26-2012
05:02 AM
|
0
|
0
|
290
|
Title | Kudos | Posted |
---|---|---|
1 | 02-08-2024 04:14 AM | |
2 | 03-31-2023 02:21 AM | |
1 | 11-07-2023 06:13 AM | |
1 | 10-05-2023 01:11 AM | |
1 | 02-18-2021 02:30 AM |
Online Status |
Offline
|
Date Last Visited |
2 weeks ago
|