|
POST
|
I've converted code example Edit features in 3D with the Editor widget into "Edit 3D" custom widget code within Web AppBuilder (Developer Edition) 2.17 My widget works and I can add Slide or Swing items from the recreationLayer (as in the example). My questions: I want to test myself against same data as in esri example above. Currently I don't have ArcGIS online account, so my Web AppBuilder (Developer Edition) is connected to the company's ArcGIS online (my Web AppBuilder config.json has the line: "portalUrl": "https://<company-name>.maps.arcgis.com I try to see the example scene by pasting portal id "206a6a13162c4d9a95ea6a87abad2437" into the application config.json, but I get error that I have no basemap. Whan I have ArcGIS online account, how could I run the WAB app on the esri example data? In the example code, the recreationLayer is created by "new FeatureLayer( ... with url of some esri service. I want to understand - What does that service supply? What are the possible ways to save my modifications to the layers? Thanks, Michael
... View more
09-23-2020
12:46 PM
|
0
|
2
|
2471
|
|
POST
|
I found a way to do it... So, if you have something "out of your sleeve" without investing significant time, I'd like to know in order to learn if there are other ways than mine, otherwise, your time is precious also for helping othe rpeople. With appreciation for the many times you helped me, Michael
... View more
09-21-2020
09:47 AM
|
0
|
1
|
1261
|
|
POST
|
I'm using Web AppBuilder (Developer Edition) version 2.17 upon ESRI Javascript API 4.16 When the user is adding feature layers from zipped shapefiles into his 3D scene map, I need to save them automatically into localstorage in order that when the user reenters the browser in a 2nd session, they will be read and inserted into the map automatically. I'm trying to use localstorage correctly by pure javascript (not by dojo libs) but I'm not succeeding. I assume there is a more correct way to do this. I'll appreciate explanation/code_example how to do it. Michael
... View more
09-21-2020
06:46 AM
|
0
|
2
|
1324
|
|
POST
|
Dear Robert Scheitlin, GISP, I'm reading now in esri documents. I understand that Only point, building, and 3D object scene layer types do have an associated feature layer. So how can I detect by javascript if the sceneLayer is answering this condition? Michael
... View more
09-11-2020
05:34 AM
|
0
|
0
|
6772
|
|
POST
|
Dear Robert Scheitlin, GISP, Is 3D version planned for your Popup Panel custom widget? Michael
... View more
09-11-2020
05:06 AM
|
0
|
1
|
1006
|
|
POST
|
Dear Robert Scheitlin, GISP, Thank you, but I'm afraid that javascript typeof does not know between sceneLayer and featureLayer. It only checks for javascript types. So I still don't know how can I check if it's a SceneLayer or FeatureLayer? Additionally, I apologize that as I'm relatively new to GIS, I need know - Am I assuming right that a SceneLayer with no associated FeatureLayer can still have an attribute table? If a SceneLayer has an associated FeatureLayer, am I assuming right that the attribute table will "sit" in the FeaturLayer and not in the SceneLayer? How can I detect in my javascript code whether a specific SceneLayer has an associated FeatureLayer? And how can I "get" that FeatureLayer if I need to? After creating FeatureLayer from the SceneLayer, can I associate it with the SceneLAyer in my javascript code, or that such association must be done beforehand, when creating the SceneLayer in ArcGIS online? Since SceneLayer is optimized for displaying large amounts of 3D data in a scene, I assume the GIS man who works on the ArcGIS online, must use a SceneLayer, so, how, in ArcGIS online, a SceneLayer with an associated FeaturLayer can be created? In my case, FeatureLayer widget fails whilst the regular popup displays OK the attribute data of a feature pointed to at screen, so what does it mean? Does it mean that there is no FeatureLayer "associated" with the SceneLayer, but the regular popup can work with attribute table of a SceneLayer with no associated FeatureLayer? Or does it mean that in my case the SceneLayer has a FeatureLayer associated with it, but the FeatureLayer widget has a "bug" that it does not know automatically to "communicate" with the associated FeatureLayer? Will the FeatureLayer widget automatically work OK with a SceneLayer which has an associated FeatureLayer?(display its attribute table, and sense if I click a feature on screen? and if I set the feature record checkbox "on" in the attribute table, will it still highlight that feature on screen?) Or must I send the associated FeatureLayer instead to the FeatureLayer widget in order to display its attribute table? Will it still work OK against the screen in such a case? If the SceneLayer does not have an associated FeatureLayer and I create the FeatureLayer from the url, will it be enough to "associate" it to the SceneLayer by my javascript for the FeatureLayer widget to work OK on the SceneLAyer? If not, then will the FeatureLayer widget work OK if I send to it the FeatureLayer? I mean - sense if I click a feature on screen? and if I set the feature record checkbox "on" in the attribute table, will it still highlight that feature on screen? Thanks, Michael
... View more
09-10-2020
10:14 PM
|
0
|
2
|
6772
|
|
POST
|
Thanks Robert Scheitlin, GISP, only please instruct me (links?) how to Check typeof the layer Get its url Create a FeatureLayer from the url I get the layer in the LayerList widget. Michael
... View more
09-10-2020
12:11 PM
|
0
|
4
|
6772
|
|
POST
|
Hi Michail Marinakis, I have same error, in some other context. Please see my question. Have you found a solution? Michael
... View more
09-10-2020
06:03 AM
|
0
|
1
|
4944
|
|
POST
|
Hi Robert Scheitlin, GISP, For WAB (Developer Edition) 2.17, I modified the standard 3D "LayerList" widget, ading a button to display attribute table of layer by opening a custom widget which uses the code from FeatureTable widget with popup interaction to display the attribute table within that widget which serves as a "popup". For some layers it displays the attribute table OK, but for some other layers it displays only the first line with the field names, but the whole table is not displayed, so the features data is missing. Note: the regular popup, activated by clicking the features on the sceneView, works OK, so this is some problem using the code of the FeatureTable widget from the above example. The error message I get is init.js:115 [esri.core.Accessor] Accessor#set Assigning an instance of 'esri.layers.SceneLayer' which is not a subclass of 'esri.layers.FeatureLayer' I get also a second message: SceneLayer queries are not available without associated feature layer Help will be greatly appreciated. Michael
... View more
09-10-2020
06:01 AM
|
0
|
6
|
6844
|
|
POST
|
Dear Robert Scheitlin, GISP, I thank you very much for answering. At least I know that being newbie has not caused me to miss some documentation. I appreciate you for being a great help to many developers of esri WAB custom widgets. Michael
... View more
09-10-2020
05:36 AM
|
0
|
0
|
2262
|
|
POST
|
Robert Scheitlin, GISP, Bill Fox, Henry Lindemann, Joshua Bixby, Shay Lavi, Carlos Augusto Nantes de Castilho Rivilino, Majdoleen Awadallah, Harish Palaniappan, Ken Buja I followed Robert's advise and submitted to "ArcGIS Ideas" - here, a request to increase the arbitrary limit of 4,000 records for ArcGIS REST API - "Generate", in order that web application based on esri REST API will be able to import zipped shapefiles with more than 4,000 records. I will greatly appreciate it if you "upvote" it. With appreciation, Michael
... View more
09-10-2020
12:46 AM
|
2
|
0
|
1780
|
|
IDEA
|
Please see my question at Esri Community. I have been advised by an expert to submit this issue in "Ideas", so I'm doing it - I suggest to let web application based on esri REST API "live" by enabling them import zipped shapefiles with more than 4,000 records, using ArcGIS REST API - Generate. This could be done by raising ArcGIS REST API - Generate arbitrary limit of max 4,000 records, and so enabling it to create shapefile(s) from zip that contains a total records count greater than 4,000. Once upon a time, this arbitrary limit was set to 1,000. Currently it has been raised to 4,000. As technology moves forward and files get bigger and more complicated, I suggest to increase this limit. With appreciation, Michael
... View more
09-10-2020
12:19 AM
|
13
|
0
|
1392
|
|
POST
|
Robert Scheitlin, GISP, Can you please refer to item "3" above? since I have not found detailed doc on ArcGIS REST API - Generate. Michael
... View more
09-09-2020
11:53 PM
|
0
|
2
|
2262
|
|
POST
|
So there is no convenient way to get total records count of zipped shapefile before passing it to arcgis rest ap generate". So I always pass the zip to "generate", and I'm using "generate" returned error message to inform the user that this zip has more than 4000 records. Michael
... View more
09-09-2020
11:49 PM
|
0
|
0
|
2126
|
|
POST
|
I assume it's impossible, becaue zip file could be analysed only after esri had read it, and from WAB (Developer Edition) Web Application, if number of total records > 4000, esri can't read it, since esri had limited the "generate" service to limit of 4000 records. Michael
... View more
09-09-2020
11:42 PM
|
0
|
0
|
1155
|
| 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
|