|
POST
|
Yes, I see how that would work, but I am looking for an easier solution. I won't be the one making these updates, the researchers will be responsible and they will only have access to the data through the map and/or application. Overwriting the data every time seems a little risky if not done correctly.
... View more
03-30-2020
08:21 AM
|
0
|
3
|
5062
|
|
POST
|
I have a hosted feature layer that contains data from fieldwork conducted by our researchers. Because data collection sites are in the ocean, the researchers do not want to take surveys on site, but would rather upload the data once back in the office. This presents a challenge for appending location data to the existing hosted feature layer and I haven't been able to figure out a good way to accomplish this. I know it is possible to append data to a hosted feature layer from the details section of the hosted feature layer on my account content page, but this is not a good solution. First of all, I am the only one who has access to this database since it was created using my account, therefore I am not only person who can append data to it. I was hoping that I could create an editable web map that the biologists could use to edit and add data to the layer, but this doesn't seem to be possible either. I can import data from a csv file to the map, but there is no way to append it to the existing layer (at least none that I can find). I know it is possible to add features by clicking on the map, but this is not very accurate. I really need the ability to add features by typing in the exact coordinates, or by appending from a .csv file that contains the exact coordinates. Am I missing something, or is there no way to do this? I also tried creating a web app, but basically have the same problem. There is a 'edit' widget, but no import function. Thanks for any suggestions.
... View more
03-30-2020
06:42 AM
|
1
|
9
|
5241
|
|
POST
|
I have a WAB application embedded in an iframe on a .aspx page and the app is being blocked for mixed content. I checked the 'src' link in the aspx file, and it is "https..." and I also check all of the links to the data sources in the config files, including links to images and I cannot find any un-secure links. Could this be an issue with the iframe and has anyone else encountered this before? Also the main web form where the iframe is located and the app are in the same folder on the same server, so I know the domain isn't an issue. Any ideas would be greatly appreciated.
... View more
03-05-2020
12:02 PM
|
0
|
0
|
725
|
|
POST
|
I am getting the following error: Survey123 error 400 "custom feature service submission url is not compatible..." even though according to esri documentation my submission url is correct.: How To: Create Survey123 for ArcGIS surveys that connect to non-federated ArcGIS Server services The id in the submission url matches the id of the survey which I got from the survey url as instructed in the above doc. Url to the survey https://survey123.arcgis.com/share/+ surveyId submission url format I am using: ArcGIS Portal Directory + surveyID Is there some other reason I could be getting this error? Thanks
... View more
03-02-2020
08:40 AM
|
0
|
1
|
3269
|
|
POST
|
Thanks Robert. That helps a lot as I still have a lot to learn when it comes to the server side of things and you haven't steered me wrong yet!
... View more
02-18-2020
07:33 AM
|
0
|
0
|
1042
|
|
POST
|
I have been tasked with migrating an R Shiny App to Web AppBuilder and the data for the app is located on an SQL server and is currently being accessed through a open source api. Question one is: do I need to locate the application on the same server that the api is located on in order to prevent a cross-origin domain error? I ask because this is exactly what happened when trying to make a ajax request from a different domain than that of the api. Question two is: Which is the best route to go for this? Continue to use the third party api to connect to the data, or create views to the database tables in ArcMap and publish a new REST service. It seems there are advantages and disadvantages to both. My thinking is that creating the new REST service, while being a little more work at first, would save time and effort in the long run because there would be a lot less custom coding querying the data ( I should be able to use out-of-the-box widgets). Unless I am wrong, If I access the data using the third party api, it would require a lot of custom coding on the back end when trying to query the data. Thanks for any comments and advice
... View more
02-18-2020
07:05 AM
|
0
|
2
|
1092
|
|
POST
|
Thanks for the clarification. At least I have a direction!
... View more
12-03-2019
01:25 PM
|
0
|
0
|
4217
|
|
POST
|
If I am able to query the WMA Entrance layer, can't I just pull the parameters from the html and plug them in? I can get them using getUrlParams() function as long as I don't use the 'query' parameter. Theoretically, I should be able to plug them in to the query filter and run the query. I know using the eSearch would be a lot easier, but I need to be able to filter each subsequent dropdown menu by the previous expression and I can't find a way to do that with the eSearch widget. That's kind of important since there are over 100 WMAs.
... View more
12-03-2019
12:57 PM
|
0
|
2
|
4217
|
|
POST
|
I have two rest service feature layers added to the map using the Local Layer widget. 1. Wildlife Management Area Entrances Florida (this is the one I want to query) 2. Wildlife Management Areas Both show up in the map and I am able to query the 1st one just fine using the query widget. I need to be able to run the query from the url as well. for instance if someone accesses the app from a particular WMA page, it will query that WMA and zoom to it on the map.
... View more
12-03-2019
12:34 PM
|
0
|
4
|
4217
|
|
POST
|
I did try to do that Robert, but all I get is the World Topo basemap. I took the portalUrl and the itemId from the config.json file, substituted it into the url and it shows the basemap, but no operational layers. I should be seeing two of them. I assumed that this is because the layers are loaded separately from the basemap, so I don't really have a web map like you would if you created a WAB online app. Still don't know what I am missing.
... View more
12-03-2019
12:19 PM
|
0
|
6
|
4217
|
|
POST
|
I am trying to use URL parameters to execute a search with the Query widget, but am having trouble getting the widget to see the url correctly. when I try and use the built in 'query' parameter, no matter what id I use I get an 'invalid id' message in the console. I am very unclear as to what id it is asking for since the layer id I am trying to query on isn't some long integer, at least not that I can find. The layer id in the config file is the 'name' of the layer, which doesn't work, and if I try using the id from the REST service json page for the layer, that doesn't work either. Do I have to generate the id somehow? This url throws invalid id error https://ocean.floridamarine.org/InDevelopment/GA_WebProjects/WMA_Entrances/WMA_EntranceFinderWAB2.13_sandbox1/?query=WMA%20Entrances%20Florida,NAME_ENT,Andrews%20WMA This url seems to work, no error. https://ocean.floridamarine.org/InDevelopment/GA_WebProjects/WMA_Entrances/WMA_EntranceFinderWAB2.13_sandbox1/?WMA%20Entrances%20Florida,NAME_ENT,Andrews%20WMA Aside from the id question, is there an advantage to using the 'query' parameter? Are there any limitations in not using it? I am still able to extract the parameters in the widget.js file using both jimuUtils.urlToObject() method and getUrlParams() method. I have already looked at the esri docs, but am still confused! Use URL parameters—Web AppBuilder for ArcGIS | Documentation URL query parameters in Web AppBuilder — CommunityHub Thanks for any clarifications
... View more
12-03-2019
11:57 AM
|
0
|
8
|
4564
|
|
POST
|
I fixed it. I had to delete all of the <br> tags in the popup description in the config file. Not sure why they get inserted, seems to only happen when custom configuring popups in the local layer widget.
... View more
11-19-2019
11:46 AM
|
0
|
0
|
749
|
|
POST
|
I am trying to customize a popup using the local layer widget and for some reason there is a lot of extra space at the top. After investigating, I found that about 20 or so <br> tags are being placed (not by me) before any of the content and I want to know how to keep this from happening. popup html: <div style="width:250px;">
<table style="width:100%;">
<tbody>
<tr>
<td style="color:#a6a6a6"><b><i>Entrance Name: </i></b></td>
<td style="color:#333333">{NAME_ENT}</td>
</tr>
<tr>
<td style="color:#a6a6a6"><b><i>Management Type: </i></b></td>
<td style="color:#333333">{TYPE_MGT}</td>
</tr>
<tr>
<td style="color:#a6a6a6"><b><i>Entrance Type: </i></b></td>
<td style="color:#333333">{TYPE_ENT}</td>
</tr>
<tr>
<td style="color:#a6a6a6"><b><i>Website: </i></b></td>
<td style="color:#333333"><a href="{WEBSITE}" target="_blank">Website</a></td>
</tr>
<tr>
<td style="color:#a6a6a6"><b><i>Longitude: </i></b></td>
<td style="color:#333333">{LON_dd}</td>
</tr>
<tr>
<td style="color:#a6a6a6"><b><i>Latitude: </i></b></td>
<td style="color:#333333">{LAT_dd}</td>
</tr>
</tbody>
</table>
<a href="https://www.google.com/maps?saddr= &daddr={LAT_dd},{LON_dd}" target="_blank">Directions</a>
</div> popup looks like this: Here is the console: I have the popup configured exactly the same way in the web map and it looks fine...no extra space at the top. Thanks for any ideas as to what is causing this.
... View more
11-19-2019
06:25 AM
|
0
|
1
|
799
|
|
POST
|
Got it to work. Just missing the "()". Here is the working whereclause: wmaQuery.where = "PHGA_ID in (" + numids + ")";
... View more
11-05-2019
07:31 AM
|
1
|
0
|
1005
|
|
POST
|
I am using QueryTask to query an ArcGIS REST service feature class. The field I need to query is a esriFieldTypeInteger, and I am having trouble getting syntax correct in the where clause. I need to query features using a list or array of IDs and I haven't been able to find enough documentation to get the proper syntax. I am taking a string of IDs from a document input element and trying to use that list to query the features. I assume that I need to convert them to integers since the field values are integers, but am I wrong? Here is what I have tried, but the query is not executing so the problem must be with the where clause. _getAndDisplayResults: function() {
let ifrm = window.frameElement;
console.log("iframe element ", ifrm);
let document = ifrm.ownerDocument;
console.log("document ", document);
let ids = document.getElementById("phga_ids_results").value;
console.log("phga results from text box",ids);
let numids = ids.split(',').map(Number);
console.log("phga converted results ",numids); //this returns an array of integers
let url = "https://ocean.floridamarine.org/arcgis/rest/services/.../MapServer/0";
let queryTask = new QueryTask(url);
let wmaQuery = new Query();
wmaQuery.where = "PHGA_ID IN " + numids;
console.log("where clause ", wmaQuery.where);
wmaQuery.outFields = ["*"];
wmaQuery.returnGeometry = true;
queryTask.execute(wmaQuery).then(function(result) {
console.log("wma results ", result); //get nothing here. Not executing
//let wmaArray = [];
//let features = result.features;
//features.forEach(function(feature) {
//var geometry = feature.geometry;
//wmaArray.push(feature);
//});
});
}, Any ideas as to what I have wrong with the syntax? Thanks
... View more
11-05-2019
07:19 AM
|
0
|
1
|
1047
|
| Title | Kudos | Posted |
|---|---|---|
| 9 | 10-28-2025 10:15 AM | |
| 2 | 10-14-2025 06:36 AM | |
| 1 | 09-16-2022 09:31 AM | |
| 1 | 06-13-2024 05:45 AM | |
| 1 | 06-26-2025 06:28 AM |
| Online Status |
Offline
|
| Date Last Visited |
12-22-2025
05:46 AM
|