cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

PowerApps Offline Capabilities

 
 
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Champion
Community Champion

Re: PowerApps Offline Capabilities

Thanks for posting in the community @Shay - can you review the above replies and update the thread if they were helpful?

 

Thank you,

 

@TopShelf-MSFT 

View solution in original post

5 REPLIES 5
Highlighted
Resolver II
Resolver II

Re: PowerApps Offline Capabilities

I've made my app work offline, but I don't really understand your question. I'm not sure what you mean by "if I am cleaning the collection" for example.

Maybe post some code that illustrates what you are doing, then what is happening when that code runs.

My app copies the relevant records from a sharepoint list (PSO) to a local collection (PSOCache), adds a "Edited" column, then periodically (using a timer) checks to see whether there is connection and if so writes all Edited records back to Sharepoint, then ClearCollect from the data source back to the cache. In my case the number of relevant records is small.

Highlighted
Community Support
Community Support

Re: PowerApps Offline Capabilities

Hi @Shay ,

1)When you use PowerApps offline, the data will be stored locally in fact.

If you want the data to be updated to its data source, you need to enter verification information.

2)After you submiiting the form ,its mode will trun to Edit automaticlly. In the Edit mode, the form will display content about its Item setting.

Here's a doc for your reference:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-form

3)I recommend you use the function of IsBlank , If, Error.

Here's doc for your reference:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-isblank-isempty

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-if

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-errors

 

 

 

Best regards,

Community Support Team _ Phoebe Liu

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Advocate II
Advocate II

Re: PowerApps Offline Capabilities

Hi Shay, 

 

I think I may be able to help with your 3rd issue. I am currently creating an application whic has a form. I am not sure about the verification check, but the user cannot submit my form without the data being entered, see image attached. I have highlighted fields. 

 

Hope this helps and apologies if you knew this already. 

Highlighted
Community Champion
Community Champion

Re: PowerApps Offline Capabilities

Thanks for posting in the community @Shay - can you review the above replies and update the thread if they were helpful?

 

Thank you,

 

@TopShelf-MSFT 

View solution in original post

Highlighted
New Member

Re: PowerApps Offline Capabilities

Hi,

 

I Have developed an app using rating control,Its an app with offline capabilities in different scenarios-

 

STEP 1 : User Login In
User : Admin
Status : User Active(Online)
Task : Logins in to the Application


STEP 2: User Moves to Home Screen
User : Admin
Status : User inactive(Offline)
Task : Goes to homeScreen ,starts Performing rating in between the app gets quit.


STEP 3: User re-launch the app(Directly navigated to home screen)
User : Admin
Status : User inactive(Offline)
Task : Again continuing giving Rating
Error: No internet and Rating not able to get ovveride/updated(ex- If user has give 2 stars for some criteria now user wants to make it 5 star its not saving).

 

Step 4 is happening irrespective of offline or online mode.

 

code snippet- OnSelect of rating control-

 

UpdateIf(
Filter(
SavingData,
UserName = userName.Selected.Name,
Some_crit = Gallery.Selected.Result,
Rate_Team = TeamGallery.Selected.Rate_Team
),
Criteria = RateGallery.Selected.Criteria,
{Score: Value(RateGallery.Selected.Rating.Value)}
);
SaveData(
SavingData,
"saving"
);

 

 

I am loading it by LoadData on App starts.

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

Top Solution Authors
Top Kudoed Authors
Users online (8,697)