|
POST
|
Helen, The only supported assemblies in CoreHost applications are `ArcGIS.Core.dll` and `ArcGIS.CoreHost.dll`. More detailed instructions for creating CoreHost applications can be found here. --Rich
... View more
04-27-2023
02:39 PM
|
0
|
0
|
2630
|
|
POST
|
Glad to hear it, Joe. Good luck figuring out the M issues. Take care, --Rich
... View more
04-15-2023
10:26 AM
|
0
|
0
|
666
|
|
POST
|
Hi Joe, This should be a simple task, and I cannot see anything wrong with the code you have provided. Do you have access to fiddler? Could you compare the REST request packet between this call and a call to validate generated in Pro (using a similar feature)? In particular, are the extent coordinates similar? The only thing I can think of is that the coordinates you are passing in are using a different spatial reference than the utility network... --Rich
... View more
04-14-2023
12:18 PM
|
1
|
1
|
704
|
|
POST
|
Hi Cory, It was nice to see you in Palm Springs this year. There are no application or editor dependencies for using attribute rules. They fire automatically whether you're using Pro, JavaScript, Native Maps SDK, or REST. They are fired automatically- no need to change your client code. I hope this helps! --Rich
... View more
04-07-2023
08:36 AM
|
0
|
1
|
539
|
|
POST
|
Thanks for the info. I want to add information about attribute rule schema to the Pro SDK at some point, but editing them would probably be farther out. This isn't an ideal solution, but both of these can be accomplished via Python: Schema: https://pro.arcgis.com/en/pro-app/latest/arcpy/functions/attribute-rule-properties.htm Editing: https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/an-overview-of-the-attribute-rules-toolset.htm I don't know about calling the Describe function (for schema information) from Pro, but the tools can be called directly from the Pro SDK using the geoprocessing API. --Rich
... View more
02-23-2023
04:31 PM
|
0
|
0
|
946
|
|
POST
|
You are correct- there is no current access to attribute rule schema in the Pro SDK. Is there anything in particular that you are looking for? --Rich
... View more
02-20-2023
10:57 AM
|
0
|
2
|
989
|
|
POST
|
Hi Jens, Thanks for letting me know- that's interesting information. We can take a look and see if this is something we can support in the future. For now, your work-around is probably the best solution. --Rich
... View more
01-25-2023
08:50 AM
|
0
|
0
|
1450
|
|
POST
|
If you can post your editing code fragment here, I can see if anything looks weird, but we haven't seen anything like this before, and you may need to submit this to technical support for further analysis. Sorry I'm not much help. --Rich
... View more
01-10-2023
04:30 PM
|
0
|
2
|
1511
|
|
POST
|
I'm not sure I understand the question. You could read the connection string from a registry key or configuration file or something like that (please don't store a password there 😀). There's no problem connecting to a single geodatabase multiple times through the Pro SDK. The underlying code will share a single connection. --Rich
... View more
01-10-2023
03:35 PM
|
1
|
0
|
941
|
|
POST
|
Hi Jens, What kind of database are you using? Are you editing in a CoreHost app or a Pro add-in? Thanks, --Rich
... View more
01-10-2023
10:25 AM
|
0
|
1
|
1522
|
|
POST
|
SQL Server, Oracle, Postgres, etc. are all sql databases. Which one are you using?
... View more
01-05-2023
09:16 AM
|
0
|
0
|
1438
|
|
POST
|
I would start by fixing the syntax error, as pointed out by @KenBuja. I suspect the problem here is a bad error message. What kind of database is this? --Rich
... View more
01-05-2023
09:04 AM
|
0
|
2
|
1455
|
|
POST
|
Hi Mody, I'm not an expert on editing events, so I cannot really comment on your code. Just wanted to ask if you'd had a chance to look into attribute rules? These are rules written in Arcade script that fire during the editing process. You can write constraint rules, which allow checks to take place before an edit is accepted, and calculation rules, which fill in data values. It sounds like a perfect match for your requirements, although there many be other circumstances which prevent them from working for you. --Rich
... View more
12-01-2022
07:32 AM
|
0
|
0
|
1477
|
|
POST
|
Hi, If you are taking this sequence value and writing it into a database field, you might think about using attribute rules. Attribute Rules are short scripts that run during editing can be used to fill in a value. They are written using Arcade, which provides a built-in cross-platform sequence function. That said, if this doesn't work or you want to continue with your current technique here's how. First, use DatabaseClient.Execute statement to generate the next sequence value and write it into a temporary table. SELECT NEXT VALUE FOR sequencename as VALUE INTO ##temptbl; Second, use Geodatabase.Evaluate to read the value from the temporary table and return it back to your application SELECT value from ##temptbl Please let me know if this works. Thanks, --Rich
... View more
11-30-2022
11:32 AM
|
0
|
1
|
2244
|
|
POST
|
Hi Rejean, You cannot use the Pro SDK to add new coded values to a domain- Python is the answer for now. The good news is that we'll be adding this capability in Pro 3.1, targeted for Q1 2023. --Rich
... View more
10-25-2022
04:06 PM
|
0
|
3
|
2127
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-17-2025 08:47 AM | |
| 1 | 08-12-2022 01:35 PM | |
| 1 | 06-28-2018 04:25 PM | |
| 1 | 07-19-2019 03:10 PM | |
| 1 | 05-29-2024 12:07 PM |
| Online Status |
Offline
|
| Date Last Visited |
3 weeks ago
|