POST
|
I’ve found the function that runs when the user clicks close on the attribute inspector after creating a new feature in edit widget. I can get an alert to popup from inside that function. But the gp tool code never runs. I’m wondering if its because its on a widget inside this web app builder framework? And not that same as being just a page using the javascript API?? _enableToAnswerEventForEditorATI: function() { alert("geoproc"); //call geoprocessing service gp = new Geoprocessor("https://xxxxx/arcgis/rest/services/EBP_Irwin/Overlay/GPServer/Overlay/submitJob"); gp.setOutputSpatialReference({wkid: 102100}); var params = { "returnZ": false, "returnM": false,"f": "json", }; gp.execute(params);
... View more
07-31-2017
01:50 AM
|
0
|
1
|
433
|
POST
|
awesome thanks, new I had seem that somewhere. As an extension to that how would you fire off a geo-processing service on completion of an edit function using the edit widget?
... View more
07-26-2017
07:57 PM
|
0
|
3
|
433
|
POST
|
Is it possible at the completion of the user capturing a polygon using the edit widget to launch widget in the web app, so the user doesn't have to know to go and launch it manually?
... View more
07-25-2017
08:04 PM
|
0
|
5
|
902
|
POST
|
Robert, This is exactly what I need, now just to get it to work. I need to fire this off from when the Edit widget launches. What do I need to add in the Widget.js of the edit widget to get it to work.
... View more
06-29-2017
10:15 PM
|
0
|
1
|
2496
|
POST
|
Hi, you mention above "Robert thankfully showed me how to populate a field when creating a new feature" Can you share this? I need to populate a value into a field through code, not through the user editing it, but need to know where this happens in the code.
... View more
06-01-2017
12:38 AM
|
0
|
1
|
464
|
POST
|
I have a web app builder project that has an editable layer in it. The project ID is being based to the web app through the URL. I can grab this in javascript and use it. What I'd like to do is set the default value for the projectid field that is written by the edit widget when a new record is created. any pointers on where in the edit widget code I can intercept where the values are written and returned to the feature service?
... View more
05-28-2017
09:14 PM
|
0
|
2
|
1857
|
POST
|
Robert, this is a really good help. i got this working. But now I want to make it more invisible to the user. I have a URL variable I can grab and want to use that to change the value the filter is carried out on dynamically. So 2 questions: 1: where in this code can I intercept the filter query string set by default and change it and 2: how can I close the filter dialogue after the filter has run.
... View more
05-28-2017
09:06 PM
|
1
|
1
|
1359
|
POST
|
Hi has anyone got working a where clause passed into the query URL paramater that contains a series of OR statements. I've got it working with the following: ?query=layername,(Zone = 'xyz') OR (Zone = 'xyz') The same query inside WAB highlights all polygons and zooms to the extent. When I run the query through URL parameter it highlights 1 of the records and pops up an info box, the rest are not highlighted and the zoom extent does not cover all records. any thoughts on why the difference.
... View more
05-24-2017
05:12 PM
|
0
|
2
|
1075
|
POST
|
When running the following code we are getting random http gateway time-out errors replica1 = newRep.replicas.create(replica_name = (featureLayer + "_replica"), return_attachments ='true', attachments_sync_direction='bidirectional', layers='0', data_format='filegdb', out_path = FilesFromAGOL) DEBUG:root:ERROR - HTTP Error 504: Gateway Time-out I am looping through 10 hosted feature layers and the above error is thrown randomly at one of them, sometimes at layer 5 sometimes at layer 10. The same code on the same layers has been running fine. Trying to figure out if is an issue on the ESRI end that is stopping the replica creation all of a sudden. Any ideas that i can use to test and isolate the timeout source.
... View more
03-29-2017
08:58 PM
|
0
|
1
|
5887
|
POST
|
Hi Atma that's definitely put me on the right path. I can get the json dict properties of the old and new layers. But I'm stuggling with the update_definition. How do I update just the drawing definition part to use the previously set symbol. As below. I've tried saving this to a json file and loading in an applying to update_definition but get an unable to retrieve feature error. Your right, a worked example here would really help. Also; when i go to get the properties of the layer i get a token error. how do i generate a token and pass thru. "drawingInfo": { "labelingInfo": null, "transparency": 0, "renderer": { "type": "simple", "symbol": { "imageData": "iVBORw0KGgoAAAANSUhEUgAAABsAAAAaCAYAAABGiCfwAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAArxJREFUSInllUtIlFEUx3/aaDI6YyM6OhIIMdBzGxS0y6BVbqKFi6igDJLQspBeM1qMlkEhCG6yVi3aROuGWlS79rYYopFstOIba+abmW8e32lx5/3QVHLTgQvnu4//755z7nevhS00y/8Niz2eEURQzaTgqyaRKM33PHWbgmk9u6Xp0gAYiYIwAhTDgMZG9LEJMWaf0BYK1ITWhOkT9wURJGUoQROsF34AQmy2HevAsupEiM10gAjbz/ajI9Lsu1sVWBWmj/kEIw0iWC8uFQTNuJqQTIAksrNNMFJYh5aADLGHTvTh69L86EEFsAKm3/QIRgIQrIPLKqqsIJIEMhA3QIz8mLlPy8KFFV3Hvs2C5nJLeUorIzNSCjQcIjblxHpVpavp5CKIGrMc1MA0AJPoZActo9/VwQHsGRMySRqOH4WngdqRRQZHxIwnWDm9hFXAemUhL1LfLXm/8Ui8ELGeyqc0ctuJbXwBMInc6OR3/xmxP39WVxVGKg4i7Ow2wFTCUY+TlrElJXCnE9tYqFArTCSZzKbXBCMNqLqm37yvSFoJTIyUEr21A9u4ArR4C9GRTAHZumWBNt8XEAgf/orD/xqiOTV3bZjmcgtJA+18kJ5dDUSudWGbWgRMfo90Y5/6hs33GaLvKkQAHP6CH+514/AHCPeWAksiS7/9QLQvAE6weSB8SC2yewG9EhDu68HxKshPbxvtXq0EVM1WvUEc/gC/zvXQOhesKtL6MgjwV6ASWFsoUKe53NI95ObF5QCnTmQF54J5MIA26qJtUh2S+vqiKMtA5SmsiCwHPDbtJjxN1V3mQOWWm1sMWfOnzgGr7XYtWw1UFVYO3IjVuvnXfM8+zcOevRvFrhMmOsx/LHybTbD/gPKL+wG6NgvrGq08VeFVxDf0eNZaVFzL1YTXBVvvJv4JbDO2pbA/1VNr5+fX+kYAAAAASUVORK5CYII=", "xoffset": 0, "width": 20, "contentType": "image/png", "type": "esriPMS", "height": 19, "yoffset": 0, "angle": 0, "url": "632a2675cb74c05e5734e3b8b2acdcf2" }, "label": "", "description": "" } },
... View more
03-27-2017
07:06 PM
|
0
|
0
|
373
|
POST
|
Ok my workflow is this: I have existing feature layers all symbolized and popups set nicely in my AGOL account Every month I want to refresh the data within I would like to make a copy of the layer to a new month - remove the data and upload the new data I can use the API to publish the new data as a new layer, name it and put it in the right folder. But all my symbology is now default symbol and I want to re-use the existing symbology. So can I: save the symbology definition and use that to set this on the new layer as i upload it. or, somehow delete all features from the old layer and load in the new features - hence layer setting such as symbology stays
... View more
03-27-2017
02:28 AM
|
0
|
2
|
1159
|
POST
|
i've confirmed i have 1.01 installed through arcpro python packages i'm running my code through the arcpro python terminal when i run this if found == 0 : print("user not found: " + mUser + " for " + row['title']) outkey = group.add_users(mUser) print ("user now added to group" + str(outkey)) i get this - user is not added user not found: canvasseraip01 for PT ASIA INTI PRIMA - Shared user now added to group {'notAdded': ['P', '0', 'a', '1', 'r', 'c', 's', 'e', 'V' , 'i', 'n']}
... View more
03-16-2017
05:34 PM
|
0
|
0
|
538
|
POST
|
is this also the case with group.add_users(list of users). I'm not having any luck passing in a username to an existing AGOL group to add the user.
... View more
03-16-2017
01:49 AM
|
0
|
2
|
538
|
POST
|
I get the following when running the webgis-windows install using chef. Any ideas on what is missing, or more to the point how to fix and I can see whats missing but not sure how. NoMethodError: arcgis_enterprise_server[Install System Requirements:server] (arcgis-enterprise::server line 31) had an error: NoMethodError: No resource or method named `windows_reboot' for `Chef::Recipe "default"'
... View more
03-08-2017
12:28 AM
|
0
|
0
|
815
|
Title | Kudos | Posted |
---|---|---|
1 | 09-13-2018 05:21 PM | |
4 | 08-09-2016 07:24 PM | |
1 | 09-05-2018 07:24 AM | |
4 | 12-11-2016 08:03 PM | |
2 | 04-23-2018 10:24 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|