|
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
|
1569
|
|
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
|
2761
|
|
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
|
2822
|
|
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
|
1458
|
|
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
|
2833
|
|
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
|
2777
|
|
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
|
2794
|
|
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
|
2212
|
|
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
|
3485
|
|
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
|
3582
|
|
POST
|
One thing you might consider is whether you can use attribute rules to generate the sequence. If you want to stick to the way you are doing it, you might create a registered view on the sequence table. Then you would add that view to your publishing map and republish it with your service. I hope this helps, --Rich
... View more
10-25-2022
04:04 PM
|
0
|
0
|
1235
|
|
POST
|
You'll probably get more responses if you move this to the ArcGIS Python forums. This is for C#
... View more
09-30-2022
09:38 AM
|
1
|
0
|
1037
|
|
POST
|
Hi Anete, When you publish a web map with a utility network layer in it, the utility network information is stored in the web map, but it does not show up as a separate layer. It's possible to view dirty areas, but it takes a little bit of extra work. You have to add the dirty area layer as a separate layer to your web map. Here's how to do this in ArcGIS Pro: 1. Right-click on the utility network layer in your Pro map, and bring up layer properties. Go to the source tab: Copy the Location information, as well as the dataset id (23 in the example above). 2. Exit out of that dialog and go to the Add Data tool and choose Data From Path 3. Fill in the path with the web service that you found in step 1. Add a "/" to the end, and the layer id of the dirty area layer- this should be 1 more than the Dataset ID of the utility network itself. My example above had 23, so in this case the number would be 24: 4. In the table of contents, you'll see both the utility network layer, plus the Dirty Area layer you just added: 5. If you publish this from ArcGIS Pro, you should be able to see the dirty areas in Field Maps. This isn't an acceptable user interface for what should be a common workflow. We are discussing better options to make this automatic when publishing from ArcGIS Pro, and make it an option in the Enterprise Map Viewer. Hopefully this will get you working in the meantime. Let me know if you encounter any more issues. --Rich
... View more
09-01-2022
01:54 PM
|
1
|
0
|
3380
|
|
POST
|
Hi Anete, The Map Viewer in Portal doesn't yet work with utility network layers or subtype group layers. This is why you have to use ArcGIS Pro to create and publish your webmap. After it's been published to the Portal you can open and use it with Field Maps. I hope this helps, --Rich
... View more
08-30-2022
09:24 AM
|
0
|
0
|
3422
|
|
POST
|
The schema locks error is expected. When you edit a version by calling the REST endpoint, it creates a write lock, since only one connection can be editing at a time. What I am trying to understand is why it takes so long to call update all subnetworks from the SDK. If we can fix that problem then you'll be able to use the SDK instead of the REST endpoint, and the schema locks problem will be solved. --Ric
... View more
08-26-2022
08:28 AM
|
0
|
0
|
7131
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-13-2024 11:22 AM | |
| 2 | 01-29-2026 09:34 AM | |
| 2 | 01-28-2026 08:20 AM | |
| 1 | 12-10-2025 09:15 AM | |
| 2 | 11-30-2025 12:23 PM |
| Online Status |
Offline
|
| Date Last Visited |
Friday
|