|
BLOG
|
I'm experiencing some inconsistencies with using dynamic content in an email notification (through the Gmail connector). I have one survey with three different webhooks. The survey was built in Connect (v3.5.166) and contains a few different choice lists where the 'name' field contains email addresses, and the 'label' field contains the person's name. I've ensured that within the Survey123 settings, I've set Webhook #1 to 'New record submitted' and Webhook #2 & #3 to 'Existing record edited'. Webhook #1 is triggered when a new survey is submitted; it generates an email notification if a condition is met. The email address is being pulled from dynamic content (a select_one field) within my survey. This email notification generates perfectly when a new survey is completed. Webhook #2 is triggered when a survey is edited (my workflow requires that the survey is edited twice - once by a supervisor, and then by a regional director - this webhook is associated with the first round of edits); it generates an email notification if a condition is met. The email addresses here are entered directly (no dynamic content). This email notification also works perfectly. Webhook #3 Attempt A is triggered when a survey is edited (this webhook is associated with the second round of editing); it should generate an email notification if a condition is met (different from condition in webhook #2). I am attempting to pull the email address from a dynamic field from my survey (select_one - configured the same way within my xls). When I test this, I get an error that there was no email address entered. It seems as if the dynamic content is not coming through. I've ensured my connection with Survey123 through Microsoft Flow is there, but this doesn't change anything. The field I am pulling from has it's choice list set up the same way as the list used successfully in Webhook #1. Webhook #3 Attempt B I've also tried modifying this webhook to create a Google Calendar event where the email address stored within my dynamic content is in the 'Attendees' section of the "Create an event" connector. I am using the "Convert time zone" connector w/ the function addseconds('1970-1-1', Div(triggerBody()?['feature']?['attributes']?['Vacation_StartDate'],1000) , 'yyyy/MM/ddTHH:mm:ss') for each my start date and end date. This is the exact expression (with changed field name) that I used in another webhook which is able to successfully create calendar events. When I test this, it fails with the following error: Microsoft Flow error InvalidTemplate. Unable to process template language expressions in action 'Convert_time_zone' inputs at line '1' and column '2626': 'The template language function 'Div' expects its first parameter to be an integer or a decimal number. The provided value is of type 'Null'. Please see https://aka.ms/logicexpressions#mul for usage details.' Webhook #3 Attempt C I've also tried this with a different function in the "Convert time zone" - formatDateTime(addDays('1970-01-01T00:00:00Z',div(triggerBody()?['feature']?['attributes']?['Vacation_StartDate'],86400)),'yyyy-MM-ddTHH:mm:ss'). This shows that my flow runs successfully, but says that the condition is not met and doesn't create the calendar event, however my condition has in fact been met during the second round of editing. I've also tacked my calendar event onto my successful Webhook #2 without success. It either causes the entire thing to fail, saying the condition hasn't been met (when addseconds is used), or it runs but only sends the email (when formatDateTime is used). My questions are - Can one survey support two editing workflows / multiple webhooks? What are potential causes of my dynamic content not successfully populating an email address in the Gmail connector (when it works other times)? Has anyone seen the error associated with my addseconds function? Any help would be greatly appreciate! Erica
... View more
09-24-2019
07:01 AM
|
0
|
0
|
16959
|
|
BLOG
|
Hi Brandon, Has there been any improvement to the functionality of scanning PDF417/license barcodes and parsing out their information in an upcoming release of Survey123? Thanks, Erica
... View more
09-23-2019
08:38 AM
|
0
|
0
|
5320
|
|
POST
|
HI James, Is there any planned improvement to the functionality of scanning PDF417/license barcodes in an upcoming release of Survey123? Thanks, Erica
... View more
09-19-2019
10:19 AM
|
2
|
0
|
4486
|
|
POST
|
Hi Aravind, This is perfect - exactly what I was hoping for. Thanks for letting me know this was added. Erica
... View more
09-13-2019
04:53 AM
|
0
|
0
|
2021
|
|
POST
|
Hi Phil, This is a TPK that was published to ArcGIS Online in WGS84 Web Mercator (auxiliary sphere) . To Bill Simper's point below, I just checked the file size of the basemap on my iPad and it is less than half of the TPK's actual file size in AGO. When I remove the basemap from my iPad, it shows the true file size, matching its AGO item. I've been downloading via cell network, so I will find some WiFi and use that to see if it helps download the entire TPK. It is a large TPK (4GB) so hopefully WiFi helps resolve this. I feel like I should have noticed that, but thanks for the heads up. Erica
... View more
08-20-2019
04:34 AM
|
1
|
0
|
2924
|
|
POST
|
Hi Phil, I know this was posted awhile ago, but I am having the same issue with a survey now. It was an established survey that I waned to associate a basemap with. This is a much easier way to get basemaps onto iPads than through iTunes (which is kind of a nightmare). I edited the .info file following the instructions here. I've done this successfully for two other surveys. When I publish, there aren't issues. I re-download the survey to my iPad and I can see the basemap listed under "download maps". It downloads fine, but then when I open the survey and go into my geopoint question, the basemap is not listed. I see another offline basemap listed, but not the one associated with the survey/that I just downloaded. I've copied the contents of my .info file below. {
"displayInfo": {
"map": {
"defaultType": {
"name": "World Imagery"
},
"home": {
"latitude": 42.38504118890034,
"longitude": -72.05909332533498,
"zoomLevel": 11
},
"mapTypes": {
"append": true,
"includeLibrary": true,
"mapSources": [
{
"storeInMapLibrary": false,
"url": "https://eoeea.maps.arcgis.com/home/item.html?id=f1dc6ff830cb4e388fae116c2c8042b5"
}
]
},
"preview": {
"zoomLevel": 15
}
},
"style": {
"textColor": "",
"toolbarBackgroundColor": "#730000"
}
},
"imagesInfo": {
"captureResolution": 1920
},
"publishInfo": {
"connectVersion": "3.5.157",
"webFormTransform": true
},
"queryInfo": {
"applySpatialFilter": true,
"mode": "manual",
"where": "Creator=${username}"
},
"sentInfo": {
"enabled": true
}
}
... View more
08-19-2019
12:27 PM
|
0
|
3
|
2924
|
|
POST
|
Hi Kylie, Thanks for the workaround. For some projects, Views work well, but for others we have instances where data is downloaded, QA/QC'd and re-published at regular intervals as data is collected. Since it isn't possible to overwrite a hosted feature layer that has a View created from it, using a View isn't always ideal. In the case I described above, we have a regular QA/QC procedure where data is downloaded/republished, which is why being able to add duplicate copies of a layer into a web map is nice.
... View more
08-14-2019
08:00 AM
|
1
|
0
|
2506
|
|
POST
|
Hi Kyle, Thanks for posting this! I've been pulling my hair out about my offline areas failing to download. As soon as I went into my web map and removed the duplicate layers, it downloaded fine. Kylie Donia is there a specific reason this causes an offline area to fail to download? In Classic this is not a problem. It's useful to have layers added to a web map multiple times - for example, if I have drainage structures I want to see them all, but then I can also add a copy of this layer to draw on top with a different symbology to show which have been inspected in this calendar year. Is this going to be fixed? Thanks! Erica
... View more
08-07-2019
05:52 AM
|
0
|
2
|
2506
|
|
POST
|
Has anyone experienced any issues with taking basemaps for Collector offline with the Files app? I can't find any Esri documentation on proper steps for doing this, however it doesn't seem too complicated. My steps are: Open Files, open Google Drive. Select my .tpk file Google Drive and select Share. Select Save to Files. Navigate to On My iPad > Collector. Click Add. I then get an error "couldn't communicate with helper application". My .tpk is 4.7GB. My iOS and Drive application are up-to-date. Thanks! Erica
... View more
08-06-2019
10:02 AM
|
0
|
2
|
1232
|
|
IDEA
|
Hi Lance, Did you have any issues with saving a basemap from your cloud location into Files/Collector? I'm using Drive and keep getting errors. I'm not sure if it's my basemap size (4.5GB) or something else. I'm doing this entirely within the Files app - is that how you accomplished this? I haven't seen much else in the way of instructions from Esri on it. Thanks, Erica
... View more
08-06-2019
09:28 AM
|
0
|
1
|
4247
|
|
IDEA
|
Hi Lance, Did you have any issues with saving a basemap from your cloud location into Files/Collector? I'm using Drive and keep getting errors. I'm not sure if it's my basemap size (4.5GB) or something else. I'm doing this entirely within the Files app - is that how you accomplished this? I haven't seen much else in the way of instructions from Esri on it. Thanks, Erica
... View more
08-06-2019
09:28 AM
|
0
|
1
|
3016
|
|
POST
|
Hi Owen, Is there anywhere we can find dates of next releases of StoryMaps with projected improvements? Thanks, Erica
... View more
07-24-2019
04:32 AM
|
2
|
0
|
5996
|
|
POST
|
Hi Owen, Is it possible to add other web applications into the sidecar? In the Storymap Journal, it was possible to add in another web application (e.g. a Swipe Story Map) into the Main Stage. Can this be done with the sidecar? I'd like to add in an Attachment Viewer application, however I can not figure out how to make it work. Thanks, Erica
... View more
07-22-2019
11:12 AM
|
2
|
0
|
2149
|
|
BLOG
|
Hi Zhifang, Thanks for the information. Since I am the survey owner, is that why I can edit/delete any records in the survey regardless of a repeat? I think a new role 'Editor' would make sense. As a follow-up question - I have a survey with a simple repeat that is public and can be complete by either an anonymous user, or a user logged into their AGOL account, but I then need someone (my Workforce Dispatcher) to edit one field (that was not populated as part of the survey) in the resulting feature layer (using the Edit web app) as assignments are made in Workforce based on submitted surveys. Will my Dispatcher be able to use the Edit application to change fields in the feature layer? Is it only through the Survey123 website where the limitations above come into play? Thanks, Erica
... View more
07-22-2019
04:47 AM
|
0
|
0
|
3104
|
|
BLOG
|
Hi Zhifang, I have set the permissions for my submitters so that they can add, update and delete, however when one of my users logged in to the Survey123 website yesterday, selected a record he created and tried to delete it, it was not an option. Could this be due to the fact that the survey was published from Connect well before 3.5? Also some more information that might be helpful - the survey contains multiple repeats, and is shared to a group that contains members from another Organizational account. The user who tried to do this edit belongs to that other account. Thanks, Erica
... View more
07-18-2019
05:14 AM
|
0
|
0
|
3104
|
| 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
|