POST
|
Hello Erwin, I found the solution to the problem. I was using a user of type "Viewer" to do the edits to the feature layer. After changing the user type to "Creator" the app worked fine. However, it was confusing seeing errors in the log that said the MapServer was being edited. And I am still not sure why it worked from AppStudio when the user was of type Viewer. Thank you for your help. Gilroy
... View more
04-29-2020
10:02 AM
|
2
|
1
|
1502
|
POST
|
Hi Erwin, I have a basic runtime license. I removed the license key from the AppSettings in AppStudio and I uploaded the app again. I changed the settings in AppStudio Player to use the ArcGIS Runtime Developer Mode license and restarted the player. When running the app, I see the "license for developer use" watermark. But the application does not save the edit. And I still get the same error in server manager log. Any idea why it is trying to edit MapServer instead of the FeatureServer? Gilroy
... View more
04-23-2020
02:31 PM
|
0
|
3
|
1502
|
POST
|
I created a scaled down version of the app with credentials to access the feature layer hard-coded in the app (credentials of another user, not mine, who is part of the group that has access to the feature service). I noticed that when I run the app through AppStudio on my desktop, the app works fine and I can edit features and the changes are saved. But after uploading the app through AppStudio and running it through AppStudio player from my smartphone, the edits are not being saved and the errors show up in the log that says that the capability is not supported and the source of the error is the MapServer not the FeatureServer. Any idea as to why this is happening? What am I doing wrong? Gilroy
... View more
04-23-2020
12:00 PM
|
0
|
5
|
1502
|
POST
|
This is an app I created by modifying the Add & Delete features sample. The app does not contain any url for the MapServer. It only has the url for the FeatureServer. Here is a snippet for the ServiceFeatureTable: // declare as child of feature layer, as featureTable is the default property ServiceFeatureTable { id: featureTable url: app.info.propertyValue("hydrantUrl", "") //This is the url to the featureserver // make sure edits are successfully applied to the service onApplyEditsStatusChanged: { if (applyEditsStatus === Enums.TaskStatusCompleted) { console.log("successfully added feature"); } } // signal handler for the asynchronous addFeature method onAddFeatureStatusChanged: { if (addFeatureStatus === Enums.TaskStatusCompleted) { // apply the edits to the service featureTable.applyEdits(); } } } }
This is the error in the Server manager log before giving the user access to the MapServer.
At this time the user had access only to the FeatureServer.
WARNING Apr 21, 2020, 12:13:19 PM A request was made for service 'PropertyFacts/PropertyFactsHydrantsEdit.MapServer' but it did not have adequate credentials. Admin This is the error in the Server Manager Log after giving the user access to the MapServer. SEVERE Apr 22, 2020, 11:55:12 AM The requested capability is not supported. PropertyFacts/PropertyFactsHydrantsEdit.MapServer 17127 applyEdits
... View more
04-22-2020
01:03 PM
|
0
|
6
|
1502
|
POST
|
I am writing an app using AppStudio for ArcGIS. The app accesses a FeatureServer and allows the user to add, move or delete features. The app works fine when I use it. The featureserver is loaded using a ServiceFeatureTable and a url to the feature service. However, when other users use the app, I see errors in the ArcGIS Server manager log that look like the app is trying to access the MapServer instead of the FeatureServer. So the features are not showing up on the map. The user has permission to access the FeatureServer but not the MapServer. After giving the user access to the MapServer, the features show up on the map. But when the user tries to edit a feature, an error shows up in the log saying "the requested capability is not supported" because it is trying to edit the MapServer not the FeatureServer. Any idea why it is accessing the MapServer instead of the FeatureServer for other users?
... View more
04-22-2020
12:33 PM
|
0
|
8
|
1661
|
POST
|
Hi Mark, Did you find a way to resolve this issue? I am also experiencing this same behavior with the javascript api when accessing secured map services. How did you fix this problem? Thank you. Gilroy
... View more
02-12-2020
02:42 PM
|
0
|
1
|
560
|
POST
|
I am getting the following error with connecting to ArcGIS Server 10.4 using the arcgis python api 1.6.2 with python 3.6.6: UnboundLocalError: local variable 'resp' referenced before assignment
Is there a fix for this issue?
... View more
07-10-2019
09:15 AM
|
0
|
1
|
793
|
Title | Kudos | Posted |
---|---|---|
2 | 04-29-2020 10:02 AM |
Online Status |
Offline
|
Date Last Visited |
03-16-2023
12:42 AM
|