POST
|
Have you tried adding the script to a toolbox as a script tool then put the script in a model and schedule it? Now that you can schedule any model easily, I have stopped using stand alone scripts when possible and just create a new model and schedule it. This has worked flawlessly for over a year running scripts nightly.
... View more
01-11-2024
06:55 AM
|
0
|
1
|
527
|
POST
|
I am also curious about data validation. I have a field for people to enter an email, but I want to validate that only organization emails are used (local government). So if someone enters an email with different domain than our org domain, it doesn't accept it. Example - if field is set to only accept emails that end in @localgov.us. Valid emails would be dave.dave@localgov.us, but not dave.dave@gmail.com.
... View more
02-07-2020
06:48 AM
|
0
|
1
|
2621
|
POST
|
I'm looking to change the default symbol when using the "Add Data" widget. I am using the developer edition, but can't find the code to set the symbol anywhere in the widget code. The default point icon is way too small. Thanks!
... View more
07-29-2019
01:27 PM
|
0
|
8
|
2620
|
POST
|
It looks like Attribute Rules are available in Pro 2.1. Here are the highlights: 1. Only supported in Enterprise geodatabase datasets. 2. Rules are created using Arcade language 3. Once rules are added to a dataset, the dataset is only accessible to Pro 2.1 and over - NO longer usable in ArcMap. These are the main ones that I picked up from the Help
... View more
01-19-2018
09:39 AM
|
6
|
3
|
3782
|
DOC
|
Hi Robert! I apologize if this has been asked before but I can't seem to figure out how to search through only these comments. I am trying to pass more than one search string via URL using a pipe according to the help. I am testing it out on your demo site using: esearch=1998|54962&slayer=3&exprnum=0 to have it find two parcels and it doesn't seem to work. Am I misunderstanding this functionality? Ultimately what I want to do is take a list of parcel IDs and have it search for all of them at the same time using a URL parameter. Again, thank you for everything you do!!
... View more
07-27-2017
10:11 AM
|
0
|
0
|
3081
|
POST
|
Seems to be fixed in 10.4.1. This post was very helpful, I ended up skipping 10.3 and going to 10.4.1 because I have several scripts that broke at 10.3.
... View more
01-03-2017
11:43 AM
|
2
|
0
|
711
|
POST
|
To configure just the print widget to work properly, I did not use Client IDs or App IDs, I don't believe. Here is what I wrote down for myself. // for proxy.config file <?xml version="1.0" encoding="utf-8" ?> <ProxyConfig allowedReferers="*" mustMatch="false"> <serverUrls> <serverUrl url="http://mydomain.com" matchAll="true"/> </serverUrls> </ProxyConfig> <!-- See https://github.com/Esri/resource-proxy for more information --> //in the config.json file: //scroll to bottom about line 518: make sure httpProxy is set to: }, "wabVersion": "2.0.1", "isTemplateApp": true, "isWebTier": false, "httpProxy": { "useProxy": true, "alwaysUseProxy": false, "url": "http://yourdomain.com/folder/Proxy/proxy.ashx", "rules": [] //And in the widgets\print\print.js file: about line 187 is set to useProxy _getPrintTaskInfo: function() { // portal own print url: portalname/arcgis/sharing/tools/newPrint var def = new Deferred(); if (this._isNewPrintUrl) { // portal own print url def.resolve({ isGPPrint: false }); } else { esriRequest({ url: this.printTaskURL, content: { f: "json" }, callbackParamName: "callback", handleAs: "json", timeout: 60000 },{useProxy: true, usePost: false}).then(lang.hitch(this, function(data) { def.resolve({ isGPPrint: true, data: data }); }), lang.hitch(this, function(err) { def.resolve({ error: err }); }) ); } return def; },
... View more
08-16-2016
09:04 AM
|
1
|
0
|
2050
|
POST
|
Thank you Robert, you saved the day again. I had to go through all the steps to set up the proxy first, but finally got all my apps back up and running. BTW - esri support thinks you are a legend! For anyone looking for the information on how to set up a proxy - here are the links: Setting up a Proxy | Support Services Blog Setting up a proxy with Web AppBuilder Developer Edition | Support Services Blog My workflow now is to download the code from WAB, then edit the config.json and print.js files. Since I did not utilize secure services for this site, I did not have specific rules to add in the config.json inside the [].
... View more
08-09-2016
10:50 AM
|
2
|
4
|
2050
|
POST
|
I had a user that was not seeing all of the options in the print widget, namely the advanced button and title, etc - print button does show up. Once I noticed they were using Chrome 52, I upgraded and that is the problem. I haven't found any other widgets that have been affected yet. The Print widget tries to load and then I get a time out message. It does work properly in IE11. As half my users are on Chrome - not good. Property Search Is there a fix for this? Has anyone else noticed? Would upgrading to WAB DE 2.1 fix the issue?
... View more
08-08-2016
09:47 AM
|
4
|
18
|
5864
|
POST
|
Has anyone developed a tool or know of code that would convert the Flex Builder Enhanced Draw saved TXT file to a JSON file that will work in the Enhanced Draw for Web App Builder to import? I have a few public users that used our old site as their personal GIS and now they cannot access their old drawings via the new WAB site I created.
... View more
07-25-2016
10:21 AM
|
0
|
1
|
855
|
POST
|
Robert, I have the code working correctly, but need one more adjustment. I have tried fruitlessly this morning to set the fill to 100 % transparent and can't seem to find the correct reference. I tried using "style": "esriSFSNull" which does not seem to work. Here is my current code that still puts a red fill with my updated yellow line (the red fill looks about 50% transparent??). map.infoWindow.fillSymbol = new SimpleFillSymbol({ "type": "esriSFS", "style": "esriSFSSolid", "color": [0,0,0,0], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [255,255,51,255], "width": 5 } });
... View more
05-24-2016
09:03 AM
|
1
|
1
|
646
|
POST
|
Thank you Robert, I've been staring at code all day and this was my last endeavor... The thread is exactly what I needed!
... View more
05-24-2016
06:14 AM
|
0
|
2
|
646
|
POST
|
Does this work the same in WAB 2.0? As soon as I add the esri/simple fill symbol to the code and save, the app is blank??
... View more
05-23-2016
04:00 PM
|
0
|
4
|
1288
|
Title | Kudos | Posted |
---|---|---|
1 | 05-24-2016 09:03 AM | |
1 | 08-16-2016 09:04 AM | |
6 | 01-19-2018 09:39 AM | |
2 | 01-03-2017 11:43 AM | |
4 | 08-08-2016 09:47 AM |
Online Status |
Offline
|
Date Last Visited |
01-11-2024
10:34 PM
|