|
POST
|
Thank you, that worked for me. I had to remove the client secret too.
... View more
10-30-2023
08:24 AM
|
0
|
0
|
3192
|
|
POST
|
When I call var credential = await Esri.ArcGISRuntime.Security.AuthenticationManager.Current.GenerateCredentialAsync(new Uri(url)); I get Esri.ArcGISRuntime.Http.ArcGISWebException: 'Unable to generate token.'
... View more
10-24-2023
06:15 AM
|
0
|
0
|
3250
|
|
POST
|
I use the ArcGISLoginPrompt class not the AuthenticationManager. Like on the ArcGIS.WPF.Samples.OAuth exemple. Works fine there but everything I tried in my own project won't work. The ArcGISLoginPrompt is built to prompt if needed. Buty it won't.
... View more
10-24-2023
05:34 AM
|
0
|
1
|
3253
|
|
POST
|
I have exactly the same problem. I modified the sample to use a Feature Layer posted in our ArcGIS Online Organization. And everything works well. The login prompt appears when it hits that line: PortalItem portalItem = await PortalItem.CreateAsync(arcgisPortal, WebMapId); Then I created my own app. .Net 6, I do the register key, the ArcGISLoginPrompt.SetChallengeHandler (I copied the whole class in my test project).. When I hit the same line, the login prompt does not appear but instead I get: Esri.ArcGISRuntime.Http.ArcGISWebException: 'You do not have permissions to access this resource or perform this operation.' The only thing different I can see are the projects that runs that code. Like in mine I can't add the nuget package Esri.ArcGISRuntime.LocalServices. I don't know if it`s necessary. I'm really looking forward to an explanation to this. I spent all day compararing ans searching a solution to that..
... View more
10-23-2023
01:24 PM
|
0
|
0
|
2697
|
|
POST
|
Relationship classes are still read only! Come on! Nobody has a solution to that simple problem and essential feature??
... View more
05-29-2023
08:38 AM
|
0
|
0
|
365
|
|
POST
|
It was working great for our addin for a while. Now our custom embedded toolbox is not showing anymore in the toolboxes list. Everything is there, when de AddIn is registered in arcgis pro the toolbox is copied at the right place C:\Users\xxxxxxx\AppData\Local\ESRI\ArcGISPro\Toolboxes\{ad4727d9-54c4-4b77-8c0a-1dd300e409ea}\toolboxes The toolbox though works fine since If I add it manually in the project I can use all the tools in there. But why the toolbox is not showing in the list? How can I refresh the Geoprocessing Tools List? Please help.
... View more
08-03-2022
09:46 AM
|
0
|
1
|
4315
|
|
POST
|
Just run this script (replace the 3rd line by your database sde file. Then add data in both tables and try to add a record in rel_Cars_CarColors. It's read only.. import arcpy
import sys
gdb = 'YOUR SDE PATH FILE HERE'
arcpy.env.workspace = gdb
resObj = arcpy.CreateTable_management(gdb, 'Cars')
tbl = resObj.getOutput(0)
arcpy.AddField_management('Cars', 'Make', 'TEXT', field_length=250, field_alias='Make', field_is_nullable='NON_NULLABLE', field_is_required='REQUIRED')
arcpy.AddField_management('Cars', 'Model', 'TEXT', field_length=250, field_alias='Model', field_is_nullable='NON_NULLABLE', field_is_required='REQUIRED')
arcpy.AddField_management('Cars', 'Year', 'LONG', field_alias='Year', field_is_nullable='NON_NULLABLE', field_is_required='REQUIRED')
resObj = arcpy.CreateTable_management(gdb, 'CarColors')
tbl = resObj.getOutput(0)
arcpy.AddField_management('CarColors', 'ColorName', 'TEXT', field_length=250, field_alias='Color Name', field_is_nullable='NON_NULLABLE', field_is_required='REQUIRED')
arcpy.AddField_management('CarColors', 'ColorCodesRGB', 'TEXT', field_length=6, field_alias='RGB', field_is_nullable='NON_NULLABLE', field_is_required='REQUIRED')
arcpy.CreateRelationshipClass_management(origin_table='Cars', destination_table='CarColors',
out_relationship_class='rel_Cars_CarColors',
relationship_type='SIMPLE', forward_label='AvailableColors', backward_label='Cars',
message_direction='Both', cardinality='MANY_TO_MANY', attributed='ATTRIBUTED',
origin_primary_key='OBJECTID', origin_foreign_key='CarId',
destination_primary_key='OBJECTID', destination_foreign_key='CarColorId')
tbl = 'rel_Cars_CarColors'
arcpy.AddField_management('rel_Cars_CarColors', 'Status', 'SHORT', field_is_nullable='NON_NULLABLE', field_is_required='REQUIRED')
... View more
08-01-2022
11:01 AM
|
0
|
0
|
2696
|
|
POST
|
Tried everything with UploadServiceDefinition_server, the service definition makes it to the server anything involving sharing is ignore. My service definition is always availeble to me only.
... View more
08-01-2022
07:57 AM
|
0
|
0
|
391
|
|
POST
|
I've created 2 simple stand alone tables. Clients & Orders. Clients: ObjectId, Name, FirstName, Email Orders: ObjectId, ClientId, OrderDate Then I created an attributed Relationship Class between the 2. Like many client can have many orders.And added a IsShipped (short) field to it. I add a client manually, then I do the same for the Orders table where I set the apporiate ClientId. Now I want to manually add an entry in the relationship class, but it's read-only. I don't understand why. We were doing this easily a few months ago and it was working great. Of course we were doing it programatically in a more complexe data model than that but we hit that problem and we are trying to isolate the problem. This is the smaller we came up with. Why can't we add relationship data? Why is it read only?? Please help
... View more
08-01-2022
07:10 AM
|
0
|
2
|
2744
|
|
POST
|
Looks like it's still a bug. I use ArcGis 2.9 and I have the same problem.
... View more
04-25-2022
12:21 PM
|
0
|
0
|
975
|
|
POST
|
Hello, We have one polyline layer (pipes) and 3 point layers. We want to create a topology that will enforce that all pipes endpoints are connected to any point of one of the 3 layers. Meaning we would have a topology with those 3 rules: Endpoint Must Be Covered By (Line-Point) -> pipe, pointLayer1 Endpoint Must Be Covered By (Line-Point) -> pipe, pointLayer2 Endpoint Must Be Covered By (Line-Point) -> pipe, pointLayer3 But we want the topology to be valid if at least one of those rule is satisfied. Like to have a OR logical operator between each rule. Is it possible? Thank you
... View more
04-13-2022
09:14 AM
|
0
|
1
|
1344
|
| Title | Kudos | Posted |
|---|---|---|
| 4 | 11-19-2024 11:13 AM | |
| 1 | 03-05-2024 11:13 AM |
| Online Status |
Offline
|
| Date Last Visited |
03-18-2025
08:24 PM
|