|
BLOG
|
You wrote: "Experience Builder 1.13 will be based on the 4.28 version of the API and includes map components". I looked at "What's New in ArcGIS Experience Builder Developer Edition (version 1.13) " and I have not seen any talk about this, and I also searched the code of 1.13 and failed to detect any usage of web components. Have I missed something? What is really the current situation in 1.13? and in case I want for example to insert "coordinate conversion" widget component in 1.13, I'll appreciate info about how to do it.
... View more
12-12-2023
12:16 AM
|
2
|
0
|
8492
|
|
POST
|
@Brian_Wilson , thanks. I deveop custom widgets on WAB and now I start moving to EXB (both Developer Edition), and the web apps are used by many users thrughout the country. I work on JS (not Python). I developed up to now one "web service" that have a log of each call and also have errlog. I also inserted in its code that every some hours it runs on pre designed "fake input" and logs accordingly. My main work are web apps that are run only interactively by users. I can not test them by "run test". I am already using url optional parameters to log debug info to console in key points. This is used only by me when developing or testing. What I take from you is the additional idea of inserting "traps" in the code to check the program while it is running the regular way by the users. I'll sum up: 1. I'll implant "console.assert" in key points in code to "trap" when things are not ok. This will be effective mainly when I run the web app, because users regularly do not examine the console. 2. In order to "trap" and log errors when users are running the web app, I think that "assert" is not effective, so I'll do: 2.1. Pay attention to log all "try-catch" failures (and user command failures) to some DB (I already have such DB) to be examined by me and by the customer service from time to time. 2.2. Insert "If" blocks in key points, to "trap" unexpected behaviors log them to same DB mentioned above. 2.3 Maybe I'll use my assert function either to log to DB or throw error (which will be logged to DB). The advantage of this is that I can search for all "assert" in my code, to examine wher I do the checks. const assert = function(condition, message) {
if (!condition)
throw Error('Assert failed: ' + (message || ''));
};
... View more
11-15-2023
01:07 AM
|
1
|
0
|
6040
|
|
POST
|
@Brian_Wilson , I was impressed by your attitude to programming, so reading "My unit testing ..." made me request if you can elaborate on your way of testing, so I can adopt something from it.
... View more
11-14-2023
12:31 AM
|
0
|
2
|
6065
|
|
POST
|
Maybe EXB does not support exchanging 2D and 3D in same page, andthe way is that the widget will direct to a different page which has the wanted sources? I am newbie to EXB so I will be happy to know if the above makes sense at all, and what is the solution indeed.
... View more
11-13-2023
02:09 AM
|
0
|
0
|
730
|
|
POST
|
Thank you for the explanations and for supplying the code by its 2 phases
... View more
11-13-2023
01:46 AM
|
0
|
0
|
2305
|
|
POST
|
We start moving from 3D WAB (JS API 4.*) to EXB 1.12 (also 3D) I am expert on WAB 3D, but totally newbie to EXB. in WAB I implemented the "CoordinateConversion widget - Custom Formats" in oredr to see some coordinates systems concurently with Z values on my 3D scene "on the fly" i.e. as I move the cursor. I installed EXB Developer Edition on our portal, and I need to "convert" the above widget to work on EXB. I will be grateful to get help how to do it. P.S. - I attached screenshot of that widget in my WAB app (below it is another widget - Esri's Coordinate widget which I extended it)
... View more
11-08-2023
02:03 AM
|
0
|
4
|
2310
|
|
POST
|
I solved it - 1. I display the polygons via a graphic layer whose elevationInfo property you'll set to "on-the-ground". 2. I use SketchViewModel whose layer property is that graphic layer, and whose defaultUpdateOptions property is: defaultUpdateOptions: { tool: "reshape", enableRotation: false, enableMoveAllGraphics: false, enableScaling: false, reshapeOptions: { shapeOperation: "none" }, toggleToolOnClick: false }
... View more
11-01-2023
03:54 AM
|
0
|
0
|
1170
|
|
POST
|
I solved it. But it's complicated... so I'll describe only generally: I create a polygon (in graphic layer attached to ground) whose points are identical to the area measured. I label the polygon with the relevant info, then I erase the view model. My customized "measurements-wizard" widget can display concurrently many measurements ot 3 types: distance (with slope), area, and volume (which is "extended" area neasurement). The user can replace the orange/white chess board of an area or volume measurement by bare polygons, (whose internals are transparent) labeled with the relevant info.
... View more
11-01-2023
03:50 AM
|
0
|
0
|
1263
|
|
POST
|
For map or scene defined in your portal, you set whether layers are visible or not. Maybe it'll help.
... View more
11-01-2023
03:38 AM
|
0
|
0
|
812
|
|
IDEA
|
I suggest you walk by these steps: 1. Display the multipoint geometry types via graphic layer (which you'll attach to the sceneView) whose elevationInfo property you'll set to "on-the-ground". 2. Use SketchViewModel whose layer property you'll set to the above graphic layer, and whose defaultUpdateOptions you'll set thus: defaultUpdateOptions: { tool: "reshape", enableRotation: false, enableMoveAllGraphics: false, enableScaling: false, reshapeOptions: { shapeOperation: "none" }, toggleToolOnClick: false }
... View more
11-01-2023
03:28 AM
|
0
|
0
|
1060
|
|
POST
|
my scene is 3d containing buildings etc. I want to create polygon that its points will "stick" to the 3D scene and not "float" in the air. When I edit the polygon, I also want that its points will "stick" to the 3D scene and not "float" in the air.
... View more
10-22-2023
05:46 AM
|
0
|
1
|
1546
|
|
POST
|
I develop 3D web apps by web appBuilder using ArcGIS API forJAvascript 4.24 AreaMeasurement3DViewModel draws orange-white checkerboard on the screen which "covers" the 3D scene details. This is giving helpful info, but I wish that I can leave the area and perimeter details in the widget while controlling the checkerboard visibility, to be able to set no visibility. Help from some expert will be greatly appreciated.
... View more
10-17-2023
03:01 AM
|
0
|
1
|
1455
|
|
POST
|
I develop custom widgets on ESRI WEB AppBuilder (developer edition) I want to use the library "maker.js" for building DXF format files. The library url is either https://maker.js.org/target/js/browser.maker.js it is also in https://cdn.jsdelivr.net/npm/makerjs@0/target/js/browser.maker.js The library starts with "require" and maybe this is the reason I failed to import it - I tried doing according to https://developers.arcgis.com/web-appbuilder/sample-code/add-a-third-party-library.htm and also according to https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-do-i-import-javascript-libraries-in-a-strictly/td-p/787942 but it all failed. Help will be greatly appreciated.
... View more
08-15-2023
06:43 AM
|
1
|
0
|
999
|
|
POST
|
I solved it by myself - I bypassed the lack of "compare" feature, by copying the "old" profile into the ground profile, then I can compare the "new" profile with the faked ground profile.
... View more
07-20-2023
11:51 AM
|
0
|
0
|
1054
|
|
POST
|
3D WAB Search (4.* javascript API) has the mechanism to display list of search options. e.g. - it display some options when I start typing. I want to expand this mechanism to display also the addresses I searched before (search history") and enale selecting my search string from this list, if I want to. My steps are: 1. I succeeded to fill up an array with the previous search strings. 2. I declare: this.searchDijit.on("search-focus", this.onFocus); and then I check if this.searchDijit.searchTerm is empty. 3. Now this is the step I am struggling now: How do I expand the mechanism above to show the history? Help will be greatly appreciated.
... View more
07-20-2023
11:46 AM
|
1
|
0
|
900
|
| 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
|