Hi,
I'm having issues editing my feature service through a custom web app created with the developer version of web app builder.
I have a feature service in ArcGIS server, which I've added to my Portal as a feature layer, and then added to a web map. I can edit everything at this point without any errors, creating and updating features.
I can create an app in Portal, and still be able to edit everything without any issues.
As soon as I add this web map to an app built in the developer version of Web App Builder, using the standard edit widget. If I try and create or edit features I get 401 Unauthorized errors in Web AppBuilder:
"POST https://mymachine.domain.local:3344/proxy.js?https://arcserver.domain.local/arcgis/rest/services/Tes... 401 (Unauthorized)"
And when I deploy the app to a web server I get this error:
"XMLHttpRequest cannot load https:/?https://arcserver.domain.local/arcgis/rest/services/Test/TEST_Edits/FeatureServer/0/applyEdits. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource."
I'm using Windows authentication in both ArcGIS server and Portal with no signing in required. I can see all my content in the Web AppBuilder, including secured services. I have set up all my sites to use windows authentication in IIS and added CORS settings to every web.config file I can find (portal web adapter, arcgis server web adapter, and my app).
Is there anywhere I can look for logs files that might indicate why I can't edit from my custom web apps?
Does anyone know how can I get my custom Web Apps to work with my feature services?
Thanks
Andy