Hi,
I created an application to register Field Reports. I am having trouble with the data transition when creating new registers. When a user creates a new field report and submits the form (Form6_New_Edit) the message Getting Data is shown and no data is displayed or the data in the form changes to the last data browsed, depending of where the user initiated the process of registering a new field report.
There are 2 ways to create a new record:
- From the entry screen of the app: When the Form6_New_Edit is submitted the message Getting Data is Shown.
- From the Browse screen of the app: When the Form6_New_Edit is submitted the form changes the data shown to the last Field Report selected.
In the second screen (Browse Screen), I have a gallery (Gallery_Dashboard1) where users can select a Field Report to browse its information or to edit this information. When an item in this gallery is selected a variable (varRecord) is created. Thru this variable I control information displayed, record to be edited, color of selected item, among other things. I believe that what happens is that when a new Field Report is created from the entry screen no variable has been set, so when the Form6_New_Edit is submitted the message Getting Data is shown. When the new Field Report is created from the Browse screen generally, Info about other Field Reports have been browsed, so a varRecord is set and this information is shown when the Form6_New_Edit is submitted.
The expected behavior of the Form6_New_Edit is that when a user submits the form at any moment during the create a new Field Report process, the data should be submitted, and the form should maintain the current data so that the user can keep working on the new Field Report.
Form6_New_Edit has many fields (cards) so I divided them in groups using a Gallery in a form of tabs that controls the visibility property of the cards in the form to make it seem like the fields are located in different pages. That is why is so important that the user can submit data at any point during the create a new field report process without having to go to the Browse screen and then returning to the record created.
Hope I managed to explain the issue correctly, any help with this problem is appreciated. I found many prior entries with related topics, but none of the accepted solutions worked for me.
Reference Information:
- Entry Screen:
- Create new Field Report Button - On Select Property: New Form(Form6_New_Edit); Navigate(EditInspectionScreen, Fade)
- Browse Information Screen:
- Browse Gallery - On Select Property: Set(varRecord), ThisItem)
- Create new Field Report Button - On Select Property: Reset(Gallery_Dashboard1); NewForm(Form6_New_Edit); Navigate(EditInspectionScreen, Fade)
- Edit/New Field Report Screen:
- Form6_New_Edit – Item Property: varRecord
- Form6_New_Edit – OnSuccess Property: false
- Form6_New_Edit – OnReset Property: false
- Form6_New_Edit – OnFailure Property: false
- Form6_New_Edit –DataSource: SharePoint List
- Form6_New_Edit – DefaultMode: New
- Submitt Form Button – On Select Property: SubmitForm(Form6_New_Edit)
- Back Button – On Select Property: Refresh(DataSource); Reset(Gallery6_TABS); Reset(Gallery6_PhotoPreview); NewForm(Form6_New_Edit); Navigate(DashboardScreen, Fade)


