|
POST
|
In Chrome if i am in developer tools the 'Help' button works but once i close out of Dev tools it stops working.
... View more
05-10-2017
10:40 AM
|
0
|
0
|
1777
|
|
POST
|
OK thanks for responses and help. I am lost as to why it doesn't work in Chrome or Internet explorer.
... View more
05-10-2017
10:17 AM
|
0
|
1
|
1777
|
|
POST
|
Same results in Chrome incognito window. I have been doing a 'Empty cache and hard reload'. It's on the new 'Help' button that has the issue.
... View more
05-10-2017
10:03 AM
|
0
|
4
|
1777
|
|
POST
|
interesting. i am on Version 57.0.2987.133 on Chrome. Also does not work on internet explorer for me. Any idea on why i am having these issues with these browsers.
... View more
05-10-2017
08:52 AM
|
0
|
6
|
2842
|
|
POST
|
Robert i see the problem i was testing in Chrome, once i opened the application on Firefox i was able click on the help button. So is the issue with Chrome? Also does not work on internet explorer.
... View more
05-10-2017
08:43 AM
|
0
|
8
|
2842
|
|
POST
|
WHAT! Did you add to Dev Web Appbuilder folder or the deployed app? i am working with ta deployed application.
... View more
05-10-2017
08:38 AM
|
0
|
0
|
2842
|
|
POST
|
my apologies for my slowness, but i do have this._bindEvents(): in the widget.js. See attached.
... View more
05-09-2017
03:57 PM
|
0
|
13
|
2842
|
|
POST
|
I need to be able to add increments to duplicates in the P_ID field like below with arcpy. No sure how to though. P_ID 23560 -->0 P_ID 23560 -->1 P_ID 23560 -->2 P_ID 23560 -->3 P_ID 23560 -->4 P_ID 23571 -->0 P_ID 23571 -->1 P_ID 23571 -->2. I am working with the following code that adds 'Y' or 'No' in search of duplicates. Duplicates get a 'Y' and none Duplicates get 'N'. import arcpy
#find Duplicate records, add Y or N in updateFeild
inShapefile = 'VacantLots'
checkField = "P_ID"
updateField = "Count"
with arcpy.da.SearchCursor(inShapefile, [checkField]) as rows:
values = [r[0] for r in rows]
d = {}
for item in set(values):
if values.count(item) > 1:
d[item] = 'Y'
else:
d[item] = 'N'
with arcpy.da.UpdateCursor(inShapefile, [checkField, updateField]) as rows:
for row in rows:
if row[0] in d:
row[1] = d[row[0]]
rows.updateRow(row)
... View more
05-09-2017
02:54 PM
|
0
|
8
|
4765
|
|
POST
|
oh well maybe that's my problem i thought i was. How call that function correctly?
... View more
05-09-2017
02:22 PM
|
0
|
15
|
4839
|
|
POST
|
I was testing it on the ElevationProfile widget so i do have the _bindEvent in the app\widgets\ElevationProfile\Widget.js. See attached.
... View more
05-09-2017
01:38 PM
|
0
|
17
|
4839
|
|
POST
|
I don't get any errors, it's as if when i click on the 'Help' button nothing happens at all, no click or anything.
... View more
05-09-2017
10:39 AM
|
0
|
19
|
4839
|
|
POST
|
I am still struggling on how to do this. Would really appreciate some help.
... View more
05-08-2017
11:36 AM
|
0
|
21
|
4839
|
|
POST
|
My bad. The 'Help' image is in the Elevation Widget. when hover over the 'Help' mage on the widget my pointer does not turn into a pointing finger and if i click on it the 'Help' nothing happens. I do have the widgets/ElevationProfile/images/help.png and widgets/ElevationProfile/help/index.html in the app.
... View more
05-05-2017
07:02 AM
|
0
|
0
|
4839
|
|
POST
|
Not sure how complicated it is but i would like to add a 'Help' button onto some of the widgets i have on my application. I tried coping the 'Measure' widget code but i can't get to work. I would gratefully appreciate any help please. I have added the help image to html with the following and can see the help icon inside the widget. div data-dojo-type="jimu/dijit/LoadingShelter" data-dojo-attach-point="shelter" data-dojo-props="hidden:true"></div>
<br><br><br><br><br><br><br><br><br><br><br><br>
<img src="widgets/ElevationProfile/images/help.png" height="25" width="62" data-dojo-attach-point="helpImage" style="cursor:pointer" />
</div> I added the function in the _blindEvents: Function like so. _bindEvents: function () {
this.own(on(this.btnClear, 'click', lang.hitch(this, this._clear)));
html.setStyle(this.btnClear, 'display', 'none');
this.own(on(this.btnExport, 'click', lang.hitch(this, this._export)));
this.own(on(this.helpImage, 'click', lang.hitch(this, function() {
var win = window.open("widgets/ElevationProfile/help/index.html", "_blank");
win.focus();
})));
html.setStyle(this.btnExport, 'display', 'none');
html.setStyle(this.btnInfo, 'display', 'none');
html.setStyle(this.btnDownload, 'display', 'none');
},
... View more
05-04-2017
02:58 PM
|
0
|
25
|
10434
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-27-2022 11:37 AM | |
| 1 | 10-31-2023 10:16 AM | |
| 1 | 02-16-2023 01:50 PM | |
| 1 | 08-11-2021 11:13 AM | |
| 1 | 01-06-2021 10:45 AM |
| Online Status |
Offline
|
| Date Last Visited |
09-10-2024
10:42 AM
|