|
POST
|
Hi @SeanKMcGinnis - This is great news. While a permanent solution would be nice, 90 days is so much more reasonable for revisiting a flow to refresh the connection. Thank you for letting me know this has been implemented. The new connectors are really great and this new addition will make them even better. Thank you!
... View more
11-17-2022
08:12 AM
|
0
|
0
|
7011
|
|
POST
|
Hi - I am hoping to transfer ownership of a Survey123 form, associated feature layers and report templates to a new owner. The items are shared with a group, however the group is not a Shared Update group. I select the items, click "Change Owner", select the new owner, create a new folder with the exact same folder name and click OK. The feature layers transfer, however I get this error for the forms. I have never had issues transferring Survey123 form ownership in the past and am looking for advice as to why this could be happening. My organization has noticed many odd AGOL behaviors this week and I am unsure if this is related to that, or if it something with my Surveys. Some background on these two forms: They were created in Connect. There is a web map which is associated with the Survey123 form (via Connect) that is offline enabled, however when I open the Survey123 form on my iPhone I am not able to download the map from "Offline Maps" so I do not think that this could be an issue...(?) Interestingly, this map was the one "auto generated" by Survey123 connect (I believe...) and the "Change Owner" option is not even available for this item. I did not think this was a big deal because I am going to maintain ownership of all content other than the forms and feature layers... but maybe this matters? Both Survey123 forms have submission URLs and write to the same feature layer - there are slight differences in each form, one is for public submissions and the other is for internal use by managers. I've run through Ismael's workflow for securely data in public surveys (https://community.esri.com/t5/arcgis-survey123-blog/securing-data-in-public-surveys-survey123-connect/ba-p/898436) so there are 4 Views in addition to the hosted feature layer. There are 4 webhooks associated with these forms, created in Power Automate. One of the Survey123 forms has 2 report templates associated with it (I am also unable to transfer ownership of these items!). Any thoughts on how I can resolve this would be appreciated. Re-creating the Survey123 forms are not a viable option. This is a well-established workflow and it needs to continue operation without disruption to users. I would have loved to be able to share this form with a Shared Update group to assist with management, however because it was created in Connect that doesn't seem to be an option. Thank you,
... View more
11-17-2022
05:42 AM
|
0
|
3
|
2785
|
|
POST
|
Hi @TonghuiMing - I realize this post is closed, but hope someone can help me. We are using the Draw widget and notice that if draw on the map there is no way to provide the drawn feature a label. If you select to add a legend in the printed output, the drawn in features are labeled as "Override 1", "Override 2", etc. This is not ideal. I can not find a way to enable users to add a label via the widget settings. Is this possible, or is this in the future workplan for Experience Builder? Thank you,
... View more
11-14-2022
08:35 AM
|
0
|
0
|
1494
|
|
POST
|
I'm wondering if anyone might have some insight on this issue I'm running into. I'm baffled and wonder if I am missing something really simple. I'm working with MA 2016 Land Cover/Land Use data. I'm symbolizing by Unique Values on two attribute fields. Field 1 = Land Cover Code and Field 2 = Generalized Use Code. I've grouped values as I want them, but I am getting some bizarre results in my map - a small number of open water areas are showing up as my 'Residential' symbol color. I've checked the attribute values for the affected waterbodies and they are definitely coded as water. I checked my grouped values for 'Residential' and 'Open Water' and they are correct - the affected waterbodies have codes under the 'Open Water' symbology, but I am still seeing orange instead of blue in my map. Any thoughts?? I'm very confused. I'm hoping I'm just missing something very obvious here. I am using Pro 3.0.0. Thank you for any help or advice!
... View more
10-28-2022
05:38 AM
|
0
|
0
|
802
|
|
POST
|
@SeanKMcGinnis - Thank you. Another issue has come up - I've received this error message out of the blue. Do I need to manually refresh my credentials every 14 days? This Flow ran fine on from the 4th to 7th after your fix was implemented, but failed all weekend. If so, when will this be fixed? I do not need to do this with the Survey123 Connector. This is really awful if this is what I think it is...
... View more
10-11-2022
05:38 AM
|
0
|
1
|
7081
|
|
POST
|
Hi @PhilLarkin1 - I realized I'd messed up the suggestion from Sean (re: duplicate query connector), but even after correcting my error that did not work. As far as the Terminate control... I've actually never used this. I am curious where this would go in the flow. Also, this morning I noticed some different behavior in the flows and I am wondering if @SeanKMcGinnis and his team have changed anything... I have no features which are returned on the query, however the flow doesn't fail like it was previously. When I check the flow results the outputs also look different than they did a few days ago. I've added two screen captures below for comparison. Now it looks like the ArcGIS Connector is OK with the fact that no results were returned from the query and the flow succeeds without failing. Original error response received when no results returned: New output when no results returned, flow succeeds:
... View more
10-07-2022
05:35 AM
|
0
|
1
|
7108
|
|
IDEA
|
It would be awesome to be able to pull data from the Open Weather API into Field Maps like is possible within Survey123.
... View more
10-06-2022
10:15 AM
|
0
|
0
|
1020
|
|
POST
|
Hi @SeanKMcGinnis - I have 3 Flows which run daily to check a feature layer to see if certain conditions are met. If they are, an email is sent. In many cases there will be no records to return which satisfy the conditions of my query. When this happens, the Flows fail. I am concerned because I do not want the Flows to be automatically disabled by Power Automate after they fail too many times. I need an "escape" so that the entire Flow does not fail when my query is not met. Here is the error I see: You recommended I try this solution, but it does not work regardless of where I add the "configure run after to has failed". This question was originally raised in this GeoNet post here. I need a work around to this ASAP. Thank you, Erica
... View more
10-03-2022
06:19 AM
|
0
|
12
|
8394
|
|
POST
|
Hi @SeanKMcGinnis - This just results in another failure, unless I am setting it up incorrectly... I have 2 duplicate "Get Data from feature layer" connectors - the second is set to "configure run after has failed". There are no results to query on many days so no results will be returned. Even when I just change my "Apply to Each" to run after the "Get data from feature layer" has failed, the entire flow fails.
... View more
10-03-2022
06:01 AM
|
0
|
0
|
1618
|
|
POST
|
Hi @SeanKMcGinnis - Apologies for a late question but I am running into an issue and hope you can assist with resolving. The query I am using within the flow is very specific. I felt this was necessary to make it run efficiently because the hosted feature layer it is getting data from has thousands of records. Because of how specific it is, I would expect it to return no results on many dates. When I was testing, I'd created dummy data to work with so I never ran into this problem. Now, on days when no results are returned I get the error - I am not even sure if it is because of no results returned from my query because of the last bit "and offset undefined": I do not want these Flows to be disabled automatically because of this. Do you have suggestions on how to resolve this problem? Thank you,
... View more
10-03-2022
05:29 AM
|
0
|
2
|
7873
|
|
POST
|
Hi - One of my users contacted me because a python script he is running has started giving him some issues after our organization pushed Pro version 3.0.0 to our workstations. His script (below) is exporting a feature layer to a CSV, which is then being pulled into R for further analysis. Previously, the CSV would export and any null values in the attribute table would just be blank/empty. Now, they are all coded to "None" which has thrown off his processes in R. He added logic into the R script to deal with these new "None" values, however I was curious if there was some kind of change at Pro version 3.0.0 which could have caused this. His Py script had been updated to Python 3 awhile ago and was running fine. We are uncertain what the problem could be, but the issues started happening right around when we upgraded ArcGIS Pro. I also notice that if I go to the hosted feature layer in ArcGIS Online and export to a CSV from the Item Details page, null values are empty and not coded as "None". Same if I view the feature layer in AGOL or Pro. Any ideas on what could be causing this would be appreciated. Here is the Python script: #!C:\\Program Files\\ArcGIS\\Pro\\bin\\Python\\envs\\arcgispro-py3 python
# coding: utf-8
# In[60]:
import arcgis
from arcgis.gis import GIS
from arcgis.gis import *
import os
import getpass
portal_url = rhttps://mass-eoeea.maps.arcgis.com/
# ArcGIS user credentials to authenticate against the portal
username = 'USERNAME'
password = 'PASSWORD'
gis = GIS(portal_url, username, password)
# ID of the feature service you want to export
featureServiceID = "0d081b35bbe2466290926f0f09faffe5"
# Get username
username = getpass.getuser()
# Output format Shapefile | CSV | File Geodatabase
out_format = 'CSV'
# Local folder where the data will be downloaded (include slash at the end)
download_folder = "C:\\Users\\" + username + PATH
# Address of your ArcGIS portal
portal_url = rhttps://mass-eoeea.maps.arcgis.com/
download_file = download_folder + 'download.zip'
# ID of Field Data
item_id = featureServiceID
filename = "stage_turbidity" + "." + out_format
outpath = download_folder + filename
# Get content and save to csv
my_item = gis.content.get(item_id)
my_layer = my_item.tables[0].query().sdf
my_layer.to_csv(outpath, index = False)
#Download photos
download_folder_photos = download_folder + "Photos\\"
#Query to get list of object ids in layer
featureLayer = my_item.tables[0]
featureObjectIds = featureLayer.query(where='1=1', return_ids_only=True)
#Loop through features in layer
emptyAttachments = 0
for j in range(len(featureObjectIds['objectIds'])):
currentObjectId = featureObjectIds['objectIds'][j]
currentObjectIdAttachments = featureLayer.attachments.get_list(oid=currentObjectId)
if len(currentObjectIdAttachments) > 0:
#Loop through feature attachments and download to appropriate folder
for k in range(len(currentObjectIdAttachments)):
attachmentId = currentObjectIdAttachments[k]['id']
attachmentName = currentObjectIdAttachments[k]['name']
attachmentParentId = currentObjectIdAttachments[k]['parentGlobalId']
FileName = '{}'.format(attachmentName)
AttachmentPath = '{}\\{}'.format(download_folder_photos, FileName)
FinalFileName = '{}.{}'.format(attachmentParentId,"jpg")
FinalAttachmentPath = '{}\\{}'.format(download_folder_photos, FinalFileName)
if not os.path.isfile(FinalAttachmentPath):
featureLayer.attachments.download(oid=currentObjectId, attachment_id=attachmentId, save_path=download_folder_photos)
os.rename(AttachmentPath, FinalAttachmentPath)
print("Finished downloading csv file.")
# Run batch file to process csv outputs and import into Database
file = "C:\\Users\\" + username + PATH.bat
os.system('"' + file + '"')
print ("Stage/Turbdiity Data Processed with R Script" ) Thank you,
... View more
09-22-2022
11:17 AM
|
0
|
1
|
991
|
|
POST
|
Hi @SeanKMcGinnis - Thank you for the information. I was uncertain if/how these worked together, so this is helpful.
... View more
09-22-2022
05:20 AM
|
0
|
0
|
7909
|
|
POST
|
@DBranson - I had a similar situation for one of my Dashboards. First, you can change the Maximum Categories to >50. Second, I found it helpful to use another Selector to narrow down the data a bit first. So for my example, I have a selector which first filters my feature layer by Watershed. Under the Actions for the "Filter by Watershed" selector, I have set the next selector to only render when a watershed has been selected: Once a Watershed is selected, my File Number list renders. This has helped to keep the Dashboard responsive. I've configured my "Filter by File Number" selector so that the categories are derived from Features. I have also enabled the "show filter" option which allows end users to search for a specific value. See below: I think if you configure your selector to have Maximum Categories of 15,000 and then enable the search option your Dashboard will bog down. Chaining selectors together might be a good option to consider.
... View more
09-19-2022
07:04 AM
|
0
|
1
|
1008
|
|
POST
|
Hi @SeanKMcGinnis - We've finally had the ArcGIS Connector added into our Business Connectors and I have begun my testing. I've had the flow successfully run, but my condition is evaluating as False and not triggering my email notification. I am hoping you can advise on this. EDITED! Here is the beginning of my Flow: Initial - config in screen capture below no longer used. Updated to - this removed the configurations within Available fields, Comparison type and Search parameter value and added an additional statement to the Where clause to make it much more specific: After getting the data from a feature layer, I use Apply to each with the following configuration: Within the Convert File Complete Date, my Base Time is set to be: addSeconds('1970-1-1', Div(items('Apply_to_each')?['attributes']?['File_Complete_Date'], 1000), 'MM/dd/yyyy') Within the Compose (Calculate 45 days from File Complete Date), the Input is set to be: addDays(body('Convert_File_Complete_Date'),int(45),'yyyy-MM-dd') My Condition is set to be equal to utcNow: utcNow('yyyy-MM-dd') I have some questions/concerns about why this might not be working as expected: 1. utcNow... to me this means date and time, however my data is really only configured to have a date (all time are defaulted to 12pm). Could this be why the Condition evaluates to False for all? 2. When the Flow runs, I see 1,000 iterations within Apply to each (see below) - could the test record just not be reached? When I bring my feature layer into a map and apply my query, I have 3,172 records which meet my criteria (Application_Status = App Complete AND File_Complete_Date IS NOT NULL) I have addressed this by altering my Where clause to be much more specific - I probably should have known to do this from the beginning! 3. When I look at the raw data from the ArcGIS Connector Outputs, I do not see my test record included; I have searched by it's unique file number using Find and it does not come up. I will continue testing to see if I can solve this. I will attempt to make my Where query in the ArcGIS connector more specific so I return less records than I currently am (#2 above). If you have suggestions in the meantime, I would appreciate anything you have. I think I have solved this... I do have a question however... even after reading the documentation, I am unclear what the Available Fields, Comparison Type and Search Parameter Value is supposed to be doing within the "Get Data" connector. Could you elaborate on what these should be used for? Thank you!
... View more
09-19-2022
06:01 AM
|
0
|
0
|
7919
|
|
POST
|
I understand what you're saying. For myself, the only time I've had issues with missed events was for one of two reasons - 1) I failed to properly configure the webhook settings via the Survey123 website (e.g. if it was supposed to trigger when an existing record was modified as opposed to newly collected) or 2) I forgot to turn the Flow on before testing. Another possibility could be that you are running into the cap for # flow runs for a Flow within your plan's limits. This could impact you if you don't have the proper license to Power Automate. I think this provides information on limits in Power Automate.
... View more
09-14-2022
09:04 AM
|
1
|
1
|
3127
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 2 weeks ago | |
| 1 | 2 weeks ago | |
| 1 | 09-06-2022 09:14 AM | |
| 6 | 10-24-2024 12:04 PM | |
| 1 | 04-28-2021 09:14 AM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|