|
POST
|
Button controls have a Pro Style. Can you try adding this style to you button element? Style="{DynamicResource Esri_Button}"
... View more
04-28-2023
07:25 AM
|
0
|
1
|
1654
|
|
POST
|
Hi, Thanks for reporting this. We are investigating this.
... View more
03-31-2023
02:35 PM
|
0
|
0
|
1503
|
|
POST
|
Hi, You can use the condition attribute for the tool element in your config.daml to disable\enable the tool based on what is selected. MapSelectionChangedEvent gives you the opportunity to see if the feature you want is selected. Based on that you can set your condition. Here is a ProGuide on how you can implement your own conditions for your workflow: ProGuide: Code Your Own States and Conditions
... View more
03-14-2023
10:08 AM
|
0
|
1
|
1176
|
|
POST
|
Hi I am able to reproduce this issue too. It sounds like a bug - I will report this to the dev team. Thanks for reporting this. In the meantime, can you please try this by matching the extension name (case) with what you have in the config.daml fileExtension attribute value? Thanks! Uma
... View more
12-14-2022
07:47 AM
|
4
|
2
|
3419
|
|
POST
|
Hi, Just a few questions to clarify the issue - 1. Does your custom item have a file extension of gsi? 2. On disk, if the file is .GSI, then it doesn't show up in Pro with the corresponding file image. If on disk, the file is .gsi, then it shows up in Pro with the corresponding image. Is that correct? 3. In config.daml file of your add-in, can you please send me the fileExtension attribute value? Thanks! Uma
... View more
12-13-2022
04:53 PM
|
0
|
1
|
3448
|
|
POST
|
Hi In my tests, I am able to "see" the custom file extension (Pro custom item) via the add-in and via the Configuration. I am not seeing this issue you are experiencing. If you can share a simple add-in and a configuration where you see the issue, it will help.
... View more
11-03-2022
01:54 PM
|
0
|
0
|
1786
|
|
POST
|
The SDK team will check this scenario out shortly. But in the meantime, can you try this note below? This will help us narrow down the problem. https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-Custom-Items#a-note-for-developers A Note for Developers When working on Custom Items (or Custom Project Items) be aware that Custom Item classes are also registered for use by the ArcGIS Pro Indexer when ArcGIS Pro starts. This registration is done through an entry in this file: %AppData%..\Local\ESRI\SearchResources\ItemInfoTypesExt.json Usually this is of no consequence, but it is advisable to delete this file in-between sessions when you are developing your Custom Item and when you are refactoring your code. It may also be beneficial to disable Pro indexing on your development machine (in which case the ItemInfoTypesExt.json file will be ignored). Disable Pro indexing via the Pro backstage "Options". Select "Indexing" within the Application group and click on the "Don't create index" option.
... View more
11-03-2022
10:12 AM
|
0
|
2
|
1807
|
|
POST
|
Hi You can iterate through the layers in the TOC and determine if a layer is a Group layer or not using the "GroupLayer" type. var map = MapView.Active.Map;
if (map == null)
return;
//Get the group layers first
IReadOnlyList<GroupLayer> groupLayers = map.Layers.OfType<GroupLayer>().ToList();
//Iterate
foreach (var groupLayer in groupLayers)
{
//Do something with groupLayer
} There is a snippet in the ProSDK wiki that iterates through the TOC. In this snippet, unchecked layers are removed from the TOC. Removes all layers that are unchecked
... View more
08-15-2022
01:52 PM
|
0
|
0
|
1387
|
|
POST
|
Hi, Here is an add-in (attached) with a ProWindow that hosts an image that switches when you change the Pro Application theme. The images are placed in the Images folder and the BuildAction is set to resource. This add-in is built using Pro 3.0.
... View more
07-28-2022
10:16 PM
|
0
|
0
|
4229
|
|
POST
|
Hi, Did you have chance to see this ProGuide? ProGuide: Custom styles This guide walks through the process of styling a UserControl using your own resources. It also explains how to switch the resources based on Pro's application theme.
... View more
07-28-2022
09:40 AM
|
0
|
0
|
4260
|
|
POST
|
Please also refer to the following snippet in the ArcGIS Pro SDK wiki: Creates a background callout text symbol
... View more
07-18-2022
08:41 AM
|
0
|
0
|
2838
|
|
POST
|
Hi There is a community sample available that shows you how to work with "Attribute driven symbology". Scroll down to the bottom of the sample instructions to see the info on attribute driven symbology. Sample: https://github.com/Esri/arcgis-pro-sdk-community-samples/blob/master/Map-Authoring/Renderer This .cs file has the code to do this: https://github.com/Esri/arcgis-pro-sdk-community-samples/blob/master/Map-Authoring/Renderer/AttributeDrivenSymbology.cs
... View more
07-12-2022
09:29 AM
|
0
|
0
|
801
|
|
POST
|
Hi, At 3.0, BasicFeatureLayer definition queries have changed. The ProConcepts: 3.0 Migration Guide covers this topic. There are also various code snippets that can help you in this wiki. var us_states = MapView.Active.Map.GetLayersAsFlattenedList()
.OfType<FeatureLayer>().First(lyr => lyr.Name == "US States");
QueuedTask.Run(() => {
us_states.SetDefinitionQuery("STATE_NAME = 'Iowa'");
//equivalent to...
var def_query = new DefinitionQuery() {
Name = "A Name that is Unique",
WhereClause = "STATE_NAME = 'Iowa'"
};
us_states.InsertDefinitionQuery(def_query, true);
var active_def_query = us_states.ActiveDefinitionQuery;
string where_clause = us_states.DefinitionQuery;//just the where clause string
//remove the active query
us_states.RemoveActiveDefinitionQuery();
//remove using name
us_states.RemoveDefinitionQueries(new List<string> { def_query.Name });
//use LINQ to get just a specific query
var def_query = us_states.DefinitionQueries.FirstOrDefault(
dq => dq.Name == "Query def name");
... View more
07-05-2022
12:55 PM
|
1
|
0
|
1516
|
|
POST
|
Hi , There are a few examples in this page that can help you: ProSnippets: Map Authoring. Check out this snippet: create-layer-from-a-lyrx-file Thanks! Uma
... View more
02-16-2022
04:48 PM
|
0
|
0
|
3475
|
|
POST
|
Hi, The RemoveLayer method on the Map will accomplish this. MapView.Active.Map.RemoveLayer(layerToRemove);
... View more
10-28-2021
02:56 PM
|
2
|
0
|
3067
|
| 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 |
Online
|
| Date Last Visited |
23 seconds ago
|