Afternoon all,
So I've been running a monitor on my app. I initially noticed on returning to my home screen (Screen 1) that a gallery on another screen (Screen 2) that is connected direct to the data source (and is filtered, with add column functions and the like) is running while my app is going through the normal home page operations of creating collections, verifying users and so on and so forth.
I remedied this quite easily by making it so that the OnVisible property for Screen 2 creates a collection from the datasource, and pre filters it for the gallery. This stopped these operations from appearing in the monitor when going back to Screen 1.
However, I've also noticed that I have controls on a different screen (Screen 3) that run some calculations based on what a user types into a value box. These calculations use a lookup to a collection I created from a sharepoint list, and which is collected on the loading on Screen 1. The performance hit of these is so miniscule as to be unnoticable, but I am intrigued as to why it's running. And as with the gallery on Screen 2, I was wondering if it is possible to prevent anything taking place on any other screen until that screen is loaded?
I want to add that none of these controls or galleries reference any controls on any other screens. They were either connected to the data sources directly until I used collections, or have always just used a lookup against a collection.
Hope you can help!
Other than doing what you are already doing, no sorry I don't know of any.
Hi @Drrickryp
Ah, that does make sense, but sadly this is a production app and I'm wary of using an experimental feature in case it gets removed and then breaks the app. Is there any other way of achieving this?
Go to settings and activate Named Formulas, go to app. Formulas and replace collections and global variables with formulas. These are used as needed in the app.
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional