|
POST
|
@Pavel148 ,The webhook got created, but I still can get any data coming in
... View more
11-09-2023
02:07 PM
|
0
|
0
|
3712
|
|
POST
|
here's another post of connection issues https://community.esri.com/t5/arcgis-for-power-automate-questions/issue-retrieving-feature-layer-using-template/m-p/1347816#M436
... View more
11-09-2023
01:13 PM
|
1
|
1
|
5520
|
|
POST
|
@Pavel148 , thanks for getting back to me. 1) issue is the same for When a Record is Created and when a record is updated an in Fetch updates, changes, or deletions from feature layer. 2) drop down works for Get Data from Feature layer 3) following your workaround, the webhook was created on the HFL and the flow ran success.
... View more
11-09-2023
09:31 AM
|
1
|
1
|
3753
|
|
POST
|
Thank you! That did the trick. I though I had tested it before but I guess not.🤣 D
... View more
11-02-2023
11:36 AM
|
0
|
0
|
3032
|
|
POST
|
Yes, if I create a new line, no problem I get the next UID as expected. The issue is when splitting a line .
... View more
11-02-2023
11:09 AM
|
0
|
0
|
3040
|
|
POST
|
that doesn't seem to be working for me. Below is the code I am using (which is from the UN water foundation) var assigned_to_field = $feature.FUID;
var id_selector_value = $feature.assetgroup;
function get_id(selector_value) {
var id_format = {}
var seq_val = null;
var selector_value_txt = Text(selector_value)
if (selector_value_txt == '1') {
id_format = {
'prefix': "DRSQ1",
'join_char': '',
'suffix': ''
}
seq_val = NextSequenceValue('DR_DB_SEQ_1');
}else if (selector_value_txt == '50') {
id_format = {
'prefix': "Wr-Jnctn",
'join_char': '-',
'suffix': ''
}
seq_val = NextSequenceValue('W_J_Wr_Jnctn_50_seq');
}else if (selector_value_txt == '51') {
id_format = {
'prefix': "Insltn-Jnctn",
'join_char': '-',
'suffix': ''
}
seq_val = NextSequenceValue('W_J_Insltn_Jnctn_51_seq');
} else {
return null;
}
var id_parts = remove_empty([id_format['prefix'], seq_val, id_format['suffix']])
return id_format['prefix'] + Text(seq_val , "00000")
}
// ************* End User Variables Section *************
// ************* Functions *************
function remove_empty(arr) {
var new_arr = [];
var j = 0;
for (var i = 0; i < Count(arr); i++) {
if (!IsEmpty(arr[i]) && arr[i] != '') {
new_arr[j++] = arr[i];
}
}
return new_arr;
}
// ************* End Functions Section *****************
if (IsEmpty(assigned_to_field) == false && assigned_to_field != '') {
return assigned_to_field
}
var new_id = get_id(id_selector_value)
if (IsEmpty(new_id)) {
return assigned_to_field;
}
return new_id (
... View more
11-02-2023
10:54 AM
|
0
|
0
|
3050
|
|
POST
|
Hello, I am looking for an Attribute Rule that would allow me to split a line (water main) and for one segment retain the original unique ID and the other segment, get the next available ID. Is that doable? Any guidance would be much appreciated. Thanks! D
... View more
11-02-2023
10:12 AM
|
0
|
6
|
3068
|
|
POST
|
Hello, I had a few Power Automate flows setup six months ago and since September they stopped working. I've try to re created from scratch using a template (Track when a record is created in a feature layer in ArcGIS Online) and I keep getting this error message: My Connection to AGOL is valid what am I doing wrong???? Thanks! Could not retrieve values. The dynamic invocation request failed with error: { "error": { "code": 400, "source": "unitedstates-002.azure-apim.net", "clientRequestId": "39bcdc27-e61b-40d6-a295-1302a78c2c3b", "message": "The response is not in a JSON format.", "innerError": "Cannot read properties of undefined (reading 'forEach')" } }.
... View more
10-31-2023
06:57 AM
|
0
|
6
|
3941
|
|
POST
|
Hello, I am trying to use the ListDatabaseSequences function and when using a SDE connection, I always get following error: OSError: Could not open SDE workspace. If I use a FGDB connection it's working fine. If I use the same SDE connection with the ListDomains function everything works just fine. I am testing the code "as is" from the AGS Pro on-line documentation. I am using AGS Pro 3.1.3 import arcpy
#this works for ListDatabaseSequences
#gdbFGDB = r"D:\droberge\temp\coa_GIS\dr_testArcade.gdb"
#this works for ListDomains
gdbSDE = r"D:\droberge\programs\GIS_PRO\dr_coa_MASTER\coaUNWater_coa_gis.sde"
sequences = arcpy.da.ListDatabaseSequences(gdbSDE)
domains = arcpy.da.ListDomains(gdbSDE)
try:
for seq in sequences:
print("------------------------")
print('Sequence name: {}'.format(seq.name))
print('Sequence start value: {}'.format(seq.startValue))
print('Sequence increment value: {}'.format(seq.incrementValue))
print('Sequence current value: {}'.format(seq.currentValue))
## for domain in domains:
## print(f"Domain name: {domain.name}")
## if domain.domainType == "CodedValue":
## coded_values = domain.codedValues
## for val, desc in coded_values.items():
## print(f"{val} : {desc}")
## elif domain.domainType == "Range":
## print(f"Min: {domain.range[0]}")
## print(f"Max: {domain.range[1]}")
except:
print(" we are in the except section... no bueno")
arcpy.AddMessage(arcpy.GetMessages(2))
print(arcpy.GetMessages(2))
print("Process is over!") This is the error sequences = arcpy.da.ListDatabaseSequences(gdbSDE) OSError: Could not open SDE workspace. Any help would be much appreciated. Thanks!
... View more
10-30-2023
01:30 PM
|
0
|
2
|
1411
|
|
POST
|
Is it possible to change the Editing units... By default they are are in meter. under settings, I changed everything to the units I would like to use (ft, acres, etc.) but when I try to create a feature (on a hosted feature layer)...it's only in meter. Now for lines, I can right click and select Direction/Distance which allow me to enter my distance in ft (which is fine), but if I try to create a buffer... units are only in meter Any help would be appreciated. Thanks!
... View more
10-06-2023
08:10 AM
|
0
|
2
|
1419
|
|
POST
|
Hello I am interested in using WGS84 Spatial reference, but there is a significant difference in speed to redraw a map. What would be the cause of this issue? Thanks!
... View more
10-06-2023
08:00 AM
|
0
|
1
|
952
|
|
POST
|
Sorry, I solved my problem: // Get other layer from datastore
var other_layer = FeatureSetByName($map, "Tree Inventory Areas")
// Intersect layer and feature, use `First` to take the top feature
var intersectFeat = Intersects($feature, other_layer)
//check for intersects
var intersect_count = Count(Intersects(other_layer, $feature))
var noZone = "999"
if(intersect_count ==0) {
return noZone
}
var xs_feat = First(intersectFeat)
var Zone =xs_feat["zone"]
//else
return Zone
... View more
06-23-2023
01:02 PM
|
0
|
0
|
5411
|
|
POST
|
@JohannesLindner I am using your code in a similar fashion, , it's working great if I click inside my Zone (blue area) but if I click outside I get the following warning message. Technically, since I don't have a Zone to intersect I should be getting a "NULL" value correct? What am I missing? Thanks! // Get other layer from datastore
var other_layer = FeatureSetByName($map, "Tree Inventory Areas")
// Intersect layer and feature, use `First` to take the top feature
var intersectFeat = Intersects($feature, other_layer)
var xs_feat = First(intersectFeat)
var Zone =xs_feat["zone"]
var noZone = "999"
if(xs_feat == null) {
return noZone
}
//else
return Zone
... View more
06-23-2023
12:30 PM
|
0
|
1
|
5412
|
|
POST
|
will do. Thanks @Robert_LeClair for looking into this👍
... View more
06-22-2023
07:23 AM
|
1
|
0
|
1567
|
|
POST
|
ideally, I would like to have my data in WGS 1984 Web Mercator (auxiliary sphere) as I can create templates (for building foot print) and the dimensions would stay the same regardless if I create a feature in South Dakota or in Indiana.
... View more
06-19-2023
11:32 AM
|
0
|
1
|
1015
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-26-2026 01:47 PM | |
| 1 | 08-05-2024 06:19 AM | |
| 1 | 06-11-2025 08:07 AM | |
| 1 | 07-13-2025 04:58 PM | |
| 1 | 02-27-2025 08:13 AM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|