We are facing a strange error that we are able to replicate every time
- Launch the app and takes you to the gallery
- Click + sign to add a new form(Form A) ; Navigates to Screen1 with Newform mode.
- 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;
- 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.
- Repeat steps 2 & 3 & 4 again from the gallery and data selected on Form A is saved correctly
- 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?