|
POST
|
Do not be intimidated by the json file. A json file typically contains data (in this case, configuration settings) in a separate file (like a text document), stored in a server's directory (like your local disk>documents folder, or whatever location you choose to save it in). A website (in this case, the wab app) is served out to the world wide web with a web server (Apache, IIS, etc). At some point, the website calls a json file to display the data the json file contains in the website. In this case, the app's json file will contain the configurations you made in the configurator. It will not hurt anything to look and become familiar with the json file. You will see it is easy to work with, because it has the same settings you configured in the app's ui side. My suggestion was so that you wouldn't have to spend a lot of time configuring the query widget in the ui side, since all the configs are listed in the json already. I'm not sure what you mean by: "We host the app on our own server, but so far, all changes have been made on AGOL." If you are serving the app from your own web server, you will not be able to configure in agol (as far as I know). Do you mean that you are hosting the services from ArcGIS Server, but then using your services in an agol web map, then making an agol web mapping application from that web map? I'm not sure how to answer: "If I have to download the app to put onto the server, and no changes have been made, why would the Query Widget suddenly become corrupt?"
... View more
08-31-2018
07:01 AM
|
0
|
2
|
2870
|
|
POST
|
Sounds like you are deploying WAB using AGO. If this is the case, you can use AGO assistant (https://ago-assistant.esri.com/) to view the json file for your app. In this json file, you can find the configurations you set for the query widget. I recommend taking a copy of the json file, and saving it to a notepad document, before you think about doing anything else to it. You can inspect the config settings for the query widget in the json file to see if anything looks off. If all the configs look good, it may be possible that the widget became corrupt somehow. Try simply removing the widget from the app's ui config side, save the app, re-add the widget (but don't configure it here), save the app, close the app. Now, the app's json in ago assistant (after refreshing) should not have you query widget configs anymore. You can use the notepad copy of the original json to replace the part with the query widget configs. The changes you make to the json should now reflect in the app's ui side. On the other hand, for those people who are deploying a WAB Dev Ed. app from their own web server: You will not see the app's json in ago assistant. You will see it in the app folder's config.json file. You can do a procedure similar to the one I mentioned above.
... View more
08-31-2018
06:39 AM
|
0
|
4
|
2870
|
|
POST
|
Also, maybe try this workflow: Make a relationship between a FC and table. At least for the smart editor widget, you can disable editing on the FC, but not the table. Doing this will bypass the template picker, and the user can go straight into editing related table records for the parent FC.
... View more
08-21-2018
12:10 PM
|
0
|
1
|
2098
|
|
POST
|
See Geonet Discussion created by Alex Friant titled 'Preserving a GlobalID while moving data between Feature Classes' https://community.esri.com/thread/202815-preserving-a-globalid-while-moving-data-between-feature-classes
... View more
08-15-2018
11:28 AM
|
1
|
0
|
1022
|
|
POST
|
oThis geonet thread gives info on how to symbolize properly: https://community.esri.com/thread/52380 Show Direction of Route with Arrow Symbol??? Question asked by Kevin Doyle on May 30, 2012 Initially, I added specific service url's to the mxd from another published service. For example, http://domain/arcgis/rest/services/SanitarySystem/ServiceName/MapServer/10 I had this layer grouped in the mxd with another layer. Published it using ArcGIS server as the host. The symbology was ok in the rest end point viewer. When I added the layer url to a web map on agol, it turned into a solid black line. I tried adding the group parent url to the web map, but the web map shows an error: The layer is not a supported type and cannot be added to the map. Three possible solutions: 1 add the whole server url to the web map http://domain/arcgis/rest/services/SanitarySystem/ServiceName/MapServer One con of doing it this way is that if you have other layers in the web map, the web map places this towards the bottom of the layer list. The user cannot reorder it. If there are non-transparent polygons on top of this map service, then it will be covered. Also, I attempted to remove the unnecessary layers from the web map, but it seems that once you add the MapServer url, you cannot remove the individual index layers of that map service. 2 Symbolize the line arrow by itself (NOT in a group layer, NOR any other layers in the mxd) in a source mxd. Publish as a map service using ArcGIS server. Add the Map service url (http://domain/arcgis/rest/services/SanitarySystem/ServiceName/MapServer) to web map One con of doing it this way is that if you have other layers in the web map, the web map places this towards the bottom of the layer list. The user cannot reorder it. If there are non-transparent polygons on top of this map service, then it will be covered. Do not add the 'http://domain/arcgis/rest/services/SanitarySystem/ServiceName/MapServer/0' 3 use any basic line symbol at the mxd, with color of choice, and no arrows. use agol to accomplish arrow symbology change style select a drawing style symbols Arrow 2 pixels width choose the arrow pointing to the right (third one down).
... View more
08-13-2018
12:34 PM
|
1
|
0
|
7829
|
|
POST
|
Justin, can you clarify: "I zipped the geodatabase and uploaded it directly through the web browser and found the attachments came through this way. However, I would need to manually reconfigure the service in AGOL rather than the have my settings carry over through the publishing process. " How did you upload a zipped gdb directly through browser? What do you mean by manually reconfigure service in AGOL? (Using ArcGIS Online Assistant can help you maintain web map config settings by taking a copy of the web map json and pasting/modifying url's where you might need it.)
... View more
07-23-2018
07:29 AM
|
0
|
0
|
1706
|
|
POST
|
I tried editing the mxd directly, and got an error: The create feature task could not be completed. Insufficient permissions[database.schema.fc] found this thread: What SQLServer user permissions are needed to add features? Question asked by Greig McArthur on Apr 22, 2015 https://community.esri.com/thread/150621 My GIS team has established a practice to maintain consistency in the publishing process: Use the Database Connection authentication for the username that created the version in the mxd to be published. So, all of the layers dragged in from arcCatalog into the mxd came from there. The arcCatalog connection should be connected using the user's authentication, and the Geodatabase Connection Properties should be pointing to the version the user created. This same arcCatalog connection should be registered with the server prior to publishing a service. This is accomplished by using the 'Import', not 'Add' button of the 'Register Database' dialog of ArcGIS Server Properties. Doing it in this manner will allow you to choose the exact arcCatalog connection that is consistent with the layer data sources in the mxd. Suggested name format for the registered database is 'Instance_Username_Database_Version' with that said, the thread above might imply that I also need to give that same user the appropriate privileges using arcCatalog. Also, as the thread mentioned, only give the user 'Connect' privileges within sql server. This was the solution.
... View more
07-19-2018
03:29 PM
|
0
|
0
|
4492
|
|
POST
|
I have also tried different browsers, clearing cache and cookies. I set left security open to everyone at the service level. The web map is shared only to my organization, and further, to a group within my organization. Still have same issue. I found out someone else had this same issue with no resolution: http://lists.dep.state.fl.us/pipermail/shrug-l/2016-October/004815.html Found this thread: ApplyEdits to Feature Service causes Errors Question asked by Walter Dziuba on Apr 6, 2017 ApplyEdits to Feature Service causes Errorshttps://community.esri.com/thread/193021-applyedits-to-feature-service-causes-errors I verified that I did have enabled create, delete, query, and update in my service. Found this thread: ApplyEdits missing attributes Question asked by Jillian Stanford on Nov 17, 2017 https://community.esri.com/thread/205375-applyedits-missing-attributes Found this thread: JavaScript API 2.7 vs. 2.8 - FeatureLayer.applyEdits Question asked by Michael Leahy on Apr 2, 2012 https://community.esri.com/thread/48665 Found an ESRI technical support article: Problem: Unable to add new features to an ArcGIS Server feature service in ArcGIS Online https://support.esri.com/en/technical-article/000011836 I do not want to try this because none of my gdb fc's include Z values in their geometry properties.
... View more
07-19-2018
01:35 PM
|
0
|
0
|
4491
|
|
POST
|
I also see an error in the applyEdits from the preview pane of f12 tools: {error: {code: 400, message: "Unable to complete operation.",…}} error:{code: 400, message: "Unable to complete operation.",…} code:400 details:["Internal error during object insert."] message:"Unable to complete operation." The applyEdits should return something like this instead, but its' not: {addResults: [{objectId: 1, globalId: "{C11CC1C1-1C-111C-CC1C-1C11C1C1}", success: true}],…} addResults:[{objectId: 1, globalId: "{C11CC1C1-1C-111C-CC1C-1C11C1C1}", success: true}] 0:{objectId: 1, globalId: "{C11CC1C1-1C-111C-CC1C-1C11C1C1}", success: true} globalId:"{C11CC1C1-1C-111C-CC1C-1C11C1C1}" objectId:1 success:true deleteResults:[] updateResults:[] (Note, I changed the real object id and global id numbers for example's sake) Looking at the AcrGIS Rest API, I found out that my feature service error code is 1017: https://developers.arcgis.com/rest/services-reference/feature-service-error-codes.htm https://developers.arcgis.com/rest/services-reference/apply-edits-feature-service-.htm
... View more
07-19-2018
12:50 PM
|
0
|
0
|
4491
|
|
POST
|
It looks like the difference in the network between the two is that the one that works shows a 'buttonEnabled.png', whereas the other one never reaches that step. See pic
... View more
07-19-2018
07:35 AM
|
0
|
0
|
4491
|
|
POST
|
My organization has two almost identical web maps on ago. Each has several editable feature services from my local server. The web maps are set to allow edits on these layers. In one web map, I can get the edit dialog to popup, and I can successfully save an edit. In the other web map, I cannot do this: Instead, I can click edit, hover the mouse over the map, and although I see the prompt to 'Click to add a point. Press CTRL to enable snapping', nothing happens when I click. I used ago assistant to ensure that there are no issues with the web map json. I also verified the source mxd has no issues, reset field order, republished, and the service is ok too. All is fine with the gdb schema. See the f12 network pics for the web map that can successfully edit, vs the one that can't. The f12 console tab showed no errors for either web map.
... View more
07-18-2018
04:14 PM
|
0
|
4
|
5132
|
|
POST
|
regarding arcmap performance: In the past, I Took some suggestions from the Github article to make ArcMap faster By Kevin Godsey https://github.com/ncss-tech/geo-pit/wiki/How-to-Make-ESRI-Desktop-ArcMap-Faster
... View more
07-17-2018
02:17 PM
|
1
|
0
|
844
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-11-2024 08:12 PM | |
| 1 | 10-03-2024 07:58 AM | |
| 1 | 01-13-2025 10:30 AM | |
| 1 | 04-18-2025 04:53 PM | |
| 1 | 02-21-2025 09:01 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-25-2025
04:55 PM
|