POST
|
I wonder if it's possible at all for another person to set his API Key so that I can add his private layer to my 3D scene (or 2D map) which I create in my browser (or in my ArcGIS Pro)? What I succeeded is only to access item(s) enabled in the API Key's "items list", from code of web app running on a domain enabled in the API Key's "referrers list".
... View more
09-24-2024
05:28 AM
|
0
|
0
|
157
|
POST
|
Thank you again, @ChrisLandvogt , indeed if I left referrers empty and enabled the service and the layer in the API Key and opened incognito, the shared url worked to show the json. But if I try to add the shared url to a scene in another ArcGIS Online, I can't... Maybe you can enlighten my eyes also in this aspect - how to add the shared url to a scene in another portal?
... View more
09-24-2024
01:59 AM
|
0
|
0
|
862
|
POST
|
@ChrisLandvogt , I appreciate your fast responding. I have read those links. You had put the "shareable url" as address in the browser, so there is no "referrer domain". Yet it worked for you then. For me now, putting the "shareable url" as a browser address does not work. The API Key works for me now by adding that private layer to a scene in my ArcGIS Online account, and then running that scene in a web app on a domain which has previously been added to the API Key's "referrers list". I wonder whether the private layer could be added to a scene on another portal and be run on another domain (which I would add to the API Key "referrers list"). I also wonder if "shareable url" would be usable in ANY way at all... I will appreciate it very much if you try and tell me whether the "shareable url" could be useful at all in any ways. Anyway, I would appreciate it very much if I know that the "shareable url" indeed works for you in the browser also in these days, as it worked for you when you wrote that blog.
... View more
09-23-2024
11:39 PM
|
0
|
0
|
885
|
POST
|
When I create API Key in my ArcGIS Online account, in "Referrers" paragraph I allow access from specific HTTP/HTTPS domains. By enabling the domain, all folders and applications in it, can use this API Key. I have not succeeded in limiting access to only specific folders and applications INSIDE the domain. Am I missing something, or can API Key limit ONLY by domains?
... View more
09-23-2024
05:47 AM
|
0
|
0
|
117
|
POST
|
From my ArcGIS Online account, I need to share my private layer with a customer in a simple way, so he'd be able to add it to his scene, and hence, to his web application. I found an article from Sep 15, 2023 "Leveraging API Keys for Un-Credentialed Access to Hosted Layers" referring exactly that issue. It explains that by appending the API key as a token to the private layer url, thus: <layer service url>?token=<api key>, we have created a "shareable url", that can be used by the customer as if the layer was public. The article speaks about "set up your scope", but I have not succeeded to see and understand what it meant... In my api key "Edit Item access" I enabled the layer and its service url, and I even have set the referrer to the domain of the layer service url, hoping that this is what was meant by "set up your scope". But when setting it as an address in chrome, I got an err msg: "invalid token", even without requesting username and password, as in the article's example. I suspect that I have not yet succeeded to define the API Key exactly as needed, but I don't know what is the error and how to fix it. I hope an elaborated example and some explanation could help. I attach screenshot of that API Key privileges, referrers and Item access
... View more
09-23-2024
02:47 AM
|
0
|
5
|
968
|
POST
|
Are there differences between EXB experience created by developer edition on ArcGIS-Online, to that created on portal? Since I can create Custom Widgets by EXB Developer Edition, no matter if it's connected to credentials app created on portal or on ArcGIS-Online, I wonder if there are any differences at all between the capabilities of EXB Experience created by EXB Developer Edition on portal or on ArcGIS-Online.
... View more
09-16-2024
12:23 AM
|
0
|
1
|
231
|
POST
|
Thanks. I also encountered this problem (by the way, Firefox still works), and how it'll be solve after patch is installed.
... View more
08-04-2024
03:25 AM
|
0
|
0
|
1138
|
POST
|
I just duplicated widget acrcgis-map as is into my custom-widgets folder, and then "npm start" failed. I solved the problem when In line 18 of both files arcgis-map/src/message-actions/filter-actions-settings.tsx and arcgis-map/src/message-actions/flash-actions-settings.tsx I replaced import ChooseConnectionType by import type ChooseConnectionType ESRI - please check and tell whether I am right or not.
... View more
08-01-2024
03:45 AM
|
1
|
0
|
192
|
POST
|
I solved it by modifying the widget html from my widget code. But I wish ESRI will correct it - that the editor widget will not display non-modifiable layers
... View more
06-24-2024
02:26 PM
|
0
|
0
|
255
|
POST
|
I solved it - I wrote myself all the code needed, using 1) Draw a line from a point knowing the direction and distance from it 2) the polygon method contains(point)
... View more
06-24-2024
02:23 PM
|
0
|
0
|
266
|
POST
|
In my custom widget I need to draw some parallel lines inside polygon, so that each of them will not go outside the polygon. If I'll know how to create and draw a line through the polygon center, I'll know how to draw all of them.
... View more
06-24-2024
06:23 AM
|
0
|
1
|
305
|
POST
|
Editor widget can modify editable feature layer attribute values. Can I modify them also directly by javascript? If yes, then how?
... View more
06-23-2024
03:46 AM
|
0
|
0
|
304
|
POST
|
Editor widget should show only editable layers and only if they are visible. in API 2.24, it behaved so. But in API 45.29, Editor widget displays an editable layer even if it is nonvisible on the map. And it also displays non-editable layers. It only displays them in "bright" colors. How can I make the API 4.29 Editor widget behave as in API 4.24?
... View more
06-16-2024
03:01 AM
|
0
|
1
|
379
|
POST
|
I solved it. The new config element type if array of objects. Only in setting.tsx in render(), I do JSON.stringify(element, null, 2) in order to display it nicely in the TextArea in "Content" tab
... View more
05-13-2024
09:30 AM
|
0
|
0
|
296
|
Title | Kudos | Posted |
---|---|---|
1 | 08-01-2024 03:45 AM | |
1 | 01-04-2024 04:00 AM | |
1 | 03-28-2024 01:25 AM | |
1 | 03-25-2024 01:11 AM | |
1 | 03-21-2024 04:46 AM |
Online Status |
Offline
|
Date Last Visited |
09-25-2024
01:19 PM
|