|
POST
|
Thanks, @BlakeTerhune and especially @AndyGup for referring my question. Indeed I am using nodeJS for developing the non-interactive web service (I prefer it upon Python) and queryFeatures example was enlighting since this is the way I go. REQUEST: I need also do "fetchImage" upon MapImageLayer and it will help me bery much to know what is the specific ArcGIS Rest API that I need for this. Does someone know? 2nd REQUEST: Is there some short example of whole little node program addressing the enterprise portal server?
... View more
05-29-2022
08:08 AM
|
0
|
0
|
1607
|
|
POST
|
I need to develop web service in our enterprise server, which will be addressed by its url endpoint, with x,y query parameters, and it will query a hosted feature layer service to get some table attributes of the polygon that intersects the x,y point. I need some basic code example of a nodeJS project querying an enterprise hosted feature layer service, using ArcGIS REST API
... View more
05-26-2022
02:02 AM
|
1
|
0
|
998
|
|
POST
|
I need to develop web service in our enterprise server, which will be addressed by its url endpoint, with x,y query parameters, and it will query a hosted feature layer service to get some table attributes of the polygon that intersects the x,y point. I need some basic code example of a nodeJS project querying an enterprise hosted feature layer service, using ArcGIS REST API
... View more
05-26-2022
02:01 AM
|
0
|
3
|
1664
|
|
POST
|
Regularly I use WebAppBuilder 2.22 to develop 3D web apps with my developed custom widgets (esri js API 4.22) for our portal. Now I need to do some specific activity but not interactively. The user is supposed to address my web service by url plus location coordinates and I am spposed to create some pdf file (I know how to create it), put it in the cloud (I know how to put the pdf there) and return a link to that pdf file. In short, I know, and I do it already, but interactivel, where the user is opening my WAB web application. What I do not know, is how to create that non-interactive service. Help will be greatly appreciated.
... View more
04-24-2022
03:25 AM
|
0
|
0
|
1223
|
|
POST
|
I want to do some process and return a pdf (I know how to prepare that pdf) but with no interactive browser window. Just a "service" addressed by its url. The service receives a request (by the url which would contain some parameters) and returns the result pdf.
... View more
03-28-2022
08:29 AM
|
0
|
0
|
1083
|
|
POST
|
Thank you! May I ask - I can write "this.someButton.onClick = this.someHandlerFunction;" How is it, compared to "this.own(on(..." ?
... View more
03-28-2022
08:22 AM
|
0
|
0
|
1328
|
|
POST
|
I use WebAppBuilder 2.22 (developer edition) to develop 3D web apps with my developed custom widgets (esri js API 4.22) for our portal. However, I do not know why in all ESRI widgets code, everywhere when linking button click to a function, the linkage is wrapped with "this.own". What is the purpose and benefit of doing it?
... View more
03-22-2022
08:31 AM
|
1
|
2
|
1357
|
|
POST
|
Background: I use WebAppBuilder 2.22 to develop 3D web apps with my developed custom widgets (esri js API 4.22) for our portal. This web app can get longitude/latitude url parameters to focus on wanted location. The user can use one of its custom widgets to do some work, create a result pdf, and show it in another broser tab. My need now: I need to do all this not interactively by the user using a browser, but as a web service (with REST API), operated by another program which will address the web service by its url, give it by parameters the x'y coordinates, and the service will do all the work offline, and return the pdf to the calling program. I know how to develop the work INSIDE the service, but I totally do not know how to develop the service "package" so it will be executed "offline" as a REST api web service. Help will be greatly appreciated.
... View more
03-16-2022
01:49 AM
|
0
|
2
|
1460
|
|
POST
|
Dear @CarlosNantes , I am now doing it in your way. I got help in writing the python. However, my pytho converts all 4 layers of the dwg at once ("Point", "Polygon", "Polyline","Annotation"), and I request from the Javascript the 4 shape layers. But if the dwg file has not all 4 layers, the python process at the server fails... This error occurrs only if I run the python from my WebAppBuilder Javascript file, but if I execute the python in the server from the ArcGisPro, it runs well even if the dwg has less layers. It is a riddle for me why it fails from the Jacascript... In your answer you write: "Toolbox should have 2 input parameters: one for File and the other for the geometry type". So maybe I must run the process 4 times, each time on a separate layer? I attach here my python script. (".txt" added to filename in order to attach it) If indeed the process must run 4 times, each time on a separate layer, can you please modify the python for me to accept the 2nd parameter? In addition, I don't understand enough your 1.6 and 1.7 paragraphs. Are they needed? Can you add them to the python for me? Thank you
... View more
03-13-2022
11:21 AM
|
0
|
0
|
6405
|
|
POST
|
@ReneRubalcava , I used the query to get a FeatureSet, and succeeded to save the feature layer to text and also to recreate it from that text. Thank you very much!
... View more
03-01-2022
12:51 AM
|
0
|
0
|
2858
|
|
POST
|
Please note that Web AppBuilder both Javascript API - 3.* and 4.* If you generate 2D app, it uses Javascript API 3.*, If you generate 3D app, it uses Javascript API 4.*.
... View more
02-19-2022
11:40 PM
|
1
|
0
|
1470
|
|
POST
|
I solved this problem, in https://community.esri.com/t5/arcgis-api-for-javascript-questions/api-4-22-jobinfo-fetchresultdata-gives-result-with/td-p/1141536
... View more
02-15-2022
12:06 AM
|
0
|
0
|
2299
|
|
POST
|
Dear @ReneRubalcava , By help of Israeli ESRI representative (Systematics company) the problem has been found. It turns out that if the tool outputs the MapImage layer, then the output of the 4 layers themselves is actually the metadata only, not the real data. So, I modified the geoprocessing tool to not output the MapImage layer, but only the 4 layers, and it is OK. A comment: Maybe it makes sense if ESRI will modify the geoprocessing tool so that the output of the layers themselves will NOT be spoiled when MapImage layer is also being output.? Michael
... View more
02-14-2022
11:58 PM
|
0
|
0
|
3308
|
|
POST
|
Dear @ReneRubalcava , thank you for replying and for modifying ESRI's example Geoprocessing - hotspot analysis to extract the layers themselves. I tested and it works. I did as you said - besides rest geoprocessor service, I tested also the 4.19 Geoprocessor, but both gave identical results: Our gp tool can return OK the MapImageLayer, but not the layers themselves - result.value.features is an empty array, and result.value.geometryType is null. The only difference I can think of is that we work on 3D scenes. But it's hard to imagine this is the problem. Maybe you can show me an working example on 3D scene? IF geoprocessor gives the layers themselves also on 3D scenes, then the problem is either with my gp tool or with my code. MY gp tool converts CAD files (*.dwg) to SHP, containing points,lines,polygons/annotation layers. ArcGisPro was used to create a model containing Python script which used esri "CAD to Geodatabase" tool. I attach a screenshot of the model, and 2 CAD files. If, as you wrote, one or more of the next things will help you locate the problem: - url of our gp service, - the python script, - url of minimal WAB web app with custom widget containing my code, - zip of my WAB web app code, containing my custome widget for converting Cad2SHP Then I request you to instruct me how to send to you by private means (email?)
... View more
02-09-2022
06:59 AM
|
0
|
1
|
3361
|
|
POST
|
In 4.22 "esri/tasks/Geoprocessor" is depricated and "esri/rest/geoprocessor" is recommended instaead, so I used it. geoprocessor.submitJob(gpServiceUrl, gpParams) .then(function (jobInfo)) { jobInfo.waitForJobCompletion().then(() => { jobInfo.fetchResultData("pointFC") .then(function (result) { if (result.dataType == "feature-record-set-layer") { let featureSet = result.value; console.log(`Points: ${featureSet.features.length}`);// gives "0" } }); }); });
... View more
02-08-2022
04:29 AM
|
0
|
3
|
3523
|
| 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
|