POST
|
Perfect, thanks very much for confirming! This is exactly what we are looking for.
... View more
08-13-2020
01:40 PM
|
0
|
0
|
631
|
POST
|
I am working on an addin where all data editing in Pro is done through custom forms. We want to display attribute tables but they need to be read-only. The plan therefore is to hide the out-of-the-box Attribute Table functionality and build a custom panel which will display attribute tables using multiple TableControls. We have tested TableControlSample from community samples and it does what we want. The data, both from enterprise and file geodatabases, cannot be edited in the TableControl. That said, the control comes from the Editing namespace which makes us wonder if editing is possible under certain scenarios. Does TableControl always present a read-only view of feature layer or table attributes? If it does allow editing what are the conditions, and is there a way to always prevent editing? Thanks!
... View more
08-11-2020
03:29 PM
|
0
|
2
|
741
|
POST
|
Thanks Charles! I saw the snippet but overlooked the GetRelatedDefinitionsMethod.
... View more
06-26-2020
10:53 AM
|
0
|
0
|
2740
|
POST
|
Please note that I am trying to achieve this in Pro SDK, not Python.
... View more
06-25-2020
06:48 PM
|
0
|
1
|
2740
|
POST
|
Given a geodatabase and a feature dataset name, what is the proper way to get the names of all feature classes contained in the feature dataset? I can get the list of FeatureClassDefinitions of all feature classes in the geodatabase, open each feature class, call GetFeatureDataset method and see if the feature dataset name of the feature class matches the input feature dataset name. This looks like a very costly operation though. Thanks.
... View more
06-25-2020
05:36 PM
|
0
|
5
|
2852
|
POST
|
Found the answer myself. Open the addin project file (*.csproj) in a text editor and add the lines below between the Project tags. This forces the compilation of the addin as a configuration (*.proConfigX). <PropertyGroup> <PackageType>Configuration</PackageType> </PropertyGroup>
... View more
06-02-2020
11:07 AM
|
0
|
0
|
211
|
POST
|
Is there a quick way to convert a Pro Addin to a Pro Configuration? I would like to modify an existing addin project instead of creating a new configuration project and copying addin files to it. I have added a configuration module to the addin project (with splash screen and other pages set to null) and referenced it in config.daml. If what I want to achieve is at all possible, what are the next steps? Thanks!
... View more
05-29-2020
11:58 AM
|
0
|
1
|
240
|
POST
|
I have built a custom Pro tool which allows to click the map twice to define a rotation angle and apply it to features with a symbology rotation field. I would like to enable snapping when the tool is activated, the same way the out-of-the-box Measure tool works. Any idea how this can be implemented? Thanks.
... View more
03-02-2020
12:32 PM
|
0
|
2
|
282
|
POST
|
Is there an event that is raised when a feature layer "selectable" status changes in a Pro map? Or is there perhaps a more general event which fires when any layer property changes? I have a custom panel with a list box that allows to control selectable status for a predefined set of layers, and this list needs to be in sync with the default "List by Selection" in Pro TOC. Thanks.
... View more
09-17-2019
01:28 PM
|
0
|
2
|
433
|
POST
|
Charles, thanks very much for the detailed explanation, it confirms my suspicions.
... View more
09-10-2019
10:50 AM
|
0
|
0
|
817
|
POST
|
More information on this: I tried explicitly making my edit operation short, and now I am getting an error when executing the edit operation: 'Error writing features to *** feature class: Edit operation failed. This edit failed because a short edit operation cannot be performed on versioned data.' I do have a few enterprise geodatabase feature layers in the map, but the feature class I am editing comes from a file geodatabase. Is it because the edit operation automatically spans all the workspaces being accessed (enterprise geodatabase through the map layers and file geodatabase as I am editing a feature class from it)?
... View more
09-09-2019
07:12 AM
|
0
|
2
|
817
|
POST
|
I have created a Pro addin and a button which creates a feature class in a file geodatabase and then writes features into it. The features are created with a callback as per https://github.com/Esri/arcgis-pro-sdk/wiki/ProSnippets-Geodatabase#creating-a-feature. All the geoprocessing calls are using the GPExecuteToolFlags.None flag so no output is being added to the map. The code runs successfully but no features are written into the feature class. When I close Pro, I get the "Do you want to save the edits?" prompt, and if I click Yes, the features do appear in the feature class. It looks like the edits are being added to the Pro edit stack. Should this be happening when I am using the callback to create features? How can I have the edits saved automatically? Thanks.
... View more
09-06-2019
01:10 PM
|
0
|
3
|
965
|
POST
|
Thanks Uma. If the Customize QAT button cannot be removed, is it possible to remove the "More Commands" and "Customize the Ribbon" items from the QAT menu? We want to lock the UI and not let the users make any changes to it.
... View more
08-12-2019
11:11 AM
|
0
|
2
|
690
|
Title | Kudos | Posted |
---|---|---|
1 | 10-29-2020 09:04 AM | |
1 | 08-19-2020 06:19 AM | |
1 | 08-08-2019 01:13 PM | |
1 | 03-23-2018 11:26 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|