Power App connectivity requirement

%3CLINGO-SUB%20id%3D%22lingo-sub-1054342%22%20slang%3D%22en-US%22%3EPower%20App%20connectivity%20requirement%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1054342%22%20slang%3D%22en-US%22%3E%3CP%3EQuestion.%20If%20I%20don't%20have%20Internet%20connectivity%2C%20how%20does%20it%20impact%20a%20Power%20App%20that%20is%20installed%20on%20a%20mobile%20device%3F%20Will%20it%20even%20start%20or%20will%20it%20start%20and%20say%20it%20doesn't%20have%20connectivity%3F%20Will%20it%20start%20and%20then%20cache%20any%20data%20entry%20and%20automatically%20send%20updates%20when%20it%20gets%20connectivity%20again%3F%20Thanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1054342%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EPowerApps%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1054452%22%20slang%3D%22en-US%22%3ERe%3A%20Power%20App%20connectivity%20requirement%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1054452%22%20slang%3D%22en-US%22%3EIt%20can%20load%20100%25%20offline%2C%20but%20you%20have%20to%20code%20the%20app%20to%20do%20so.%20I%20prefer%20setting%20up%20an%20upload%20mechanism%20with%20an%20alert%20telling%20them%20to%20upload%20their%20data%20manually%20when%20they%20are%20ready%20but%20it's%20for%20inserts%20only%20not%20full%20mesh%2C%20which%20works%20best%20anyway%20since%20you%20don't%20want%20conflicts.%20%3CBR%20%2F%3E%3CBR%20%2F%3EAnyway%2C%20look%20up%20the%20LoadData%20and%20SaveData%20functions%20as%20you%20have%20to%20basically%20savedata()%20after%20every%20change%20to%20a%20collection%20so%20it%20saves%20the%20collection%20to%20a%20local%20file%2C%20then%20on%20start%20check%20for%20internet%20and%20if%20it's%20available%2C%20load%20data%20online%2C%20else%20load%20from%20the%20savefile.%20I%20always%20run%20off%20local%20collections%20on%20the%20app%20and%20load%20the%20data%20on%20app%20start%20into%20them%20so%20if%20I%20lose%20connection%20anytime%20after%20starting%20it%20can%20keep%20running.%20Then%20upload%20the%20data%20when%20ready.%20(Red%20border%20and%20message%20at%20bottom%20saying%2C%20%22You%20have%20pending%20changes%22%20click%20here%20to%20upload%20etc.%3C%2FLINGO-BODY%3E
Frequent Contributor

Question. If I don't have Internet connectivity, how does it impact a Power App that is installed on a mobile device? Will it even start or will it start and say it doesn't have connectivity? Will it start and then cache any data entry and automatically send updates when it gets connectivity again? Thanks!

1 Reply
It can load 100% offline, but you have to code the app to do so. I prefer setting up an upload mechanism with an alert telling them to upload their data manually when they are ready but it's for inserts only not full mesh, which works best anyway since you don't want conflicts.

Anyway, look up the LoadData and SaveData functions as you have to basically savedata() after every change to a collection so it saves the collection to a local file, then on start check for internet and if it's available, load data online, else load from the savefile. I always run off local collections on the app and load the data on app start into them so if I lose connection anytime after starting it can keep running. Then upload the data when ready. (Red border and message at bottom saying, "You have pending changes" click here to upload etc.