|
POST
|
I too would like a timeline for this. I have twenty users waiting to switch to Pro since 2.0, but our main editors need these tools for precision editing, and some other basic Desktop tools, before we can switch.
... View more
07-24-2018
06:09 AM
|
0
|
0
|
1594
|
|
POST
|
Is there a way to add or subtract Layers to a Legend using the Pro SDK? I see you can create a legend for a specific map frame, but I cannot figure out how to customize the legend once it is created.
... View more
06-26-2018
08:12 AM
|
0
|
1
|
1033
|
|
POST
|
I am currently having this issue where only the author of the report is able to generate it. The other users get this error: "Http failure response for (unknown url): 0 Unknown Error". I switched my Microsoft Word Template from being shared with the group to being shared with everyone in ArcGIS Online and still get the error. Are there any other work around to free up the template for everyone to generate the report? Also note this has only started to recently happen, tested it a couple weeks ago and it worked fine; it's probably because we are/were about to deploy it.
... View more
05-16-2018
09:12 AM
|
0
|
0
|
920
|
|
POST
|
I got it figured out. Make sure to specify the esriFieldTypeDate for the bind::esri:fieldType column in the XLSForm it transfers correctly. Before it was left blank.
... View more
04-12-2018
01:11 PM
|
1
|
1
|
1625
|
|
IDEA
|
In order to help keep large organizations content organized, be able to chose which folder to publish the Survey123 Form and Feature to in the ArcGIS Online Content -> My Content -> Folders. For an example, currently the folders were nice and organized by 5 departments folders. Now I add 10 Surveys for 3 different departments and my Content is suddenly disorganized with 15 folders.
... View more
04-11-2018
09:11 AM
|
88
|
10
|
6163
|
|
POST
|
Date to date (field:dateStarted={Date_Started}), no text fields involved. It is a date in my feature service attribute (Date_Started - Format as December 21, 1997) and a date in my Survey Connect Excel field (dateStared). It works great from Online to Survey. When integrating from collector to survey123 is where it always changes it to Monday, January 1, 0001. I should also add that I am using Windows. It is pulling from a ArcGIS Server rest Feature Service. Connect Attribute Config Hyperlink to Survey ArcGIS Online to Survey123 ArcGIS Collector to Survey123
... View more
04-11-2018
06:23 AM
|
0
|
3
|
1625
|
|
POST
|
When I pass a date field from collector to survey123 (field:dateStarted={Date_Started}) it will only pass to survey123 as Monday, January 1, 0001. When I do this from a ArcGIS Online map it pass on the correctly entered date. How would I get this to pass correctly using survey123?
... View more
04-10-2018
02:15 PM
|
1
|
5
|
1964
|
|
POST
|
Using Survey123 Connect for ArcGIS. I have a survey which I originally published in the default location because I did not see any option to choose which folder to publish in. I moved it to the correct group/folder for my organization so now when I re-publish it ends up in a never ending loop. If I move it back to my home folder I am able to re-publish. How do I tell Survey123 which folder I want to publish/re-publish to so I do not have to keep moving it?
... View more
03-28-2018
12:10 PM
|
1
|
11
|
10311
|
|
POST
|
Thanks, that was it! This is the corrected code. MapView.Active.Map.GetLayersAsFlattenedList().OfType<FeatureLayer>().First(l => l.Name.Equals("Parcels"));
... View more
02-02-2018
12:52 PM
|
0
|
0
|
4717
|
|
POST
|
Here is the full code I am trying to get to work. namespace Parcel_Select
{
internal class SelectParcel : MapTool
{
public SelectParcel()
{
IsSketchTool = true;
SketchType = SketchGeometryType.Rectangle;
SketchOutputMode = SketchOutputMode.Map;
}
protected override Task OnToolActivateAsync(bool active)
{
return base.OnToolActivateAsync(active);
}
protected override Task<bool> OnSketchCompleteAsync(Geometry geometry)
{
var parcellayer = (MapView.Active.Map.Layers.First(layer => layer.Name.Equals("Parcels")) as FeatureLayer);
//var parcellayer = (MapView.Active.Map.GetLayersAsFlattenedList().Where(layer => layer.Name.Equals("Parcels")) as FeatureLayer);
if (parcellayer == null) return Task.FromResult(true);
return ArcGIS.Desktop.Framework.Threading.Tasks.QueuedTask.Run(() =>
{
var sqatialfilter = new SpatialQueryFilter()
{
FilterGeometry = geometry,
SpatialRelationship = SpatialRelationship.Intersects
};
MapView.Active.Map.SetSelection(null);
parcellayer.Select(sqatialfilter);
return base.OnSketchCompleteAsync(geometry);
});
}
}
}
... View more
02-02-2018
11:58 AM
|
0
|
2
|
4717
|
|
POST
|
I am trying to create a Map Tool where it only selects features in my "Parcels" layer. Some users will have the "Parcels" layer inside a Group Layer in the Map and some will not. .NET C# var parcellayer = (MapView.Active.Map.Layers.First(layer => layer.Name.Equals("Parcels")) as FeatureLayer); This works well if the layer is directly in the Map, but will crash if the layer is in a Group Layer in the Map. I have yet to figure out how to use a layer within a Group Layer in the same manner, simply because it is not what I am after. According to ProConcepts Map Authoring · Esri/arcgis-pro-sdk Wiki · GitHub , Working with Map Members, one should use FlattenedList because "Should you need to get a list without group layers hierarchy, use Map.GetLayersAsFlattenedList() method". When I do this, nothing happens when I try and use the new Map Tool .NET C# var parcellayer = (MapView.Active.Map.GetLayersAsFlattenedList().Where(layer => layer.Name.Equals("Parcels")) as FeatureLayer); I want to be able to make a Select Map Tool where it will select the "Parcels" layer regardless of if it is in a Group Layer or not. To add more confusion. I can run a stand alone Python Script within Pro and it will not matter if a feature layer is in a Group layer or not. Python selectPar = pm.SelectLayerByLocation("Parcels","WITHIN_A_DISTANCE",ZoneCaseFeat,"1000 Feet","NEW_SELECTION")
But if I run this same exact Python script from within .NET I have to put the Group in there first. Python selectPar = pm.SelectLayerByLocation(r"GroupLayerName\Parcels","WITHIN_A_DISTANCE",ZoneCaseFeat,"1000 Feet","NEW_SELECTION") But if I do this and run the Python script from within .Net it will work fine in or out of a group! Python aprx = arcpy.mp.ArcGISProject("CURRENT")
m = aprx.listMaps("Layers")[0]
ParcelsLayer = m.listLayers("Parcels")[0]
selectPar = pm.SelectLayerByLocation(ParcelsLayer,"WITHIN_A_DISTANCE",ZoneCaseFeat,"1000 Feet","NEW_SELECTION")
... View more
02-02-2018
11:41 AM
|
0
|
3
|
5878
|
|
POST
|
I suspect the License is not getting checked out. Try catching an exceptions on that before running the Tabulate. See the Code Sample here: CheckOutExtension—Help | ArcGIS for Desktop
... View more
12-14-2017
11:13 AM
|
1
|
0
|
1039
|
|
POST
|
Is there a way to use a relative path to that folder? Not everyone I share the project with will have the same file, folder, directories. Replace the "string tool_path" with a relative path. public async Task<IGPResult> ExecuteModel()
{
string tool_path = @"C:\Test_Folder\Base_Maps\Base_Maps.tbx\TestScript";
var parameters = Geoprocessing.MakeValueArray();
IGPResult gp_result = await Geoprocessing.ExecuteToolAsync(tool_path, parameters);
Geoprocessing.ShowMessageBox(gp_result.Messages, "GP Messages", gp_result.IsFailed ? GPMessageBoxStyle.Error : GPMessageBoxStyle.Default);
return gp_result
} ;
... View more
11-27-2017
01:15 PM
|
0
|
1
|
4400
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Tuesday | |
| 1 | a week ago | |
| 1 | 04-12-2021 09:58 AM | |
| 2 | 03-18-2025 10:32 AM | |
| 1 | 07-28-2020 11:56 AM |
| Online Status |
Offline
|
| Date Last Visited |
Tuesday
|