|
POST
|
Hi Ken, This link for ProSnippets:Geometry Engine is now fixed. Thanks for reporting this broken link. Uma
... View more
04-20-2021
10:18 AM
|
0
|
0
|
846
|
|
POST
|
Hi, ArcGIS Pro now supports GraphicsLayers. So graphics such as this can be drawn using GraphicsLayer and GraphicElements. GraphicElements can be created with or without sketch tools. Here are some wiki pages that help shed light on this: ProConcepts: Graphics Layers ProSnippets: GraphicsLayers Sample Thanks Uma
... View more
04-02-2021
08:54 AM
|
1
|
0
|
3853
|
|
POST
|
Hi Marvis, States are different from Events - you cannot subscribe to them. They are useful for enabling/disabling controls.
... View more
04-01-2021
01:46 PM
|
0
|
1
|
3503
|
|
POST
|
Hi @MarvisKisakye1 You can find out when the Attribute table pane Initialization has begun using the ActivePaneInitializedEvent. But this doesn't tell you when the Pane is completely in a "ready" state. Pro uses "states" to determine when something is ready - For example, the "esri_editing_tableOpenState" state tells the application when the table is open and ready. This is when the "esri_editing_tableGoTo" button on the ribbon gets enabled. Thanks Uma
... View more
04-01-2021
01:40 PM
|
0
|
1
|
3506
|
|
POST
|
Hi Justin, This is a bug, and has been reported to the development team. Thanks for reporting this. Uma
... View more
03-12-2021
04:06 PM
|
0
|
0
|
2860
|
|
POST
|
Hi, My guess is that the button class name, namespace has changed - causing a mismatch to what is declared in the config.daml of the add-in. Pro is not able to find the code behind for the button. Can you please try some of the solutions documented here: Namespace mismatch causes controls to not work or disappear Thanks Uma
... View more
02-25-2021
09:54 AM
|
0
|
1
|
3982
|
|
POST
|
ArcGIS Pro SDK wiki and the Samples repos provide some help with this: 1. Here is a code snippet that gets the clicked point in a map: Create a tool to the return coordinates of the point clicked in the map 2. MapTool Overlay Control sample: This sample provides a map tool that when you left click in the view will show the map coordinates of the click location in the top left corner of the view. Thanks Uma
... View more
02-22-2021
09:01 AM
|
0
|
1
|
2181
|
|
POST
|
Hi Kirk I see the issue you are experiencing. Adding the queryFields array causes the exception. The workflow is successful if I remove the queryFields array (the SQL query is still successfully executed). The table gets successfully added to the map. I couldn't see any impact in the table added to the map. Please remove the queryFields array in your JSON. In the meantime, I will follow-up and see why queryFields inclusion is causing the crash. Thanks for reporting this! Uma
... View more
02-17-2021
04:27 PM
|
1
|
0
|
4206
|
|
POST
|
Hi, How are you using the JSON strings to create the new layer? It is best to use the LayerDocument to accomplish this . LayerDocument gives you the ability to work with an "in-memory" representation of the layer. You can configure it (data connection, SQL query, renderers, etc) and then add it to the map. You can use an existing LayerX file to create a layer document object, and then access its CIM Definition to configure it. QueuedTask.Run( () => {
//Creates an in memory copy of the existing lyrx file
ArcGIS.Desktop.Mapping.LayerDocument lyrDoc = new ArcGIS.Desktop.Mapping.LayerDocument(@"C:\pathtoLayerXFile\layer.lyrx");
var cimLayerDoc = lyrDoc.GetCIMLayerDocument();
//Configure any aspects of the layer you want here. Query definitions, etc.
cimLayerDoc.LayerDefinitions[0].Name = "MyNewLayer";
//Create the layer in the active map using the layer document.
var layerParams = new LayerCreationParams(cimLayerDoc);
LayerFactory.Instance.CreateLayer<FeatureLayer>(layerParams, MapView.Active.Map,
LayerPosition.AddToTop);
}); Here is a ProSnippet that also addresses this: Create layer from a lyrx file
... View more
02-17-2021
08:45 AM
|
0
|
1
|
4213
|
|
POST
|
Hi, To delete the New Project and Open Project tabs, these DAML line will do the trick: Backstage tab: Delete Pro's tabs and insert your own tab Thanks Uma
... View more
02-16-2021
06:45 AM
|
2
|
1
|
2642
|
|
POST
|
Hi, I can confirm that the ability to create a Layer Document from a Lyrx file saved on Portal has been added to 2.8. 2.8 is currently under development. ArcPro 2.8 will be released later this year. Thanks! Uma
... View more
02-04-2021
12:37 PM
|
2
|
0
|
3381
|
|
POST
|
Hi, Here are some snippets relating to Annotations: ProSnippets: Annotation. There is also a Concept doc available. Thanks Uma
... View more
01-13-2021
06:29 AM
|
1
|
0
|
2931
|
|
POST
|
Hi Alex, Can you make a small sample add-in project with just this button and send it to me? An attachment posted here will work. I can take a look and see if I can help. Thanks Uma
... View more
11-05-2020
04:44 PM
|
0
|
0
|
2937
|
|
POST
|
Hi Alex, Can you try using the AddMustNotBeTypeId method to pass in the typeIDs to not display? BrowseProjectFilter browseFilter = BrowseProjectFilter.GetFilter("esri_browseDialogFilters_shapefiles");
browseFilter.AddCanBeTypeId("shapefile_general");
browseFilter.AddCanBeTypeId("shapefile_line");
browseFilter.AddMustNotBeTypeId("shapefile_point");
//Add other typeIDs of shape files to not show.
Also, this is how my dialog looks (below). I have a file GDB in this location. I don't see it nor am I able to browse into it. So not sure what is happening there.
... View more
11-05-2020
02:50 PM
|
0
|
2
|
2937
|
|
POST
|
Hi, I added the "shapefile_general" typeID to get this to work. BrowseProjectFilter browseFilter = BrowseProjectFilter.GetFilter("esri_browseDialogFilters_shapefiles");
browseFilter.AddCanBeTypeId("shapefile_general");
browseFilter.AddCanBeTypeId("shapefile_line");
OpenItemDialog browseDialog = new OpenItemDialog
{.... Thanks Uma
... View more
11-04-2020
01:14 PM
|
0
|
4
|
2937
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-14-2026 09:54 AM | |
| 1 | 01-21-2026 10:48 AM | |
| 1 | 09-18-2025 03:09 PM | |
| 1 | 11-04-2025 08:25 AM | |
| 1 | 09-23-2025 09:31 AM |
| Online Status |
Offline
|
| Date Last Visited |
yesterday
|