What is offline?
Offline is the capability of using your offline applications without the need for internet access. When offline the data is stored on your phone and uploaded back to your site when an internet connection is established.
What is the benefit?
The Key benefit of this functionality is being able work without an internet connection with no need to worry about loosing data mid input or interrupting your workflow. This gives you the ability to work in new situations that may never have been possible before.
⚠ You must be logged into your site prior to going offline ⚠
This can be a pre opened tab on your phone or desk top that is synced on the site you would like to work offline on. You will not be able to work offline otherwise as your browser will not allow you to search your site. Other than that, if you are on a record in a train and lose connection, your app will be unaffected so you can keep working until a connect is reastablished, when it is reastablished the data will be uploaded to your site in the background.
Best practice is to make sure the site is as up to date as it can be, this can be done by simply loggin out and back into your site. You can update apps indervidually through the actions menu in the top right, these changes are pushed through every 10 mins though. Platform updates appear via a grey bar pop up in the bottom of the screen, these are important to click on as soon as they come up to make sure your platform version is correct.
Expressions do not work while offline, you will be able to enter data in to fields but these will not run expressions until you regain a connection. These fields are represented by a triangle next to them that when you hover over will display a message saying that they will not work offline.
Filters that are based on expressions will not work offline as the expression will not update without an connection, so if a risk status should change to red based off data from diffrent fields the change will not happen offline so the record would not appears in a filter that only displays red risks.
Form Visibility does work offline but will not work if an expression is used in the filter, as the expression would not have run when offline.
If form visiblity is important to the flow of the app then in filters use fields that don't run on expressions. For example, if a form rule was dependant on a bit field showing as true if a date and text field were filled in then form rule should instead be based on those date and text fields and not the bit field.
🔴 Filter with expression field that does not work offline: $filter=[NotEmpty] eq true
🟢 Filter without an expression field that does work offline: $filter=[Date] ne '' and [Owner] ne ''
Workflow does not work offline.
If a workflow runs off an expression then it will only run the next time you gain a connection and the record / data is uploaded. For example, if you create 10 records offline that each trigger an email to be sent, 10 email workflows will be sent when you regain a connection.