We are customizing the Quick Report template for based on our requirement ( AppStudioForArcgis v2.1.19). Here we are using Secured feature service. Is it possible here to create/enable proxy settings (QT QML code).
The following two places we are doing changed and checking the application . but we couldn't succeed.
1. "proxyFilter": null,2. //Securityproperty string username:property string password:
We are using first time App studio ,needed experts advice , Thanks
I managed to get this one working with the Quick Report: GitHub - Esri/resource-proxy: Proxy files for DotNet, Java and PHP. I added a new property in the appinfo.json file for the proxy URL. And then edited QuickReportApp.qml to force the use of the proxy:
//property string featureServiceURL: app.info.propertyValue("featureServiceURL","")
property string proxyURL: app.info.propertyValue("proxy","")
property string featureServiceURL: proxyURL + "?" + app.info.propertyValue("featureServiceURL","")
The username and password are stored inside of the proxy.