POST
|
While I was testing this I found an anomaly in this trying to determine if the evaluated variable was using the name or the label of the Choices list in this isntance. It appeared to me to be using the label in these instances but to ensure that I could reference it either way not knowing what the Survey123 expression might try to use for it's evaluation I changed all my Choices names and labels to Uppercase because I also use them dynamically to label the Table Name/Headers in my example previously provided. I changed this and Viloa...!!!!
... View more
07-22-2019
11:50 AM
|
2
|
3
|
1654
|
POST
|
LOL yes I see try changing you evaluation to this and see if you get a difference... ${if photo_type == “Overall”}
... View more
07-22-2019
11:36 AM
|
1
|
5
|
1654
|
POST
|
Hey Marlene, One more idea that comes to mind is in your evaluation ${if photo_type == “overall”}... Check your Choices List for your dropdown select_one pic_type you may be evaluating the Data Field versus the Label Name or missing the value based on case sensitivity... Make sure you are calling the right value and that the case matches what you have in the Choices List. What are your choices in your Choice List for photo_type...???? Is it... ${if photo_type == “overall”}... ${if photo_type == “Overall”}... ${if photo_type == “OVERALL”}... Other than that everything looks correct to me at first glance! Regards, Chris
... View more
07-22-2019
09:14 AM
|
0
|
7
|
1654
|
POST
|
Hello Marlene, If your selector photo_type exists outside the Repeat that holds the photos this is part of your problem as you are trying to evaluate it from within the Repeat and it doesn't exist there. Now I'm making an assumption that this is the structure of your XLSM Form since it's not provided here but I have just solved this for myself on a project and it works perfectly. So in short if your Dropdown for selecting photo_type=="overall" is in the repeat where the photos are capture then the following will work... ${#photoRepeat} ${if photo_type == “overall”} ${photo | size:450:350} ${/} ${/photoRepeat} ${photo | size:466.9:350} this is based on ${image1|size:width:height:max_width:max_height} not sure why you have a decimal in there 466.9 not recommended for sizing of photos. In my Survey123 Application, I have a Page with a Repeat field in an App which allows our Troopers to selected and Add multiple Evidence Items with details and photos of the items. Inside the Repeat they select the Evidence Type and the fill-in the details and take a photo of the item. They can repeat this data collection routine over and over first starting each by selecting the Evidence Item Type' Drug, Weapon, Currency, etc. After this is done all the Evidence entries end up in a related table including the photos. From here I can call the photos in my Word Template based on the evidType=="" as shown here... I can also control the pagination and the ability to keep all of the information grouped together as I have a section for Subjects that is handled similarly that also has to determine if the Subject is the Person of Interest, a Passenger, a Witness, or Other... Here's a snapshot of part of my Word Template that Sruvey123 uses to generate the Printable Output... ${#Item} ${if evidType == “WEAPON”} EVIDENCE ITEM: ${evidType} Weapon Type: ${weaponType} Weapon Serial Number: ${weaponSerialNumber} Blade Length in Inches: ${weaponBladeLength} ${evidPhotos | size:115:0} Make: ${weaponMake} Model: ${weaponModel} Caliber: ${weaponCaliber} Describe the Weapon: ${weaponOther} Evidence Delivered By: ${evidStorageBy} Evidence Initially Stored At: ${evidStorageLocation} ${sheriffOffice} ${/} ${/Item} ${#Item} ${if evidType == “CURRENCY”} EVIDENCE ITEM: ${evidType} Currency Type: ${currencyTypes} Amount in US Dollars: ${currencyAmount} ${currenyBatchReport | size:115:0} ${evidPhotos | size:115:0} Type of Currency: ${currencyType} Counting Method: ${currencyCountMethod} Evidence Delivered By: ${evidStorageBy} Evidence Initially Stored At: ${evidStorageLocation} ${sheriffOffice} ${/} ${/Item} Rinse and Repeat as necessary... Here's what this part of my App looks like in Survey123... You'll notice that the Dropdown that determines the Type of Evidence Item is within the Repeat... If you have any further questions on this please don't hesitate to reach out to me and I'll try and assist you as time permits. I'm also available for outside consulting if needed and I've provided both of my email contacts below. Sincerely, Chris Rogers Christopher.rogers@dps.ok.gov chris@qleapgis.com
... View more
07-22-2019
08:03 AM
|
0
|
9
|
1654
|
POST
|
Hey James, I looked in the EA in the "Survey123 for ArcGIS" area but couldn't find the one you're talking about. Do you know what the Topic is or what it is Titled perhaps?
... View more
06-12-2018
06:10 PM
|
0
|
1
|
695
|
POST
|
Thanks James, Much appreciation glad to see it on the roadmap. I wonder, however; might it possible to use Pull data through a REST API Endpoint to a Feature Service layer to achieve this or at least partially? I shall experiment and see though any helpful advice is greatly appreciated. Regards, Chris
... View more
06-11-2018
10:18 AM
|
0
|
4
|
695
|
BLOG
|
Hi Josua, It took me a moment to find it too be aware there are (or were) two one deprecated and one authoritative. The one I think you need to look for is World_Basemap_v2 I've included the link below. https://basemaps.arcgis.com/arcgis/rest/services/World_Basemap_v2/VectorTileServer Hope this helps! Regards, Chris Rogers Christopher L. Rogers Law Enforcement Programs Administrator Oklahoma Department of Public Safety International Association of Crime Analysts
... View more
06-11-2018
07:02 AM
|
0
|
0
|
4536
|
POST
|
James Tedrick Ismael Chivite Elvin Slavik Hello Survey123 Gurus, I'm looking for information to see if there is a way that I can reference one Feature Service layer or Relational Table to drive some UI components in a Survey while posting that survey to its own Feature Service layer. Here's the use case, I have an existing Feature Service that contains all the Wrecker Companies in Oklahoma that DPS uses for vehicle tows. I have created an app that allows our Wrecker Services Division to keep this updated so that it is always current. I have created a Survey that allows a Wrecker Service to tow a vehicle and log this service event into a separate Feature Service however; since it also collects the Company information as well as the Drivers data I'd like to be able to reference other Feature Service layers to drive the contents of let's say a Dropdown UI in the Survey. Can this be accomplished to use another Feature Service or Relational Table as a Reference Table/Source for a separate survey? I was thinking Push/Pull referencing the Features Service or Relational Table as the source but I've either missed that documentation somewhere or it doesn't and exist and therefore may not be a current capability. Looks something like this in pseudo code... 1) User Opens the Wrecker Service Log survey 2) The survey loads a Company list from a separate feature service called Wrecker Service Companies 3) User selects a Company from the list 4) The survey loads a list of Drivers from a separate feature service or related table called Wrecker Company Drivers 5) User selects a Driver from the list 6) User submits all data back to the survey's own feature service layer called Wrecker Service Log Moving forward the Company and Driver Data will be two separate layers/tables though related in either a many:many relationship or 1:many (one company many drivers) and 1:many (one driver to many companies) with a join table/layer between them for 5th Normal form considerations though I'm aware this may still be a difficulty within the current AGO Environment. Thanks for any/all assistance and advice in advance! Regards, Chris
... View more
06-08-2018
12:41 PM
|
0
|
6
|
788
|
BLOG
|
Can you see the PDF in your ArcGIS Account somewhere (was it uploaded) or is it a link to this document? It sounds like it may be a sharing permissions issue but that's just a wild guess first thought. If the PDF was uploaded and you can find it see if you can change the share permissions on it. I've done this the long way around by creating a folder in my Content called PDFs and then Added an Item by uploading a PDF here you can see it is not shared and is locked by default but you can click on the lock and choose with whom you wish to share it with and whether they can simply Access it or Access and Update it... Hope this helps... Cheers... Cheers, Chris
... View more
04-23-2018
06:23 PM
|
0
|
0
|
4340
|
BLOG
|
I'll send you an email as well Jeff but you know you can count me in on the testing!
... View more
04-21-2018
01:30 PM
|
0
|
0
|
4340
|
POST
|
One quick question when this has been implemented "XLSForm's theme-grid" will there also be a way to print the forms like in this example... https://enke.to/::fatal Thanks, Chris
... View more
04-19-2018
06:22 PM
|
0
|
0
|
807
|
POST
|
Thanks James, I forgot about "XLSForm's theme-grid definition" methodology that would be perfect... excited to try it out once it's available. BTW... I can't comment enough on the AWESOME work the Survey123 Team has been doing thus far. Survey123 is one of the most prolific products Esri has developed in the recent years. The future for Survey123 is full of promise and I can't wait to see the future enhancements and updates the team is cooking up! Regards, Chris
... View more
04-19-2018
05:27 PM
|
0
|
0
|
807
|
POST
|
Hey James, I'm talking about grid/table layout to be able to place questions or entry fields horizontally and vertically and take advantage of landscape layouts and full use of the available screen real estate instead of just a top to bottom portrait/linear layout. Very useful on Mobile Tablets and Laptops and better represents the user experience on more complex Surveys/Applications. I understand it potentially needs to be able to revert back and forth when using a Survey on a smartphone versus a Tablet or Laptop but I think it is absolutely doable much like how it's handled in web app development with elastic/fluid layouts. <DIV>'s perhaps with HTML/CSS? Thanks in advance James! Regards, Chris
... View more
04-18-2018
07:24 PM
|
0
|
3
|
807
|
BLOG
|
Agreed the "Follow" feature is critical to our use as well especially in pursuits!
... View more
04-16-2018
12:24 PM
|
0
|
0
|
4340
|
Title | Kudos | Posted |
---|---|---|
1 | 07-22-2019 11:36 AM | |
2 | 07-22-2019 11:50 AM | |
3 | 04-14-2018 03:42 PM | |
25 | 02-15-2018 01:21 PM | |
1 | 04-14-2018 04:19 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|