Skip to content

Commit 7d45210

Browse files
authored
Update canvas-mobile-offline-setup.md
add the OfflineEnabled property
1 parent d96082a commit 7d45210

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

powerapps-docs/mobile/canvas-mobile-offline-setup.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,16 @@ Switch(Connection.Sync,
199199
200200
   ConnectionSync.NotConnectedSyncError, Icon.GlobeError)
201201
```
202-
You can also set the ""OnSelect"" property using the Power Fx function 'ShowHostInfo(HostInfo.OfflineSync)' to show the [Device status page](/power-apps/mobile/offline-sync-icon#device-status-page) when selecting the globe icon.
202+
You can set the **OnSelect** property using the Power Fx function `ShowHostInfo` to show the [Device status page](/power-apps/mobile/offline-sync-icon#device-status-page) when selecting the globe icon.
203+
204+
```powerappsfl
205+
ShowHostInfo(HostInfo.OfflineSync)
206+
```
207+
You can set the **Visible** property using the Power Fx function `Host` to only show the globe icon when the app is used on a player that is supporting the offline mode.
208+
209+
```powerappsfl
210+
Host.OfflineEnabled
211+
```
203212

204213
## Limitations and known issues
205214

0 commit comments

Comments
 (0)