POST
|
Thanks @EmilyGeo! This is fixed after the November update and I am no longer having this issue with my web map.
... View more
10-31-2023
12:12 PM
|
0
|
0
|
1269
|
POST
|
@KevinBurke is it possible to manage editing templates in Map Viewer yet? I have this same issue in Field Maps (i.e. coded domain value added in AGOL post-publish is not being recognized by the editing template in Field Maps). When viewing the editing template in Map Viewer Classic, the coded domain value I added since the feature was published is recognized, therefore, I can't apply your suggested fix. Do you have any other suggestions? Alternatively, is there an option in Field Maps to not use the editing template for adding new features and instead allow users to begin adding a new feature and then select the domain value used for symbology from a required pick list? The benefit to this would be a shorter list when adding new features. Interestingly, the new domain value is still reflected in the form drop down list for the field which contains the new domain value when you collect a new point of a different type in the editing template. Essentially, Field Maps sees the new domain value in the form, but not in the editing template. Thanks in advance! Peter
... View more
10-25-2023
05:00 PM
|
1
|
0
|
529
|
POST
|
When saving a web map in Map Viewer, the Review sharing dialog always appears saying that my layers will have their sharing updated and providing the following message: "Click Update Sharing to synchronize sharing of the items that you have permission to update. Some items may not be visible to others because they are shared differently or require a subscription to view." Every layer in the map, service definition and web style is shared with the group in which the web map is shared even though I'm pretty sure only the layers need to be shared. Has anyone run into this before? Is this expected behavior? How might one prevent this dialog from appearing after every save operation? Lastly, is there a way to probe further to determine why this dialog keeps appearing? Thanks! Peter
... View more
10-11-2023
01:00 PM
|
1
|
7
|
1439
|
POST
|
Thanks, @JonathanQuinn! I have tried running this utility using the service account running ArcGIS Server and as myself with full admin privileges. Most recently, I ran this with ProcMon capturing and I don't see any ACCESS DENIED results when filtering by "E:\TempBackups". During the process, the only ACCESS DENIED. results I am seeing are from postgres.exe processes for Read at 'HKLM\System\CurrentControlSet\Services\WinSock2\Parameters' and Write at 'E:arcgisdatastore\pgdata\pg_stat_tmp\global.tmp'. The server logs still have entries stating that the Export operation completed and exported to the .agssite file in 'E:\TempBackups' and that it deleted temp dirs at 'C:\Users\SERVICEACCOUNT\AppData\Local\Temp\tmp-ags-export-XXXXXXXXXX'. Portal Logs have this error: "Failed to export site. Insufficient system resources exist to complete the requested service", but have also thrown the "Failed to export site. E:\TempBackups\WebGISSite1677886113143\portal (The system cannot find the path specified)" error, though not every time the tool is run. The server has 16GB of RAM, 8 processors, and 40GB of free storage. E: drive has 70+GB free. So I am surprised by the first storage error. Most recently, I did get a dataStore folder in the E:\TempBackups folder, but this has typically produced only a portal folder. So there is some variability in the output which first appeared today. Also, running Export Site from server admin succeeds in writing the .agssite file to the E: drive. Thanks again for your help, Peter
... View more
03-03-2023
04:25 PM
|
0
|
0
|
1413
|
POST
|
Thanks @NicolasGIS, The backup created by webgisdr is not zipped (maybe because it didn't complete?). The server logs have a message saying that the "Export operation completed. Site Configurations were exported to 'E:\TempBackups\WEBGISSiteXXXXXXXXXX\server\DATE.agssite'". So it is saying that it exported the same file that webgisdr can't find and which never appears. Any other ideas? Thanks again, Peter No logs in the Portal at least at Verbose.
... View more
03-02-2023
12:44 PM
|
0
|
0
|
1449
|
POST
|
Hi, We have a single machine deployment of 10.6.1 that we are trying to backup before upgrading. The webgisdr utility is failing after successfully backing up Server and Data Store, stating that it cannot access the .agssite file. for that backup (in the shared location). A few minutes later, a directory (WebGISSiteXXXXXXXXX) appears in the shared location with only a 'portal' folder in it (approx. 1GB). Nothing ever appears in the backup location (Same location on E: drive, but different folder). The user which runs the utility and the service account both have full permissions to both the shared and backup location. The server has plenty of resources and there are no additional errors thrown beyond the "Cannot access the file E:\TempBackups\WebGISSiteXXXXXXXXXXXX\server\XXXXXXXXX\DATE.agssite." (X's are unique values and the DATE is shortly after the execution date/time). The configuration file has been verified as properly formatted by ESRI Support. We have had network monitor the process and have ruled out any firewall restrictions and antivirus software interference. It appears as though webgisdr can't access this folder because it is not being created by webgisdr. Anyone have any ideas what may be preventing this tool from completing successfully? Thanks! Peter
... View more
03-02-2023
10:53 AM
|
0
|
4
|
1503
|
POST
|
Hi Johannes, thanks so much for your help! That did fix the issue I was having. Here is the working code for anyone else's benefit. var myList = [$feature.ADD_TEST_1, $feature.ADD_TEST_2, $feature.ADD_TEST_3, $feature.ADD_TEST_4, $feature.ADD_TEST_5]
var field1 = [IIF(IsEmpty($feature.T1_VOL_MIN), "No Value", $feature.T1_VOL_MIN), IIF(IsEmpty($feature.T2_VOL_MIN), "No Value", $feature.T2_VOL_MIN), IIF(IsEmpty($feature.T3_VOL_MIN), "No Value", $feature.T3_VOL_MIN), IIF(IsEmpty($feature.T4_VOL_MIN), "No Value", $feature.T4_VOL_MIN), IIF(IsEmpty($feature.T5_VOL_MIN), "No Value", $feature.T5_VOL_MIN)]
var field2 = [IIF(IsEmpty($feature.T1_TVOL_FLWD), "No Value", $feature.T1_TVOL_FLWD), IIF(IsEmpty($feature.T2_TVOL_FLWD), "No Value", $feature.T2_TVOL_FLWD), IIF(IsEmpty($feature.T3_TVOL_FLWD), "No Value", $feature.T3_TVOL_FLWD), IIF(IsEmpty($feature.T4_TVOL_FLWD), "No Value", $feature.T4_TVOL_FLWD), IIF(IsEmpty($feature.T5_TVOL_FLWD), "No Value", $feature.T5_TVOL_FLWD)]
var field3 = [IIF(IsEmpty($feature.T1_ACCURCY), "No Value", $feature.T1_ACCURCY), IIF(IsEmpty($feature.T2_ACCURCY), "No Value",$feature.T2_ACCURCY), IIF(IsEmpty($feature.T3_ACCURCY), "No Value", $feature.T3_ACCURCY), IIF(IsEmpty($feature.T4_ACCURCY), "No Value", $feature.T4_ACCURCY), IIF(IsEmpty($feature.T5_ACCURCY), "No Value", $feature.T5_ACCURCY)]
var myTable = ""
for (var v in myList){
if(myList[v] == "Yes"){
var testNum = (v + 1)
var i = v
var firstField = field1[i]
var secondField = field2[i]
var thirdField = field3[i]
myTable +=
`<table style="width:82%">
<tbody>
<tr style="background-color:#636363;color:#FFFFFF;font-size:16px;text-align:center;">
<td colspan="2">
<span style="font-size:16px;">
<strong>Test ${testNum} Results</strong></span>
</td>
</tr>
<tr>
<td>
<span style="font-size:14px;">
<strong>Volume Min</strong></span>
</td>
<td>
<span style="font-size:14px;">${firstField}</span>
</td>
</tr>
<tr style="background-color:#d9d9d9;">
<td>
<span style="font-size:14px;">
<strong>Total Volume Flowed</strong></span>
</td>
<td>
<span style="font-size:14px;">${secondField}</span>
</td>
</tr>
<tr>
<td>
<span style="font-size:14px;">
<strong>Accuracy (%)</strong></span>
</td>
<td>
<span style="font-size:14px;">${thirdField}</span>
</td>
</tr>
</tbody>
</table>`
}else if (myList[v] == "No") {
var testNum = (v + 1)
mytable +=
`<table style="width:82%">
<tbody>
<tr style="background-color:#FFC107;color:#FFFFFF;font-size:16px;text-align:center;">
<td colspan="2">
<span style="font-size:16px;">
<strong>No results for Test ${testNum}</strong></span>
</td>
</tbody>
</table>`
}
}
return {"type" : "text", "text" : myTable} Cheers, Peter
... View more
03-09-2022
12:52 PM
|
0
|
0
|
22321
|
POST
|
Hi all, I'm a bit stuck trying to generate multiple HTML tables (or conditionally visible table rows) in a popup based upon the value of fields in an array. In this case, multiple tests are being performed (up to five) on one meter, but I only want to show results tables for tests that were actually performed so that I don't have blank table rows and/or use more real estate than necessary. The data is flat, so there are redundant fields (as you can see in the global variables) rather than a one-to-many relationship. There is one Boolean field (ADD_TEST_#) that is flipped from "No" to "Yes" before each test is performed. Each has a default value of "No". The code below works great for the first test, but fails to create any additional tables in the popup for additional test. I realize the code could be optimized, but I don't want to spend too much more time on this until I know this is achievable. var myList = [$feature.ADD_TEST_1, $feature.ADD_TEST_2, $feature.ADD_TEST_3, $feature.ADD_TEST_4, $feature.ADD_TEST_5]
var field1 = [IIF(IsEmpty($feature.T1_VOL_MIN), "No Value", $feature.T1_VOL_MIN), IIF(IsEmpty($feature.T2_VOL_MIN), "No Value", $feature.T2_VOL_MIN), IIF(IsEmpty($feature.T3_VOL_MIN), "No Value", $feature.T3_VOL_MIN), IIF(IsEmpty($feature.T4_VOL_MIN), "No Value", $feature.T4_VOL_MIN), IIF(IsEmpty($feature.T5_VOL_MIN), "No Value", $feature.T5_VOL_MIN)]
var field2 = [IIF(IsEmpty($feature.T1_TVOL_FLWD), "No Value", $feature.T1_TVOL_FLWD), IIF(IsEmpty($feature.T2_TVOL_FLWD), "No Value", $feature.T2_TVOL_FLWD), IIF(IsEmpty($feature.T3_TVOL_FLWD), "No Value", $feature.T3_TVOL_FLWD), IIF(IsEmpty($feature.T4_TVOL_FLWD), "No Value", $feature.T4_TVOL_FLWD), IIF(IsEmpty($feature.T5_TVOL_FLWD), "No Value", $feature.T5_TVOL_FLWD)]
var field3 = [IIF(IsEmpty($feature.T1_ACCURCY), "No Value", $feature.T1_ACCURCY), IIF(IsEmpty($feature.T2_ACCURCY), "No Value",$feature.T2_ACCURCY), IIF(IsEmpty($feature.T3_ACCURCY), "No Value", $feature.T3_ACCURCY), IIF(IsEmpty($feature.T4_ACCURCY), "No Value", $feature.T4_ACCURCY), IIF(IsEmpty($feature.T5_ACCURCY), "No Value", $feature.T5_ACCURCY)]
for (var v in myList){
if(myList[v] == "Yes"){
var testNum = (v + 1)
var i = v
var firstField = field1[i]
var secondField = field2[i]
var thirdField = field3[i]
var myTable = {
"type" : "text",
"text" : `
<table style="width:80%">
<tbody>
<tr style="background-color:#636363;color:#FFFFFF;font-size:16px;text-align:center;">
<td colspan="2">
<span style="font-size:16px;">
<strong>Test ${testNum} Results</strong></span>
</td>
</tr>
<tr>
<td>
<span style="font-size:14px;">
<strong>Volume Min</strong></span>
</td>
<td>
<span style="font-size:14px;">${firstField}</span>
</td>
</tr>
<tr style="background-color:#d9d9d9;">
<td>
<span style="font-size:14px;">
<strong>Total Volume Flowed</strong></span>
</td>
<td>
<span style="font-size:14px;">${secondField}</span>
</td>
</tr>
<tr>
<td>
<span style="font-size:14px;">
<strong>Accuracy (%)</strong></span>
</td>
<td>
<span style="font-size:14px;">${thirdField}</span>
</td>
</tr>
</tbody>
</table>
`
}
return myTable
}else{
return "No results for Test " + (v + 1)
}
} @XanderBakker @PaulBarker, any thoughts on what may be causing the issue? Thanks in advance! Peter
... View more
03-08-2022
09:11 PM
|
0
|
2
|
22382
|
POST
|
That's interesting @KimGarbade , Glad you got that to work! That also worked for me. Wondering if the issue on my side may have been that the polygon layer I'm using has multiple polygon features. Even though it is filtered to only one polygon feature in the map, you must still have to query for the specific feature to use for the intersect? Thanks! Peter
... View more
02-11-2022
01:58 PM
|
0
|
0
|
1836
|
POST
|
Hi @HuubZwart , thanks for your response! Is this what you're referring to? This is still returning a FeatureSet object for me. Thanks again! Peter
... View more
02-11-2022
12:05 PM
|
0
|
0
|
1847
|
POST
|
Hi all, Can anyone provide any examples or an explanation of how to get a Boolean output rather than a FeatureSet output from the Intersects() or Within() functions? The documentation doesn't elaborate much on this and states that the function provides a Boolean output. The goal for me would be to get an Boolean value for the spatial relationship between features without having to use the Count() function as is shown in many other posts. For example, I would think this expression would work, but it doesn't. IIF(Intersects(geom1, geom2), "In", "Out") Neither does this (always returns false): var myValue = Intersects(geom1, geom2)
IIF(myvalue == true, "In", "Out") If I cast the intersects output as a Boolean, it is always false. IIF(Boolean(Intersects(geom1, geom2)), "In", "Out") There are a couple other expression patterns I've tried, but the only thing that works is to count the number of features returned in the FeatureSet and return values based upon the number of features returned. I have met with a few people recently who had the same issue so it seems like a fairly common question. Thanks in advance! Peter
... View more
02-11-2022
09:57 AM
|
1
|
5
|
1878
|
POST
|
Anyone know why views created from grouped feature layers wouldn't be visible in the new version of collector for arcgis* (Android), while still being visible in #collector classic? I created a view of a feature layer that was published as a group, which is visible in AGOL and Collector Classic, but not in the new Collector (Android). Is this a known issue? Thanks, Peter
... View more
05-12-2020
02:12 PM
|
0
|
0
|
474
|
POST
|
Hi Peter, Any insight into why views created from grouped feature layers wouldn't be visible in the new version collector for arcgis* (Android), while being visible in the collector classic? I have a view that fits the description of your recommendation for Christopher, which is visible in AGOL and Collector Classic, but not in the new Collector (Android). Is this a known issue? Thanks, Peter
... View more
04-07-2020
03:56 PM
|
0
|
1
|
1008
|
POST
|
Does anyone know if is possible to verify which field a hosted feature layer join was based upon after the join is complete? I've joined two layers in AGOL and based upon the behavior of the resulting join, I want to verify that the join was made correctly. I can't find any information in the JSON detailing the origin of the join. Does anyone know if/where one might find this information? Thanks!
... View more
04-02-2020
04:12 PM
|
0
|
0
|
493
|
POST
|
Hi Shannon, Thanks for your reply. I checked the COM Add-ins and ArcGIS Maps for Office is checked.
... View more
02-07-2020
07:58 AM
|
1
|
1
|
961
|
Title | Kudos | Posted |
---|---|---|
1 | 10-25-2023 05:00 PM | |
1 | 10-11-2023 01:00 PM | |
1 | 05-08-2019 10:05 AM | |
1 | 02-11-2022 09:57 AM | |
4 | 10-10-2019 02:44 PM |
Online Status |
Offline
|
Date Last Visited |
05-31-2024
04:48 PM
|