POST
|
Hello Patrick, I've ArcGIS Enterprise 10.8 federated with ArcGIS Server. I've used the portal admin user to create an application with appld and appsecret. I have entered this info in the proxy.config file. I'm trying to access the map image layer item. When I'm trying to access this secure resource from 3rd party application (asp.net) I get a response "error 498: invalid token" when I look into the Network tab of Google Chrome. Can you help? Meghan Kulkarni
... View more
06-05-2020
10:05 AM
|
0
|
1
|
1217
|
POST
|
Hello Ben, I don't think I can use the OAuth protocol. The consuming application is based on ASP.NET. Here's an example request for obtaining Legend of a map https://<domain>/server/rest/services/SC/MapServer/0/images/4416e96c2b84a29886cd03bf8edb2fa9 Each Time I get 302 HTTP error code since it does not have token info. When I open a separate window it does resolve since I've access to this content. I believe the reason being ArcGIS server internally sets cookie 'agstoken' for each subsequent request. I verified this in the Cookies section in Chrome's Dev Tools. Is there a way to do this JavaScript? Thanks. Meghan Kulkarni
... View more
04-20-2020
02:02 PM
|
0
|
1
|
859
|
POST
|
Hello Ben, Thanks for your reply. Can you provide 3.x version API reference link, please? Meghan Kulkarni
... View more
04-20-2020
01:21 PM
|
0
|
3
|
859
|
POST
|
Hello, Is there a way to access available token in ArcGIS API for JavaScript so that it can be appended to each XMLHttpRequest? The issue here is whenever map's load dojo event triggers, I seeToken required (499) response after which ArcGIS JavaScript API internally creates token and appends it to each following XMLHttpRequest. A little bit of background. Portal for ArcGIS is federated with ArcGIS Server with Web Tier (IWA Authentication). Application consuming REST Services is ASP.Net. Thanks Meghan Kulkarni
... View more
04-20-2020
08:25 AM
|
0
|
5
|
959
|
POST
|
Nevermind. I found solution in the thread https://community.esri.com/thread/190913-making-request-synchronous
... View more
04-13-2020
11:25 AM
|
0
|
0
|
733
|
POST
|
Let me ask you in a bit of a different way. Is there a way to make esriRequest synchronous from default asynchronous? Thanks. Meghan Kulkarni
... View more
04-13-2020
11:10 AM
|
0
|
1
|
733
|
POST
|
Hello Robert, Basically I want to assign geotypeJson = response; as a consequence of esriRequest execution complete.
... View more
04-13-2020
07:22 AM
|
0
|
3
|
733
|
POST
|
Thanks Robert. Isn't my code in then function already? req.then(function (response) { debugger; geotypeJson = response; alert("Succeess"); }, function (error) { console.log(error.message); alert("ID Error"); });
... View more
04-13-2020
06:49 AM
|
0
|
5
|
733
|
POST
|
Hello, I have one issue in code which I could not figure out. I'm making esriRequest function. Code details: var req = EsriRequest({ url: lyrIdUrl, content: { f: "json" }, handleAs: "json", callbackParamName: "" }, { usePost: true }); req.then(function (response) { debugger; geotypeJson = response; alert("Succeess"); }, function (error) { console.log(error.message); alert("ID Error"); }); debugger; For some reason code followed by req.then executes first before what's code inside req.then (I added debugger to confirm this). Can someone help me understand why? Also, can someone help me fix it, please? I want to assign geotypeJson to response from lyrIdUrl. Meghan Kulkarni#
... View more
04-11-2020
08:18 PM
|
0
|
7
|
859
|
POST
|
Hello Derek, Is their a way to retrieve this account's password or reset it? I lost it. I'm trying to upgrade my server to 10.8 but I can't since I lost this password. Thanks Meghan Kulkarni
... View more
03-01-2020
09:34 PM
|
0
|
2
|
1030
|
POST
|
Hello Jonathan, Can help with what's str in function openURL()? this line to be precise? encoded_params = str.encode(urllib.urlencode(params))
... View more
01-02-2019
08:17 AM
|
0
|
2
|
4843
|
Title | Kudos | Posted |
---|---|---|
2 | 06-06-2018 11:13 AM | |
1 | 12-12-2018 01:24 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|