|
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
|
4582
|
|
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
|
413
|
|
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
|
4665
|
|
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
|
648
|
|
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
|
3494
|
|
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
|
498
|
|
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
|
828
|
|
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
|
867
|
|
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
|
661
|
|
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
|
712
|
|
POST
|
I adapted arcgis-map widget to make it one of my custom widgets. In the development ide, in arcgis-map "Content" tab (which is handled by setting.tsx), I added a new config element, which is a json array of objects, so in the text area I write it: [ { "param1": "string1-1", "param2":"string1-2", "param3":250}, { "param1": "string2-1", "param2": "string2-1", "param3":100 } ] I managed that it will work well, but there is an "ugliness" problem: When I create and expand the zip file, then: In the application config it appears as if it is a string: "newElement": "[\n {\n \"param1\": \"string1-1\",\n \"param2\": \"string1-2\",\n \"param3\": 10\n },\n {\n \"param1\": \"string2-1\",\n \"param2\": \"string2-2\",\n \"param3\": 200\n }\n]" But I prefer that the new config element will appear in the application config as an array of objects: "newElement": [ { "param1": "string1-1", "param2":"string1-2", "param3":250}, { "param1": "string2-1", "param2": "string2-1", "param3":100 } ] To sum up in other words - I need that the text-area in "Content" tab will refer it as a string, while in the created zip and hence in the application config file, it will be referred as an array of objects
... View more
05-13-2024
07:05 AM
|
0
|
1
|
770
|
|
POST
|
I adapted arcgis-map widget to make it one of my custom widgets. In src/runtime/componnts/mapbase.tsx I want to use src/runtime/translations/defaults (and also other language). mapbase.tsx uses this.formatMessage in render() for translarion, but I need to translate in view.when which is in createMapbaseView function, outside render().
... View more
05-13-2024
06:12 AM
|
0
|
0
|
595
|
|
POST
|
@Junshan_Liu Thank you! I found that in my code I intentionally do import { getLocaleInfo } from 'analysis-shared-utils' so I caused this problem to myself... I evaluated the locale without using this lib and all is ok. THANK YOU
... View more
05-09-2024
12:13 AM
|
0
|
0
|
1148
|
|
POST
|
@Junshan_Liu Thnk you for your fast response. There is also the common/menu widget Does this info help? In 2nd thouight: I'll try to remove widget by widget and check... Can you tell me what is the main function of this pkg? maybe it'll help, in case something in my code caused the system to call it (since in my app code there is indeed no call to this pkg)
... View more
05-07-2024
05:57 AM
|
0
|
0
|
1189
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-15-2024 12:09 AM | |
| 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 |
| Online Status |
Offline
|
| Date Last Visited |
07-01-2025
04:28 AM
|