Ah - ok thanks for the explanation. Yes that is what I’ve done. Each icon has an action and then all the actions are grouped for the gallery view.
To determine whether to link to the form or not, can I create a virtual column in the table that the menu is created on that checks the status column of the evac center table and if any evac center status is set to open then the form can be live (green), if not then the form is disabled (grey)?
If that is possible I will need some help figuring out that expression.
All good ideas. The only comment I have to make is to use Pop-Ups VERY sparingly! I can tell you from experience, users get annoyed with pop-ups very quickly.
Can you help figure out how to “trigger” the activation? Is there a way to use the status col from another table?
How do you currently know if something haas been activated or not?
From the evac center list. When the decision is made to open the evac centers the status is changed from closed to open-accepting evacuees. The form has a drop-down for residents to select their evac center and this drop down is populated from that list. Only the open ones show.
But obviously “closed” has another meaning as well or you probably wouldn’t have asked the question “how to trigger activation”?
My recommendation is to have a dedicated column for [Activated?]. Initially set to “N”, once activation has happened then set it to “Y”. You can also have the option to “de-activate” at any time, regardless of status or state.
Storage is cheap these days so having extra columns, even they don’t do much, is NOT a big deal.
Think of support as well as users usage of the app. If you ever need to be able to determine if “activation” actually happened or some other error occurred, you’ll have a column to tell you immediately.
If you try to use an already existing column that has another meaning (e.g. Status) then as soon as the state changes, you loose the information that “activation” happened or not.
Bottom line, I would suggest to never mix multiple meanings into a single column. It often creates headaches later.
I hope this makes sense!!
That makes sense. What table should I add the activated column to?
I have a table for the menu/gallery, the evac center list table, and then the actual evacuation record table that collects all the form data.
And it doesn’t sound like this should be a virtual column. Is that accurate?
Okay so I’m taking it that you have a slice of “Activated Evac Centers” right?
What you need now is a way for the app to know where someone is at?
You said this way public based yes? So people are not logging in I take it.
We need a way to be able to tell the app (The current user is at “this” location) - then we can see if that location is activated or not.
Geofencing? Is that an option? Do you have geolocations for each evac center?
we aren’t using user location. and i don’t have a slice for activated evac centers - instead using data validity (SORT(SELECT(Gen Pop Evac Center List[EvacCenter], [Status]=”Open Accepting Evacuees”)) - which works well for what we’ve done so far.
I think I will try to add an “activated” field to the menu table and see what I can do with that.
So what exactly are you activating?
Your initial image showed “Form” at the same level as “Evac Centers”. Your comment was…
This made me think you are activating for the user. Is that not the case?
Never mind. I went back to re-read the comments to find this in response to how you know if something is activated or not.
I gather from this that you are activating centers. So I need to ask two different questions.
What does active/activate mean? How does it differ from closed?
I assume there are several Evac Centers. So, which one triggers the enabling of “Form”?
Were you able to remove if from the list in your attempts at this?
The form option I mean - were you able to remove that from the options shown already? Have you figured that part out?
no, sorry, county activation (opening evac centers).
How does one user from one county receive data different from a user in another county?
If I’m in County A - you’d want me to see Count A’s information. How is that happening in the app right now?
I’m not sure I understand your question. This has been created just for our county.
I added an “activated” column and changed the action from just [Item]=Form to AND([Item]=Form, [Activated]=Yes) and this prevents the form from opening.
How would I swap out the images though?
You could create an additional column that holds the greyed out image - then another that switches between the two depending on the status - and use that as the label for the table.
I think the reason for the “user in county” question is an attempt to understand how activation works.
I’ve been thinking about how this might work in your app and will venture a guess. Tell me how close I am!!
- A state of emergency is declared and the decision is made to use Evac Centers.
- You would “Activate” the Evac Centers in the app and this enables “Form”
- However, while there may be say 20 Evac Centers. Initially only 10 open and others stay closed until needed.
- A user opens the Form to fill out needed information, a part of which is selecting the appropriate open Evac Center.
- As Evac Centers become Full, others may open to take on overflow.
- As emergency needs decline and wind down, Centers return to a Closed state.
- Once all centers have closed, emergency is over, the app is “de-activated” and the Form becomes disabled.
So…how close was I???
Very close. Post Hurricane Irma the decision was made we open all for an incident instead of a tiered approached but you outlined it well.