|
POST
|
In coordinates widget exb\1.13\client\dist\widgets\arcgis\coordinates\src\runtime\widget.tsx, after you click on the leftside "+", each map click will display the point's coordinates. The original code is in "if (canShowClient)" in async function onMapClick (line 392). I need to present a modal dialog (e.g. with something in it, e.g. radio buttons) just before displaying the coordinates, i.e. just after "if (canShowClient)". From Jeffrey Thompson2 I learned that "esri way" is to import { Modal, ModalBody, ModalHeader } from 'jimu-ui', as done in a few other widgets, but I don't yet know how to actually code it in coordinates widget. Help will be greatly appreciated. (this is a much more "focused" wording of my previous general question)
... View more
02-26-2024
04:00 AM
|
0
|
0
|
871
|
|
POST
|
@JeffreyThompson2 , Thank you for showing the way. I searched in EXB for "Modal" and found its usage in dist/widgets/arcgis/query. Since I'm new to React, It'll help me if I can see some simple barebone code example, or get some explanations how to adapt it from there.
... View more
02-25-2024
04:26 AM
|
0
|
1
|
2747
|
|
POST
|
@JeffreyThompson2 I tried to follow How to create Dialog Box in ReactJS? but it uses Material UI lib, and I do not know how to incorporate this lib either to the widget or to the whole app. I need instructions how to do it.
... View more
02-15-2024
07:31 AM
|
0
|
3
|
2850
|
|
POST
|
I want to use styled-components lib in some of my custom widgets. In independent React project it is regularly included by "npm install styled-components". How do I include it so I can use it in Experience Builder? Indeed I saw Using third-party libraries and also Use a third-party library: react-data-grid but I don't undersatns how to create a shared module, how to reference the lib there, and how to import it into any widget, and I failed to find code examples.
... View more
02-07-2024
02:48 AM
|
0
|
0
|
722
|
|
POST
|
I am new to EXB (Develope Edition). The map-info line at bottom of screen occupies "precious" space... It actually contains 2 parts - long part of general info, and short part - "Powered by Esri" I need to hide the whole info-line so I can put my customised coordinate widgets at bottom of screen. (replacing the long info by my coordinate widget and displaying only "Powered by Esri" is also an option). I have not succeeded to locate the "info-line" widget in order to remove it. Maybe adding "display: none" is practical, but I don't know how to do it.
... View more
02-06-2024
04:28 AM
|
0
|
6
|
2296
|
|
POST
|
@JeffreyThompson2 thank you very much for your bright explanation. Indeed I have found in the internet some code examples for implementing radio buttons in react environment, and I'll analyse them and implement as fits me. Meanwhile I used js prompt to get user's choice, and this deceived me to think jQuery will also work same as js prompt works.
... View more
02-05-2024
07:08 AM
|
0
|
0
|
2923
|
|
POST
|
From custom widget, I need to ask the user to select between some choices, and the like. I thought to present him with a dialog box. I failed to open a jQuery dialog box from my function widget (even that I don't get an error message), and I don't yet know how to use react to display a dialog box (and get result from it). Help will be greatly appreciated
... View more
02-05-2024
12:33 AM
|
0
|
6
|
3013
|
|
POST
|
Thanks a lot, since this problem just scared me off! I succeeded to download by deleting the "temp" folder in server folder, and then download succeeded by running server either as administrator or not. Good to know there is also Gavin's way! but it's good to know there is another safe way.
... View more
02-05-2024
12:04 AM
|
0
|
0
|
3709
|
|
BLOG
|
Thanks a lot! Meanwhile I succeeded to download by deleting the "temp" folder in server folder, and then download succeeded by running server either as administrator or not, but it's good to know there is another safe way.
... View more
02-05-2024
12:01 AM
|
0
|
0
|
3322
|
|
POST
|
@JeffreyThompson2 , you mentioned EXB uses 2 simultaneous React Apps. It seems I know almost nothing on how EXB (Developer Edition) works... I worked much on WAB and now I am preparing to start develop custom widgets for EXB. It will help me to "understand" how EXB code works... Can you please elaborate, and also direct me to proper documentation?
... View more
01-10-2024
12:49 AM
|
0
|
0
|
4467
|
|
POST
|
I have not succeeded by Gurunara suggestion, but I succeeded by following the tip in ArcGIS Experience Builder install in mid-page: In the Portal App for EXB, add url with the <client-port-number> In server folder, do: npm start -- --port <server-port-number> --https_port <client-port-number> and in client folder, just do: npm start In the browser, go to: https://localhost:<client-port-number>
... View more
01-04-2024
04:00 AM
|
1
|
1
|
2232
|
|
POST
|
This widget is still class and it is bewildering me... I will greatly appreciate it if there was a Function version for this widget.
... View more
12-18-2023
03:03 AM
|
0
|
0
|
6876
|
|
BLOG
|
You wrote (in bold): "Much of Experience Builder is in class based components, including most of the widget coding examples provided by ESRI". I searched in the code of EXB 1.12 and 1.13 (in dist/widgets) and it seems that all widgets *.tsx files are Function... As I'm newbie to React and Typescript, I am bewildered. Am I missing something important? Do I really need to understand react class documentation in order to learn and modify/extend EXB?
... View more
12-13-2023
08:32 AM
|
0
|
0
|
8452
|
|
BLOG
|
@JeffreyThompson2 Thank yoo, I'll check in the next 2 weeks.
... View more
12-13-2023
08:16 AM
|
1
|
0
|
8455
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 02-13-2026 04:27 AM | |
| 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 |
| Online Status |
Offline
|
| Date Last Visited |
02-13-2026
04:26 AM
|