I am trying to build my first offline app in which I am facing some issues and I wonder if you can help me find answers to some of these-
1) I am trying to submit a form offline, which I am able to submit but when I try to open the app again, it asks for my login ID and Password. I am not able to figure out is that a Powerapps limitation or something wrong from my side.
2) When I am trying to submit multiple data forms in the same session, either it gives me duplicate of the first entry( if I am not clearing the collection) or just show the last entry (if I am cleaning the collection). Can you help me find the right resource where I can learn to solve this issue?
3) I want to do a verification check, that if the user has not filled all the required field he should not be able to submit the form and get an error for the missing field. Can you tell me what functions I can use to add this functionality?
If possible kindly, answer to my queries. Also, kindly let me know if any further information is required from my side.
Thanking you in Advance!
Solved! Go to Solution.
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.
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:
3)I recommend you use the function of IsBlank , If, Error.
Here's doc for your reference:
Community Support Team _ Phoebe Liu
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.
Keep your eyes open for our upcoming T-shirt design contest!
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Features releasing from October 2019 through March 2020