Showing results for 
Search instead for 
Did you mean: 
Kudo Collector
Kudo Collector

Issue with Saving a new form when app runs for the first time

We are facing a strange error that we are able to replicate every time

  1. Launch the  app and takes you to the gallery
  2. Click + sign to add a new form(Form A) ; Navigates to Screen1 with Newform mode.
  3. The drop down fields are set to Select one and all fields are blank including checkboxes; Enter required fields  ( includes drop down selection, check boxes and text input boxes) for Form A;  
  4. Click on option  within Form A to navigate to Screen 2. The Onselect function Submits Form A to CDS entity and navigates to Screen 2 and passes context variables. The drop down selections and the check boxes on  Form A get reset to default values, Select One for dropdown values and blanks for checkboxes, and saves these default or blanks to CDS.
  5. Repeat steps 2 & 3 & 4 again from the gallery and data selected on Form A is saved correctly
  6. No issues either if we just click the SAVE option. But when SAVE is combined with Navigate for the first time, we are having this issue


 The Onstart for the App:

ClearCollect(MyGroups,GraphAPI.GetMembers("be672d7b-5c93-41c9-8e32-521241b72e22").value);If((User().Email) in MyGroups.mail,Set(Belongstogroup,"Yes"),Set(Belongstogroup,"No"))


The visibility property for Screen 1 sets on and off context variables for hiding and displaying sections.  But nothing else.


Any thoughts on why this is happening?

Community Support
Community Support

Hi @beans,


"The drop down fields are set to Select one and all fields are blank including checkboxes", may I know how did you achieve this? Normally dropdown controls would show all the options.




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

Hello Mona,


I have opened a ticket with MS two weeks back ( Mindtree team services it) and it finally received some traction this week.  They have asked for fiddler logs etc.. which we provided on Wed.  The issue is:  the user makes a selection for a required value from a list of values ( Select One is the first one), when the user selects an option that 'saves the parent and navigates to another page to collect child records", the user selection gets reset to Select one and this "Select One" value gets stored in CDS instead of the user selection. This ONLY happens when the app is "run" for the first time. If the user repeats the same scenario, it does not occur.  If they close the app and come back to it, it occurs.  It is also not repeatable in "edit" maker mode.  


I hope my explanation helps. Otherwise feel free to reach me via private chat.



Helpful resources

PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (985)