Hi all,
I am experiencing a strange issue which is as follows:
1. User fills in the canvas app form
2. User saves the form to the SharePoint list (the record in the SharePoint list is created successfully)
3. User refreshes the SharePoint list and and clicks to Edit the created record
4. The form appears blank.
The functions that suppose to control what information is loaded when user what to edit existing record:
OnEdit =
/*Set a variable for FormMode to Edit*/
Set(
varFormMode,
FormMode.Edit
);
//Navigate to 1
Navigate(
screen_1,
ScreenTransition.None
)
Form's Item =
If(varFormMode = FormMode.New, Defaults('SP List'),SharePointIntegration.Selected)
In my understanding, when user activates OnEdit function, varFormMode should be equal to FormMdode.Edit and this load items that belong to SharePointintegration.Selected. Perhaps there a mistake somewhere and someone would have any tips what should be checked?
Would appreciate any advice as I a bit lost..