POST
|
Liana, Using Python, the Codeblock (Pre-logic Script Code) would be: def result(value):
import re
return "" if re.search("[a-zA-Z]", value) else value And the calculation would be: result( !<FIELD_NAME>! ) Be careful overwriting the same field. You can't undo it unless you start an edit session first. Larry
... View more
05-20-2016
11:12 AM
|
2
|
0
|
522
|
POST
|
Something like this? http://gis.hamiltoncounty.in.gov/MapViewer/index.html?center=255888%2C1705704&scale=2400 or this? http://gis.hamiltoncounty.in.gov/MapViewer/index.html?center=230394%2C1747649&scale=600
... View more
04-06-2016
09:06 PM
|
0
|
1
|
391
|
POST
|
This doesn't address your primary question, but when you do show the popup, you need to also put an arrow at the end of the line segment so users can figure out which is the left side and right side of the street. Something like this, only more cartographic: =============================>
... View more
04-06-2016
09:02 PM
|
1
|
0
|
442
|
POST
|
Sebastian, I call that widget my WelWhatDisHelpAbout Widget (Welcome, What's New, Disclaimer, Help, About - the Notice tab came after I had already named the widget). It relies on a headless widget to start it, and Anvil is a very small example of the headless widget I use called Acme. I just haven't had time to post a documented version of WelWhatDisHelpAbout, but you are free to dig it out of the Web AppBuilder Application that is posted above. I haven't started working with WAB Version 1.2, so all of my code is still based on WAB 1.1. Larry
... View more
08-24-2015
01:13 PM
|
0
|
1
|
1094
|
POST
|
Robert, I think you got the "Starts With" and "Ends With" reversed. Larry
... View more
08-18-2015
11:00 AM
|
3
|
1
|
773
|
POST
|
Kumar, Sorry. Not sure how that happened. Let me try again. <script src="env.js"></script>
<script type="text/javascript" src="simpleLoader.js"></script>
<script type="text/javascript" src="preProcess.js"></script><!-- lcs - This file runs one or more processes before the application loads. -->
<script type="text/javascript" src="init.js"></script>
Larry
... View more
08-13-2015
08:28 PM
|
0
|
0
|
492
|
POST
|
Kumar, I placed it near the end of index.html like this: <script src="env.js"></script>
<script type="text/javascript" src="simpleLoader.js"></script>
<script type="text/javascript" src="preProcess.js"></script><!-- lcs - This file runs one or more processes before the application loads. -->
<script type="text/javascript" src="init.js"></script> Hope this helps. Larry
... View more
08-11-2015
06:20 PM
|
0
|
2
|
492
|
POST
|
Sebastian, You might also look at my _WidgetOpacityMixin Version 1.1.3 May 5, 2015. It allows you to adjust the opacity of the widget so you can see through it a bit. Minimizing the widget is a good idea, but why bother unless you know what the map will look like? Larry
... View more
08-11-2015
06:08 PM
|
1
|
0
|
759
|
DOC
|
Check your settings in AGOL. They may be overriding the widget config. In AGOL you can set the URL for printing, set the default geocoder, etc. Larry
... View more
08-07-2015
07:19 PM
|
0
|
0
|
4748
|
POST
|
This might be a clue; I honestly don't know. I discovered a long time ago that I could open my app in WAB Developer Edition with either of two URLS in Chrome, FireFox, and Safari: http://localhost:3344/webappbuilder/apps/<app#> http://<computer-name>:3344/webappbuilder/apps/<app#> But only the first URL (localhost) works with IE (all versions). Secondly, I've heard of IT departments somehow blocking users from using Chrome or FireFox. Shame on them. Larry
... View more
08-07-2015
07:16 PM
|
2
|
6
|
800
|
DOC
|
Michael Robb and glenn hazelton: One thing you may want to check. Look in the main config.json file. If there is a config property for the Print Plus Widget (probably pointing to "configs/PrintPlus/config_Print Plus.json"), then that is the path where the widget will look for its config file. If there is no config property for a widget, it will look in the folder containing the widget. Both config files may exist, but only one will be used. Larry
... View more
08-07-2015
07:02 PM
|
0
|
0
|
4748
|
POST
|
Carlos, The widget at https://community.esri.com/external-link.jspa?url=http://gis.hamiltoncounty.in.gov/mapviewer/index.html is in the Hamilton County Flex Viewer. I also adapted it to an early version of the CMV, but switched my focus to the WAB in April 2014. I took what I had done for the CMV and extended it for the WAB. I haven't had the time to pull this widget out of the WAB viewer and document it. It has a dependency on the "Acme" widget, which is a headless widget. The Anvil samples on my page are examples of the "Acme" widget that have been scaled down to perform single tasks. You can download my entire WAB application from here to see how it fits into the application. I have retired from Hamilton County, but now I have another full time job, and my time for keeping up with GeoNet has been pretty limited. Larry
... View more
08-06-2015
05:32 PM
|
1
|
1
|
1137
|
DOC
|
Glenn, Good to hear from you. I'm pretty sure you can't offer me a public URL to look at this, so the next best thing is for you to show me what you are getting in your browser debug tools. My preferences are Chrome, FireFox, and IE, in that order. Larry
... View more
08-03-2015
05:46 PM
|
0
|
0
|
4748
|
DOC
|
James, Sorry I haven't answered sooner. One thing I see in your config file is the "outWkid" is set to 2965. That's Indiana East State Plane, NAD83. I doubt if that is the problem, but it should be changed to the wkid of spatial reference you want. I am also wondering if the "mapScales" property is appropriate for your spatial reference. They are currently set for a spatial reference that uses feet. 300 is 1:300 or 1" = 25'. 60,000,000 is 1:60,000,000 or 1" = 5,000,000 feet. If your spatial reference uses degrees or meters, then they should probably be adjusted. They should also be adjusted to reflect the levels of display for the basemap you are using. Do you have a public URL I can look at? Larry
... View more
08-03-2015
05:44 PM
|
0
|
0
|
4748
|
POST
|
Terry, I use Notepad++. I downloaded the JSLint plugin, and am very happy with this environment. All free. Larry
... View more
08-03-2015
07:45 AM
|
1
|
0
|
864
|
Title | Kudos | Posted |
---|---|---|
1 | 08-03-2015 07:45 AM | |
1 | 08-06-2015 05:32 PM | |
1 | 08-11-2015 06:08 PM | |
1 | 06-09-2015 06:58 PM | |
1 | 01-22-2015 03:06 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|