POST
|
Dear Raymond, I wanted to express my gratitude for your response. I wasn't aware that Esri had discontinued hosting the CND for dojo since 4.25. I visited the Dojo website and incorporated the "<script src="//ajax.googleapis.com/ajax/libs/dojo/1.14.1/dojo/dojo.js"></script>" into the body tag of the HTML in the source code. After running the application, I discovered that while there were fewer errors, some still persisted.
... View more
04-20-2023
09:55 AM
|
0
|
3
|
519
|
POST
|
Currently, I am developing a web GIS app in a .Net C# project using ArcGIS Maps SDK for JavaScript 4.24. I am interested in trying out the new "highlightIds" feature for the FeatureTable, which was introduced in ArcGIS Maps SDK for JavaScript 4.25. However, when I attempted to replace the relevant code in the source code (replace <link rel="stylesheet" href="https://js.arcgis.com/4.24/esri/themes/light/main.css" /> <script src="https://js.arcgis.com/4.24/"></script> with <link rel="stylesheet" href="https://js.arcgis.com/4.26/esri/themes/light/main.css" /> <script src="https://js.arcgis.com/4.26/"></script>), the app failed to load and returned errors (as shown in the attached image) indicating that certain online resources could not be found (404 Not Found Error). For example, while "https://js.arcgis.com/4.24/dojo/dojo.js" loaded without issue, "https://js.arcgis.com/4.26/dojo/dojo.js" was not found.
... View more
04-20-2023
08:59 AM
|
0
|
5
|
538
|
POST
|
Hi Helen, the feature service is published in our own GIS server, but we do have the tokenServiceUri together with the username and password. We stored the username and password in the proxy.config file. A sample code is shown below: --------------------------- <serverUrl url="https://XXX:6443/arcgis/rest/services/PWS/Public_Water_Service_Areas_Provisional" matchAll="true" username="XXX" password="XXX" tokenServiceUri="https://XXX:6443/arcgis/tokens/"> </serverUrl> ------------------------- I notice that the app which uses the GIS proxy can run without the login prompt on my local machine when I debug the code (https://localhost/apps/AppName/ ). But it throws the login prompt when I ran the app on the development version website(https://dev.XXX/apps/AppName ). So I am wondering if you modify any settings in the IIS or other places that I need to do the same to make it work. Thank you.
... View more
07-01-2020
01:01 PM
|
0
|
0
|
2043
|
POST
|
To encrypt the DotNet proxy.config file (I am using the Proxy from https://github.com/Esri/resource-proxy), I followed the steps "Define "proxyUser" and "prxyPwd" with the username and password in the appSettings in web.config. Then modify the proxy.ashx file - set usrName=ConfigurationManager.AppSettings["proxyUser"] and usrPwd=ConfigurationManager.AppSettings["proxyPwd"]; Then replace in proxy.ashx wherever there is username and password with the usrName and usrPwd." in the post ( https://community.esri.com/thread/29857). But after I made the code changes, I started seeing the prompt for the provisional layers. The Provisional layer is the editable layer. The application will connect through the GIS proxy to get the username and password to go and generate a token for the session and allows the application/editor to make and save changes to the layer. Instead of making a request with the proxy, the application seemed to be going directly to ArcGIS server and that is when the prompt would appear. I would greatly appreciate it if anyone could give me some suggestions. Many thanks, - Yang
... View more
06-09-2020
11:39 AM
|
0
|
0
|
395
|
POST
|
Hi Helen, I followed your steps. But after I made the code changes, I started seeing the prompt for the provisional layers. The Provisional layer is the editable layer. The application will connect through the GIS proxy to get the username and password to go and generate a token for the session and allows the application/editor to make and save changes to the layer. Instead of making a request with the proxy, the application seemed to be going directly to ArcGIS server and that is when the prompt would appear. Do you any idea of what causes the login dialog prompt? Many thanks. - Yang
... View more
06-09-2020
11:30 AM
|
0
|
2
|
2043
|
Online Status |
Offline
|
Date Last Visited |
03-18-2024
11:25 AM
|