I have a home Screen that has a content gallery(GalContentDtls) - where I can click a specific record, that will navigate to the content screen form where I can view or edit the record. All of this seem to work fine to me.
My issue is that when submitting a newly created data in the content Form, my content screen shows the FIRST already existing data from my Content gallery list from Home Screen. How do I get the form to display the newly created data instead?
When adding a new data in the content form(edit mode) and clicking on submit button, I want the form to display the newly created data in ViewMode on the same Content Screen instead of navigating it to a new success screen.
Here is my content form and submit button code below:
ContentForm :
itemProperty: GalContentDtls.Selected
DefaultMode: formMode:View
OnSuccess: ResetForm(contentForm);ViewForm(ContentForm);Navigate(ContentScreen)
SubmitButton :
OnSelect: SubmitForm(ContentForm);