|
POST
|
The block of code below has within the first function what I would like executed 21 times Then you would just iterate over 21 times: def DistrictFunction(DistrictConfig, distfc, totalexpression, totalscline, statsfield, fields,TotalLong):
for i in range(21):
print "Calculating Total Line Tickets per District"
arcpy.MakeFeatureLayer_management(linefc, unique_name, totalexpression)
arcpy.Statistics_analysis(unique_name, totalscline , statsfield, "DISTRICT")
.
.
.
.
... View more
10-24-2016
10:43 AM
|
0
|
2
|
5041
|
|
POST
|
Brendan, We started working down this path using Robert's suggestion, publish a GP service that accepts the .kml input and convert it to something else that can be displayed. I dropped the development because our ArcGIS Server is setup so that it doesn't allow uploads, which pretty much is a deal-breaker for this approach and I haven't returned to see alternative approaches. Just something to keep in mind if you do go down GP Service path!
... View more
10-17-2016
05:05 AM
|
0
|
0
|
2616
|
|
POST
|
Hi Previn -- thank you for the info! I am able to work in WAB Developer edition and comfortable applying adjustments to the JavaScript. Would you know which .js file to look at in order to develop an interim solution? Also - since the Edit widget seems to function correctly with the subtypes, which .js file for that widget could I review to understand how it's handling that subtype description? Thanks again for your input!
... View more
10-10-2016
05:42 AM
|
0
|
2
|
3691
|
|
POST
|
What was the bet? 🙂 Funny thing is, I've just always referred to it as "ArcGIS Desktop", never even noticed the "for". "ArcGIS Enterprise" on the other hand? ....total surprise.
... View more
10-05-2016
08:51 AM
|
0
|
0
|
1326
|
|
POST
|
To follow up... The simple/regular Edit widget honors the subtype in the drop-down of the popup. I think we can be confident that this issue is isolated to the Batch Edit Widget!
... View more
10-05-2016
08:16 AM
|
0
|
4
|
3691
|
|
POST
|
Hi Derek, Thanks for the article. I can confirm that the hosted feature layer we are performing edits to does actually honor the domains in the popup of the batch edit widget! So that's great! Additionally, if that same edit is performed within a Web Map, it too shows the domains correctly PLUS it honors the subtype! Unfortunately, it seems handling of the subtype was possibly an oversight in the development of that widget. I can bring this WAB down to developer edition to make modifications to the widget if someone can provide guidance! Thanks for your input!
... View more
10-05-2016
07:51 AM
|
0
|
0
|
3691
|
|
POST
|
It appears that the Batch Edit Widget does not show the Subtype descriptions in the drop-down for a hosted Feature layer. However, this functions correctly in a regular Web Map with full editing control. Anyone have experience with this or a workaround? I can deploy a WAB 2.1 Developer edition if there are some modifications required.
... View more
10-04-2016
02:14 PM
|
0
|
9
|
4718
|
|
POST
|
Robert -- that definitely remedies the unresponsive behavior! Slight difference is that my original js didn't include that last line: is.exeNode, 'jimu-state-disabled'); If included it prohibits the widget from showing the draw/trashcan tools. So I just did not include it. Thanks again for all of your assistance!
... View more
10-04-2016
06:32 AM
|
0
|
2
|
647
|
|
POST
|
Can't wait to get to the office to implement this. You are a superior community member, Robert. Greatly appreciate your help!
... View more
10-04-2016
04:15 AM
|
0
|
0
|
647
|
|
POST
|
Hi Robert -- that test GP service I sent you has the same input/output params as the real one I have pointing to the app. It's very simple: an input FeatureSet and an output string. I even reset the widget in my test WAB to point to the same service I send you and I get the same behavior.
... View more
10-03-2016
02:10 PM
|
0
|
1
|
2093
|
|
POST
|
Thanks again Robert! I'm still experiencing the unresponsiveness of the widget as described. Do you think there is some other condition that's not included in your suggestion that isn't causing it to be invoked? if (!inputValues || !inputValues.inFS || !inputValues.inFS.features || inputValues.inFS.features.length === 0) I'll dabble as well even though I'm not fully involved in this level of dev, I can make some additional attempts with the suggestion you provided. Greatly appreciate it!
... View more
10-03-2016
01:42 PM
|
0
|
3
|
2093
|
|
POST
|
I will implement that suggestion! Also: I think if you add a map service to your WAB source web map and make that service layer visible with the Legend Widget, you will then get both the drop-down and the draw/trash can tools to show!
... View more
10-03-2016
01:24 PM
|
0
|
5
|
2093
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 02-17-2020 10:47 AM | |
| 1 | 10-25-2022 11:46 AM | |
| 1 | 08-08-2022 01:40 PM | |
| 1 | 02-15-2019 08:21 AM | |
| 2 | 08-14-2023 07:14 AM |
| Online Status |
Offline
|
| Date Last Visited |
01-22-2025
02:28 PM
|