|
POST
|
Hi, In one of my projects I refresh token (if needed) before using token in some operation. I do it a little bit earlier than token expires.
... View more
06-09-2021
11:07 PM
|
1
|
1
|
3104
|
|
POST
|
Hi, At first you can't cast from IFeature to IFeatureSelection. You can cast IFeatureLayer to IFeatureSelection. So it would be: IFeatureSelection featureSelection = pFeatureLayer as IFeatureSelection; If you look at your layer Properties-Selection tab you will find options on showing selection: The first one is ArcMap setting which changes all layers selection showing. I think you don't want to change all layers selection to red. If you do then you should use SelectionColor on IMapDescription2. If you are interesting in third option then you should use SelectionColor on ILayerDescription. More info about both cases here: - ILayerDescription.SelectionColor Property (ArcObjects .NET 10.8 SDK) (arcgis.com) If you want mark one special from selection you can use IGraphicsContainer to draw graphic element on top of your feature with color or shape you want.
... View more
06-09-2021
10:58 PM
|
1
|
0
|
1512
|
|
POST
|
Hi, "To use the Enrich tool, you must be signed in to ArcGIS Online, and your account must have GeoEnrichment privileges." Enrich toll uses credits. https://pro.arcgis.com/en/pro-app/2.7/tool-reference/appendices/geoprocessing-tools-that-use-credits.htm
... View more
06-08-2021
10:21 PM
|
0
|
0
|
1285
|
|
POST
|
Hi, Look at ArcGIS Pro samples: https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Editing/InspectorTool https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Editing/Inspector_AddAttributeAsync Both of them use Inspector EmbeddableControl. You can add it as UserControl to Dockpane or ProWindow
... View more
06-07-2021
11:00 PM
|
1
|
1
|
6410
|
|
POST
|
We have solved issue with GetCount by indexing primary table field.
... View more
06-07-2021
02:05 AM
|
0
|
0
|
2378
|
|
POST
|
Thank you for the information. I have another one issue related to "QueryTable" type table. GetCount from table takes about 40s on 3600 records when on the same structure of regular table it takes a moment to count rows. There is no difference to call GetCount or walk thru Search cursor and count records by myself. Is it specific to "QueryTable" or something wrong in implementation? P.s. I have found that my "QueryTable" isn't registered with the geodatabase. Could registration help me with performance issue?
... View more
06-04-2021
05:34 AM
|
0
|
1
|
2400
|
|
POST
|
Hi, I have "QueryTable" type table on enterprise database. I would like to calculate some statistics on it. CalculateStatistics method throws exeception "A geodatabase-related exception has occurred". The same code with exported to gdb table works fine. Does anyone have experience in working with statistics on QueryTable type tables?
... View more
06-03-2021
06:59 AM
|
0
|
6
|
2470
|
|
POST
|
Hi, Create your own conditions in daml following: https://developers.arcgis.com/documentation/arcgis-add-ins-and-automation/arcgis-pro/tutorials/manage-the-pro-ui-with-conditions/
... View more
05-25-2021
10:50 PM
|
0
|
1
|
3449
|
|
POST
|
Hi, Have you solved issue with "name 'm' is not defined"? I have the same situation as you
... View more
05-21-2021
01:31 AM
|
0
|
2
|
3740
|
|
POST
|
Hi, Just FYI: https://support.esri.com/en/technical-article/000005588#:~:text=Do%20not%20start%20field%20or,unsupported%20characters%20before%20using%20them.
... View more
05-17-2021
10:23 PM
|
1
|
0
|
2345
|
|
POST
|
Hi. My ArcGIS Pro version 2.7.3 I have tried different ways: 1. Override OnUpdate protected override void OnUpdate() { if (_isLogged) { Caption = "Sign out"; } else { Caption = "Sign in"; } } 2. On custom event private void onAuth(AuthorizationDataMessage msg) { if (msg != null && !string.IsNullOrEmpty(msg.AccessToken)) { Caption = "Sign out"; _isLogged = true; } else { Caption = "Sign in"; _isLogged = false; } } 3. Setting Plugin properties var plugin = FrameworkApplication.GetPlugInWrapper("my_autorization_Btn"); plugin.Caption = "Sign out"; I have tried with Esri button "esri_editing_SaveEditsBtn" too. Behaviour was the same
... View more
05-04-2021
09:40 AM
|
0
|
2
|
1850
|
|
POST
|
Hi, I have placed the same button to ribbon tab and menu for burger button. If I change caption of button in different workflows, button in ribbon reacts to changes, but button in menu reacts only to enable/disable. Is is possible to get the same button behaviour in menu?
... View more
05-04-2021
06:48 AM
|
1
|
4
|
1868
|
|
POST
|
Hi, Yes, It is possible to use treeview inside a dockpane. We use it in different projects but without checkboxes. But no matter with or without checkboxes. Something wrong is with your binding or templating. Share your xaml content if you need help. Sample here: https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Content/ContentFileExplorer
... View more
04-30-2021
05:21 AM
|
0
|
1
|
3238
|
|
POST
|
Hi, It looks like Pro only adds layer with unchecked visibility checkbox, I understand that it does not show in TOC. Sorry. 🙂
... View more
04-29-2021
07:05 AM
|
1
|
1
|
4604
|
|
POST
|
HI, I have checked right now. It works. Code below: var imageServiceUriVisibility = new Uri(path); var layerParamsVisibility = new LayerCreationParams(imageServiceUriVisibility) { //Set visibility IsVisible = false, }; // Creates a layer based on the url. In this case the layer we are creating is an image service layer. imageServiceLayer = LayerFactory.Instance.CreateLayer<ImageServiceLayer>(layerParamsVisibility, MapView.Active.Map); if (imageServiceLayer == null) { ArcGIS.Desktop.Framework.Dialogs.MessageBox.Show("Failed to create layer for url:" + path); return null; }
... View more
04-29-2021
06:58 AM
|
1
|
0
|
4606
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 04-24-2026 08:33 AM | |
| 1 | 03-23-2026 11:44 AM | |
| 1 | 05-22-2024 11:48 PM | |
| 1 | 02-27-2026 10:33 AM | |
| 1 | 01-07-2026 10:44 AM |
| Online Status |
Online
|
| Date Last Visited |
10 seconds ago
|