|
POST
|
I have a feature class that I maintain in a geodatabase that has editor tracking enabled. It has the standard fields: created_user, created_date, last_edited_user and last_edited_date. I'm using the python functions in arcpy.mp to create the SD draft and to stage the definition file. Then using the ArcGIS API for Python to update and publish the SD file in AGOL. When I publish my map, all values in my editor tracking fields get overwritten with the date/time the script runs and the username that I use to login to AGOL. If I choose to make those fields not visible in my Pro project, then no data appears in my updated service. This happens despite having editing capabilities disabled. Is there a way to prevent this overwrite from happening? I would like the tracking information to reflect what I have in my geodatabase. Best, Leon
... View more
01-04-2017
11:30 AM
|
3
|
17
|
12817
|
|
POST
|
Installing this patch fixed the issue on Server 2008 R2, as well. Thanks, Leon
... View more
12-29-2016
05:54 AM
|
0
|
0
|
2608
|
|
POST
|
I'm not finding what I'm looking for in the API for the arcpy.mp class. I would like to access the metadata properties of a map inside my Pro project in a python script. I'm guessing the answer is "no, you cannot" since its not in the documentation, but I thought I'd put it out there just in case. I am using a map to create a draft service and it would be nice to pull out the metadata information of the map (Summary, Description, tags, etc) and incorporate them into the SD file. I would have thought that information would be passed along automatically, but it doesn't seem to be. Leon
... View more
12-22-2016
07:36 AM
|
0
|
2
|
927
|
|
POST
|
I had some help from Esri support to find the issue. I was able to see the service that was causing the error using the Network tab under the Chrome Developer Tools. Firefox has a similar set of tools, if you prefer that browser.
... View more
10-06-2016
07:23 AM
|
0
|
0
|
2015
|
|
POST
|
I understand your point about managing multiple applications that have a lot of overlapping functionality. It doesn't seem too efficient. With Web App builder, you are managing multiple configurations against the same code base. Yes, you are deploying multiple applications, but you aren't managing code for each of them; just the configuration files. I only have a few configurations that I am currently maintaining, so this hasn't been an issue. Leon
... View more
09-26-2016
07:40 AM
|
1
|
0
|
1052
|
|
POST
|
There isn't that kind of authorization at the widget level. I think you would be looking at creating two separate Web App builder applications; one for viewers and one for editors.
... View more
09-22-2016
05:27 AM
|
1
|
3
|
1052
|
|
POST
|
Hello, The attribute assistant add-in would do the trick, if you are doing the edits within ArcMap. Attribute Assistant | ArcGIS Solutions
... View more
09-02-2016
05:32 AM
|
0
|
0
|
2102
|
|
POST
|
First error resolved - It seems I had an item in my AGOL account as part of one my basemaps that was not shared publicly. The AGOL item is just a reference to a service hosted on my ArcGIS server, so the data actually showed up in the map.
... View more
08-30-2016
10:42 AM
|
1
|
2
|
2015
|
|
POST
|
Thanks, Robert. Your suggestion for adding the mime type to the web server fixed that particular issue. Still working on the first. Leon
... View more
08-24-2016
01:25 PM
|
0
|
3
|
2015
|
|
POST
|
Hello, I have an app I developed with WAB 2.1 developer edition. When the app starts up it throws a couple of errors (found using Firebug). Error: You do not have permissions to access this resource or perform this operation. http://js.arcgis.com/3.17/init.js Line 857 "NetworkError: 404 Not Found - http://WebServerName/appname/jimu.js/css/fonts/c4352a95-7a41-48c1-83ce-d8ffd2a3b118.woff" Anyone run into this or something similar? Thanks, Leon
... View more
08-24-2016
01:01 PM
|
0
|
5
|
3329
|
|
POST
|
I'm guessing you resolved this by now. In case any one else stumbles upon this thread, its worth noting that I clear both my browser cache and also the cookies after I implemented the code change. It kept zooming back to the extent I had last used before I updated the app.
... View more
06-23-2016
10:59 AM
|
0
|
0
|
1335
|
|
POST
|
Yes, I reported the problem using Web App Builder for Developers 2.0, though I noticed it occurs at 1.3 version as well. The search widget is configured with two sources; a locator and also a query of a layer from my web map that defines the pop-up. Here is the config... { "allPlaceholder": "Search", "showInfoWindowOnSelect": true, "sources":[ { "url": "http://YOURSERVER/arcgis/rest/services/YOURLOCATOR/GeocodeServer", "name": "Address/Street/Placename", "singleLineFieldName": "SingleLine", "placeholder": "Search", "maxResults": 6, "type": "locator" },{ "layerId": "TaxParcels_7256", "url": "http://services2.arcgis.com/YOURORG/arcgis/rest/services/YOURSERVICE/FeatureServer/0", "name": "Parcel ID", "placeholder": "Parcel ID", "searchFields": ["PARCELID"], "displayField": "PARCELID", "exactMatch": true, "maxResults": 6, "type": "query" }] }
... View more
06-09-2016
06:16 AM
|
0
|
0
|
1413
|
|
POST
|
Hi John, The field I was having an issue with is a long integer field. There were no changes made the feature service or underlying data to get it to work. The solution was a modification the code for 'getFormattedNumber' function within the jimu.js/utils.js file, as referenced above. Leon
... View more
06-08-2016
07:24 AM
|
0
|
2
|
1413
|
|
POST
|
With thanks to Esri support, this issue was resolved. See below... To summarize the case we resolved the case by avoiding number variable to string. We made changes under jimu.js/utils.js file. Following is the modified code snippet. getFormattedNumber: function(num, format) { if (typeof num === 'number') { return num; }); } return num; },
... View more
05-02-2016
02:29 PM
|
1
|
0
|
1413
|