POST
|
Thank you Xander. That was what I was missing. I did some more digging on this, because I was ending up with a lot of blank lines in my popup. I cleaned up my expression and then decided to go the HTML route discussed elsewhere to achieve what I'm wanting. I have the following expression to evaluate if any of the items in the list failed the last inspection (expression/expr0): var exit_flds = ["Doors", "Corridors", "Stairs", "PanicHardware", "ExitSigns", "EmergencyLighting"]; for (var i in exit_flds){ if ($feature[exit_flds] == 'fail'){ return "inline"; } else { return "none"; } Then, I have expressions for each inspection item (6 expressions from exit_flds above): if($feature.Doors == 'fail'){ return "inline"; } else { return "none"; } However, when I use the HTML below, the header (expression/expr0) does not always evaluate to "inline" when it should. For example, the popup on the left displays correctly, whereas the popup on the right has an item that failed, but is not displaying the header. I have successfully set up a series of else if statements that work, but shouldn't the list do the same thing? HTML: <br style="display:{expression/expr0}" /><span style="display:{expression/expr0}"><font color="”#000000”"><b><u>Exits and Passageways</u></b></font></span> <br style="display:{expression/expr1}" /><span style="display:{expression/expr1}">Doors: unlocked & unobstructed, operational: <font color="#ff0000"><b>Fail</b></font></span> <br style="display:{expression/expr2}" /><span style="display:{expression/expr2}">Corridors: unobstructed, properly maintained 36” minimum: <font color="#ff0000"><b>Fail</b></font></span> <br style="display:{expression/expr3}" /><span style="display:{expression/expr3}">Stairs: unobstructed, rails & stairs maintained: <font color="#ff0000"><b>Fail</b></font></span> <br style="display:{expression/expr4}" /><span style="display:{expression/expr4}">Panic Hardware: existing, operational: <font color="#ff0000"><b>Fail</b></font></span> <br style="display:{expression/expr5}" /><span style="display:{expression/expr5}">Exit Signs: present, operational: <font color="#ff0000"><b>Fail</b></font></span> <br style="display:{expression/expr12}" /><span style="display:{expression/expr12}">Emergency Lighting: present, operational: <font color="#ff0000"><b>Fail</b></font></span>
... View more
05-12-2020
01:12 PM
|
0
|
6
|
3546
|
POST
|
I am trying to accomplish a similar task, by only showing items that failed a previous inspection. I'm currently using these statements: Exit and Passageways (heading) var field1 = $feature.Doors;IIf(field1 == 'fail', 'Doors: unlocked & unobstructed, operational: Fail',‘’); var field2 = $feature.Corridors;IIf(field2 == 'fail', 'Corridors: unobstructed, properly maintained 36" min: Fail',‘’); General Hazards (heading) var field13 = $feature.HazRubbish;IIf(field13 == 'fail', 'Hazardous accumulation of rubbish: Fail',‘’); var field14 = $feature.Stock;IIf(field14 == 'fail', 'Stock properly stored: Fail',‘’); But I am thinking there's a way to loop through multiple fields and only show the heading if one or more of the questions evaluates to 'fail'. Is that possible? I tried the for loop below, but something's not right
... View more
05-11-2020
11:24 AM
|
0
|
8
|
3546
|
POST
|
I'm trying to create a similar expression, although I need the expression to then sum the values from inspection types that are coded into a survey123 form. The question is a select_multiple type, because they may complete more than one inspection type during a single survey, but then I'd like to be able to summarize the number of EACH inspection in a Dashboard (now that Arcade is supported in indicators). I have a formula in Excel that will parse the field and sum the individual values, but I would like to keep things on the ESRI platform, if possible. Excel formula to find all '100' (Annual) inspection types: I'm not sure how to make the jump from Split to summing the values, or if another function (GroupBy?) might better achieve what I'm wanting.
... View more
04-16-2020
12:20 PM
|
0
|
1
|
511
|
POST
|
I am trying to do a similar table in a Dashboard. I have an inspection form in Survey123 that a fire inspector can fill out. Through Integromat, I have a PDF of the report created and uploaded to OneDrive. I also have a row populated in an Excel file in OneDrive. I had to do this, because Excel has better tools to summarize a "Select Multiple" question. For instance, they may perform more than one type of inspection at a single visit. I need that visit to count for 2 or 3 inspections. Select Multiple pie chart: I set up the Excel file so I could summarize the data, but cannot figure out how to publish that Excel file to a hosted table to generate a pie chart in the Dashboard, or embed the Excel file/table in the Dashboard. Summary table that separates each inspection type (e.g. 101, 102, 103) into separate counts: Is there a way to achieve what I'm wanting to do?
... View more
11-12-2019
01:05 PM
|
0
|
1
|
5812
|
POST
|
My Feature Report Template used to create a report that looked like this: However, over the past few days, I have tried using the same template and it now does not honor the table/format of the Feature Report. I've tried uploading the template again, but I am still getting the following: This is true whether I create the report using Survey123 or Survey123Beta. Has something changed in the Feature Report Template capabilities that would explain this change? Is there a best practice for formatting a feature report template that does not use tables?
... View more
10-29-2019
01:15 PM
|
0
|
1
|
207
|
POST
|
Update - I can get it to pass that module by using the globalID instead of the objectID (perhaps due to deleting previous test records and objectIDs being repeated?). However, now it is hanging up on the HTTP module with a similar message:
... View more
09-17-2019
10:26 AM
|
0
|
1
|
258
|
POST
|
I had a nice workflow running for a week or more. However, it started failing yesterday. I replicated the scenario as a new test, however, that only worked once and now it too is failing. The error I'm getting in both Scenarios is when it tried to Create feature report. The error shows: I've tried to update the parameters and re-selected the ObjectID, but it continues to fail at that step. Is anyone else having this problem?
... View more
09-17-2019
10:05 AM
|
0
|
2
|
298
|
POST
|
Ben Van Kesteren wrote: Thanks for that Jim. I just got the file renamed successfully. It took me a second to realise that when I map another field (survey title for example) that I had to manually tell it to end in .docx otherwise the file come through without the extension. Thats a simple mistake from my end, but hopefully this post helps someone in the future. So you were or were not able to rename the file?
... View more
09-05-2019
02:00 PM
|
0
|
1
|
846
|
POST
|
This looks exactly like a workflow I just put together. I am having trouble renaming the file in CloudConvert. I've tried a static name, and tried to build the file name from attributes. Do you have any advice on how to make this work? Is it because I'm trying to go from the .docx to a .pdf and rename it in the same step?
... View more
09-04-2019
01:38 PM
|
0
|
4
|
2497
|
POST
|
See post above. I had to plug one screen directly into the computer. It's been working ever since. I'll try to go back to both plugged into the docking station after the next round of updates.
... View more
08-22-2019
05:56 AM
|
0
|
1
|
407
|
POST
|
I was going to try this, but found that my computer (I've only had 2 months) had only created 1 restore point, which was after the suspected update was installed. For now, the solution that appears to be working, is running one monitor through the computer itself, and one through the docking station. It's not ideal, but it allows me to run Pro and 2 screens without any issues.
... View more
07-19-2019
07:53 AM
|
0
|
3
|
1425
|
POST
|
I have upgraded to Pro 2.4. Before 2.4 came out, I was running 2.3.3. With 2.3.3 running, Pro would crash. I submitted an error report but was never contacted. Now that I have 2.4 installed, I get this: Models or the Contents tab load fine, but anything with a map never loads. I tried some things with Tech Support, including opening a new map without a basemap in it, but that didn't work either. I am wondering if it was a Windows update and not an ESRI update.
... View more
07-17-2019
06:30 AM
|
0
|
5
|
1425
|
POST
|
Interesting. It worked until a few weeks ago, though.Have you found that to be true with other docking stations as well? I'm not using a Dell (Thunderbolt) dock.
... View more
07-17-2019
06:10 AM
|
0
|
7
|
1425
|
POST
|
Has anyone else had an issue with map tabs in ArcGIS Pro not loading when running a laptop through a docking station? Pro works fine when using the laptop alone, or running a monitor directly from the display port, but when I try to run two external monitors through the docking station, I never get past "Loading Map..." I'm using a DisplayLink plugable USB 3.0 Docking Station and have verified the latest driver is installed.
... View more
07-16-2019
12:40 PM
|
1
|
12
|
2088
|
Title | Kudos | Posted |
---|---|---|
1 | 08-04-2022 01:16 PM | |
1 | 08-04-2022 01:26 PM | |
1 | 04-21-2022 02:01 PM | |
1 | 08-31-2021 12:21 PM | |
2 | 08-04-2021 02:47 PM |
Online Status |
Offline
|
Date Last Visited |
11-14-2023
12:37 PM
|