POST
|
Great – this is still the same behavior in ArcGIS Pro 3.2.0
... View more
01-22-2024
08:56 AM
|
0
|
0
|
73
|
POST
|
In case somebody is interest: Our customer reported this issue to Esri support and it now has an official bug number: BUG-000162862: Message "Cannot evaluate expression because the current thread is in a stack overflow state." happens while debugging certain variables in threads in ArcGIS Pro SDK 3.1 Our customer currently does not plan to escalate this issue. Nevertheless, if you contact Esri support and let yourselves be add to the list of customers effected by this issue, maybe Esri decides to put a fix for it into ArcGIS Pro 3.1.
... View more
11-13-2023
01:46 AM
|
0
|
0
|
553
|
POST
|
Hi @Wolf , Please add me to the list of people who need a 3.1 patch for the issue "Cannot evaluate expression because the current thread is in a stack overflow state." Cheers, Ralf P.S.: Würde es helfen, wenn ich den Wunsch auf deutsch wiederhole? 😉
... View more
11-08-2023
11:42 AM
|
1
|
1
|
627
|
POST
|
Hi Rich, I just ran into this thread with a similar question. Your answer is valid for the OP's question but in my case I need to get the names of all annotation feature classes in the GDB. Here, your approach would mean that I have to hydrate each FeatureClass only to find out if it is an AnnotationFeatureClass or not. As there are no alternatives, I will go for that. However, maybe you guys can add an "IsAnnotationFeatureClass" property to the FeatureClassDefinition object, or – even better – make Geodatabase.GetDefinition<AnnotationFeatureClassDefinition>("myAnnotation") and Geodatabase.GetDefinitions<AnnotationFeatureClassDefinition>() work.
... View more
06-15-2023
03:21 AM
|
0
|
0
|
292
|
IDEA
|
Hi Esri, Nearly all SDKs have their own board in the "Developers" board. However, the "Enterprise SDK" does not. Currently, people post their Enterprise SDK questions in the "ArcObjects" board. While that makes sense from the inheritance of the SDK it does not quite hit the mark. Therefore, I suggest creating a new board "Enterprise SDK". Thanks, Ralf
... View more
03-17-2023
06:28 AM
|
0
|
1
|
451
|
IDEA
|
In the last two years we developed a few dozens of attribute rules. Some of them are really fancy. But the test rule I have for this bug (or whatever it is) is really simple. It's connected to a field that simply get's a copy of a value of another field. The whole expression is like this: $feature.SOME_FIELD. So, not much room for doing mistakes here. What's really strange: We are running the floors with this issue for month and you are the first person I had contact with where the attribute rule is triggered using "Add Selected To Relationship". But it looks like there are no significant differences between your and our case. I hope for ArcGIS Pro 3. Maybe it heals our problem.
... View more
02-23-2023
04:03 PM
|
0
|
0
|
2015
|
IDEA
|
Hi Sean, Thanks for your fast and extensive answer. Yes, our rule is supposed to run in the UPDATE case and, yes, we are using "Add Selected To Relationship". But I forgot to mention that our data is branch versioned and therefore, we have to edit the data using a feature service. What kind of data do you have? Service, File Geodatabase, or Enterprise Geodatabase (= SDE)? Ralf
... View more
02-23-2023
03:20 PM
|
0
|
0
|
2022
|
IDEA
|
Hi @Sean_Haile, We are facing the same issue as @Jan_Creupelandt : The "update" attribute rule is not triggered when the foreign key is set using the context menu item "Add Selected To Relationship" from the "Attributes" dock pane. By contrast, if we establish the relationship by copying the parent's ID into child record using the table view, the attribute is triggered. This behavior is on ArcGIS Pro 2.9.5. We currently do not have any machine with ArcGIS Pro 3.x. Therefore two questions: 1) Do you establish the relationship by "Add Selected To Relationship" or by copy'n'pasting the ID? 2) What version of ArcGIS Pro do you use? Ralf
... View more
02-23-2023
02:27 PM
|
0
|
0
|
2034
|
POST
|
Hi @HåkonDreyer , according to the thread https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-sdk-updating-the-same-attribute-on/m-p/851203/highlight/true#M4248, there is no way to get the sessionID in Pro. I need it for a similar issue: Roads&Highways (aka Location Referencing) has no API inside Pro. Therefore, we need to implement customizations using R&H's REST API. But without the sessionID things get mixed up.
... View more
06-10-2022
09:51 AM
|
0
|
0
|
983
|
POST
|
Thanks for sharing this information with me, though it is very sobering. I fear I will need to put any debug message into a string attribute of the feature being edited.
... View more
05-20-2021
11:16 AM
|
1
|
1
|
5986
|
POST
|
I have the very same problem, i.e. returning an "edit" dictionary with null values does not work because null is converted to 0.
... View more
05-19-2021
04:10 AM
|
0
|
0
|
925
|
POST
|
In the meantime I tried the following: I used SysInternals's program "DbgView" to check if the messages go there. I started Pro from the command line. But no message appear there. I got so desperate that I actually looked at the "Python Window" and the "Geoprocessing History". Of course with no success. Common, Esri staff! Please at least tell me that these messages go nowhere. (And if so, please tell me how do you debug Attribute Rules.)
... View more
05-17-2021
08:44 AM
|
2
|
0
|
6015
|
POST
|
In ArcGIS Pro, when I use Arcade in an Attribute Rule or in a Label Expression, where do I see the messages I create using the "Console()" function?
... View more
05-12-2021
09:44 AM
|
1
|
8
|
6073
|
POST
|
Hi Cheryl, Thanks for your answer. I double-checked the layer list a number of times. Actually, to make sure the list is not the problem, I replaced it with hard-coded paths to the feature classes. Unfortunately, the behavior stayed the same. I feared that I would need to contact Technical Support. Creating a repro case would essentially mean writing a new minimal AddIn that shows the problem. Ralf
... View more
12-09-2020
12:31 PM
|
0
|
0
|
657
|
POST
|
I narrowed down a strange problem with an Add-In I'm currently writing. Maybe, someone can help: Summary I created a use-case-specific UI for the users to checkout data for editing in the field. When the user hits my "Run" button I call the GP-Tool management.CreateReplica to actually create the checkout-FGDB. This works fine as long as the user did not edit – in the same ArcGIS Pro session – any non-versioned feature class or table from the same workspace as the layers to be checked out. In Detail Code for Calling the GP-Tool private static async Task RunCheckoutGpTool(
FeatureLayer checkoutAreasLayer,
IList<MapMember> layersAndStandAloneTables,
string replicaName,
Geodatabase targetFgdb,
CancelableProgressor cancelableProgressor)
{
var parameters = Geoprocessing.MakeValueArray(
layersAndStandAloneTables, // Layers and tables to be checked out
"CHECK_OUT", // Replication type
targetFgdb.GetPath().LocalPath, // out_geodatabase
replicaName, // Replica Name
"FULL", // access_type
null, // initial_data_sender
"USE_DEFAULTS", // expand_feature_classes_and_tables
"DO_NOT_REUSE", // reuse_schema
"GET_RELATED", // get_related_data
checkoutAreasLayer); // Replication area
IGPResult gpResult = await Geoprocessing.ExecuteToolAsync(
"management.CreateReplica", parameters, null, cancelableProgressor);
if (gpResult.IsFailed)
{
throw new Exception("Error executing Geoprocessing tool \"CreateReplica\":↵\n "
+ string.Join("↵\n ", gpResult.ErrorMessages));
}
} Note: checkoutAreasLayer is a polygon layer for which I assured that only a single feature is selected. Some Observations Closing the project (by choosing "New" and "Start without a template" in Pro) and reopening the project heals the problem, i.e. my code runs without error and creates the Checkout datasets in the FGDB. The problem does not occur if only a versioned feature class or table from the same workspace was edited before the call to the GP tool. The problem does also not occur if a feature from an FGDB feature class was edited before. As a test, I edited data of a non-versioned feature class in an Add-In instead of through Pro's UI. If I use the EditOperation class for that it results in the same problem. If I instead edit a feature directly and call Store() then I don't have problem, i.e. I still can successfully call the GP tool. Using the "Create Replica" GP tool directly using the Pro UI never fails, i.e. calling the very same GP tool from the Add-In fails while calling it without custom code works. Error message received <msg code=\"782\" type=\"100\">ERROR 000782: Read only data or unversioned data cannot be checked out. Full versioning is required for all replica data.</msg> <msg code=\"-2147467259\" type=\"100\">Failed to execute (CreateReplica).</msg> This message makes no sense to me because all feature classes and tables to be checked out are versioned and writable. Moreover, the same GP tool called directly using Pro's UI works fine (as mentioned in previous section). Environment I tested the Add-In on two machine. The problem is reproducible on both: my development machine as well as in the test environment: Development: Windows 10 (Version 10.0.18363.1198) ArcGIS Pro 2.6.3 SQL Server 2014 Express Database (Version 2014.120.6118.4, i.e. current patch level) Test: Windows Server 2019 (VM using Microsoft Hyper-V Server 2019) ArcGIS Pro 2.6.3 SQL Server 2019
... View more
12-09-2020
06:54 AM
|
0
|
2
|
757
|
Title | Kudos | Posted |
---|---|---|
1 | 11-08-2023 11:42 AM | |
2 | 05-17-2021 08:44 AM | |
1 | 05-20-2021 11:16 AM | |
1 | 05-12-2021 09:44 AM | |
1 | 01-08-2018 09:59 AM |
Online Status |
Offline
|
Date Last Visited |
01-22-2024
04:58 PM
|