Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

False value on Collection

Hi all,

I want to save offline forms when there's no connection. At my form screen I have the following code when submit button is pressed: 

If( Connection.Connected,
    SubmitForm(Form1); Navigate([@'Success Screen1'], ScreenTransition.Fade),
    Collect(Collection1, SubmitForm(Form1));
    SaveData(Collection1, "offlinesave");
    Navigate([@'Success Screen2'], ScreenTransition.Fade)

Then, I have a screen in which I expected to display this forms that were saved offline at the collection. This thorugh a table. But first, instead of showing me the columns for each form value it displays only a 'Value' column. Then they always appears as false (I suppose that if Value of a object in a Collection then object content should be blank or null). 

Screenshot_20190718-094903.pngI wonder why is that happening, or if I'm doing something wrong, any suggestion is welcome and appreaciated in advanced! 



Super User
Super User

I believe the issue is with "Collect(Collection1, SubmitForm(Form1));"

Can you try "Collect(Collection1, Form1.Updates);"


SubmitForm isn't going to work offline, so you need to save the changes in the form to the collection to be saved off-online. 

If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.
Community Support
Community Support

Hi @fmigg ,

Based on the formula that you mentioned, I think there is something wrong with it.


If there is no connection when you run app, when you click the "Submit" button, the SubmitForm(Form1) formula would not be executed successfully. In other words, the SubmitForm(Form1) formula would return an error.


I have made a test on my side, please consider modify your formula as below:

Connection.Connected, SubmitForm(Form1);Navigate([@'Success Screen1'], ScreenTransition.Fade), Collect(Collection1, Form1.Updates); /* <-- Modify your formula here */ SaveData(Collection1, "offlinesave"); Navigate([@'Success Screen2'], ScreenTransition.Fade) )

More details about the Updates property of the Edit form, please check the following article:


Please take a try with above soution, then check if the issue is solved.


Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,004)